RE: FreeBSD 5.2 sendmail - root alias aliases not working

2004-02-26 Thread Remko Lodder
Hi,


Since you use a smart host, all email is directly send to that host i think
{ not very familiar with sendmail }
So my guess is that you need local aliases on t he smtp.washington.edu
machine..

HTH,

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the
hackerscene

mrtg.grunn.org Dutch mirror of MRTG

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Matt Weatherford
Verzonden: donderdag 26 februari 2004 1:14
Aan: [EMAIL PROTECTED]
Onderwerp: FreeBSD 5.2  sendmail - root alias aliases not working


Hi, Im trying to hand off all the cron mail (to root) on my freebsd 5.2
server
to another user or 2 using the aliases file and sendmail.

The problem is that sendmail does not seem to be looking at my aliases file
at all.

Here is my setup:

ali# grep send /etc/rc.conf
sendmail_enable=NO
sendmail_submit_enable=YES
sendmail_msp_queue_enable=YES
ali#

The only thing I changed from the default freebsd.mc file in /etc/mail
was to uncomment/add the line:

dnl Dialup users should uncomment and define this appropriately
define(`SMART_HOST', `smtp.washington.edu')

to hand off email to the campus-wide delivery system

in /etc/aliases I have:

# Pretty much everything else in this file points to root, so
# you would do well in either reading root's mailbox or forwarding
# root's email from here.

root:   mbw, ncosgray

Which I would assume will fwd mail to root to those 2 users...


But when I run a test:

ali# /usr/sbin/sendmail -v root  /dev/null
LOG: MAIN
   = [EMAIL PROTECTED] U=root P=local S=310
ali# Connecting to smtp.washington.edu [140.142.33.9]:25 ... connected
   SMTP 220 smtp.washington.edu ESMTP Sendmail
8.12.11+UW04.02/8.12.11+UW04.02; Wed, 25 Feb 2004 16:11:30 -0800
   SMTP EHLO ali.csde.washington.edu
   SMTP 250-smtp.washington.edu Hello ali.csde.washington.edu, pleased to
meet you
  250-ENHANCEDSTATUSCODES
  250-PIPELINING
  250-EXPN
  250-VERB
  250-8BITMIME
  250-SIZE 6000
  250-ETRN
  250-AUTH GSSAPI
  250-STARTTLS
  250-DELIVERBY
  250 HELP
   SMTP STARTTLS
   SMTP 220 2.0.0 Ready to start TLS
   SMTP EHLO ali.csde.washington.edu
   SMTP 250-smtp.washington.edu Hello ali.csde.washington.edu, pleased to
meet you
  250-ENHANCEDSTATUSCODES
  250-PIPELINING
  250-EXPN
  250-VERB
  250-8BITMIME
  250-SIZE 6000
  250-ETRN
  250-AUTH GSSAPI PLAIN LOGIN
  250-DELIVERBY
  250 HELP
   SMTP MAIL FROM:[EMAIL PROTECTED] SIZE=1341
   SMTP RCPT TO:[EMAIL PROTECTED]
   SMTP DATA
   SMTP 250 2.1.0 [EMAIL PROTECTED]... Sender ok
   SMTP 250 2.1.5 [EMAIL PROTECTED]... Recipient ok
   SMTP 354 Enter mail, end with . on a line by itself
   SMTP writing message and terminating .
   SMTP 250 2.0.0 i1Q0BUWQ030526 Message accepted for delivery
   SMTP QUIT
LOG: MAIN
   = [EMAIL PROTECTED] R=smarthost T=remote_smtp H=smtp.washington.edu
[140.142.33.9] X=TLSv1:EDH-RSA-DES-CBC3-SHA:168
LOG: MAIN
   Completed

ali#

It never changes the root to mbw or ncosgray

Can anyone explain this and/or help me to fix it?

thanks,

Matt


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.2 sendmail - root alias aliases not working

2004-02-25 Thread Matt Weatherford
Hi, Im trying to hand off all the cron mail (to root) on my freebsd 5.2 server 
to another user or 2 using the aliases file and sendmail.

The problem is that sendmail does not seem to be looking at my aliases file at all.

Here is my setup:

ali# grep send /etc/rc.conf
sendmail_enable=NO
sendmail_submit_enable=YES
sendmail_msp_queue_enable=YES
ali#
The only thing I changed from the default freebsd.mc file in /etc/mail
was to uncomment/add the line:
dnl Dialup users should uncomment and define this appropriately
define(`SMART_HOST', `smtp.washington.edu')
to hand off email to the campus-wide delivery system

in /etc/aliases I have:

# Pretty much everything else in this file points to root, so
# you would do well in either reading root's mailbox or forwarding
# root's email from here.
root:   mbw, ncosgray

Which I would assume will fwd mail to root to those 2 users...

But when I run a test:

ali# /usr/sbin/sendmail -v root  /dev/null
LOG: MAIN
  = [EMAIL PROTECTED] U=root P=local S=310
ali# Connecting to smtp.washington.edu [140.142.33.9]:25 ... connected
  SMTP 220 smtp.washington.edu ESMTP Sendmail 
8.12.11+UW04.02/8.12.11+UW04.02; Wed, 25 Feb 2004 16:11:30 -0800
  SMTP EHLO ali.csde.washington.edu
  SMTP 250-smtp.washington.edu Hello ali.csde.washington.edu, pleased to meet you
 250-ENHANCEDSTATUSCODES
 250-PIPELINING
 250-EXPN
 250-VERB
 250-8BITMIME
 250-SIZE 6000
 250-ETRN
 250-AUTH GSSAPI
 250-STARTTLS
 250-DELIVERBY
 250 HELP
  SMTP STARTTLS
  SMTP 220 2.0.0 Ready to start TLS
  SMTP EHLO ali.csde.washington.edu
  SMTP 250-smtp.washington.edu Hello ali.csde.washington.edu, pleased to meet you
 250-ENHANCEDSTATUSCODES
 250-PIPELINING
 250-EXPN
 250-VERB
 250-8BITMIME
 250-SIZE 6000
 250-ETRN
 250-AUTH GSSAPI PLAIN LOGIN
 250-DELIVERBY
 250 HELP
  SMTP MAIL FROM:[EMAIL PROTECTED] SIZE=1341
  SMTP RCPT TO:[EMAIL PROTECTED]
  SMTP DATA
  SMTP 250 2.1.0 [EMAIL PROTECTED]... Sender ok
  SMTP 250 2.1.5 [EMAIL PROTECTED]... Recipient ok
  SMTP 354 Enter mail, end with . on a line by itself
  SMTP writing message and terminating .
  SMTP 250 2.0.0 i1Q0BUWQ030526 Message accepted for delivery
  SMTP QUIT
LOG: MAIN
  = [EMAIL PROTECTED] R=smarthost T=remote_smtp H=smtp.washington.edu 
[140.142.33.9] X=TLSv1:EDH-RSA-DES-CBC3-SHA:168
LOG: MAIN
  Completed

ali#

It never changes the root to mbw or ncosgray

Can anyone explain this and/or help me to fix it?

thanks,

Matt

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]