On Fri, 17 May 2002 15:51:14 -0400
David Relson <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I'm having a problem with postfix and /etc/aliases.  I want mail to 
> [EMAIL PROTECTED] to be forwarded to [EMAIL PROTECTED]
> 
> When I add "admin: user" to /etc/aliases and then run newaliases, I
> see mail.mydomain.com attempt to forward the message to itself - which
> is rejected as "(mail for mail.mydomain.com loops back to myself)".
> 
> I'm using Mandrake 8.2 with postfix-20010228.
> 
> Anybody know what's needed?
> 
> Thanks.

If admin has a home directory put in it a .forward file that says root
or [EMAIL PROTECTED] either way.  I have all of roots e-mail forwarded
to user james this way.  > 
> David
> 
> **********************************************************************
> 
> Below are traces of successful and unsuccessful delivery attempts.
> 
> ****** Here's a successfully sent message to [EMAIL PROTECTED]
> (without the /etc/aliases entry) ...
> 
> May 17 15:25:26 mail postfix/smtpd[6647]: connect from 
> devel.mydomain.com[192.168.1.10]
> May 17 15:25:26 mail postfix/smtpd[6647]: 0A20C5034B: 
> client=devel.mydomain.com[192.168.1.10]
> May 17 15:25:26 mail postfix/cleanup[6648]: 0A20C5034B: 
> message-id=<[EMAIL PROTECTED]>
> May 17 15:25:26 mail postfix/smtpd[6647]: disconnect from 
> devel.mydomain.com[192.168.1.10]
> 
> May 17 15:25:26 mail postfix/qmgr[6643]: 0A20C5034B: 
> from=<[EMAIL PROTECTED]>, size=622, nrcpt=1 (queue active)
> May 17 15:25:26 mail postfix/local[6696]: table has changed -- exiting
> May 17 15:25:26 mail postfix/local[6699]: 0A20C5034B: 
> to=<[EMAIL PROTECTED]>, relay=local, delay=0, status=sent 
> ("|/usr/bin/procmail -Y -a $DOMAIN")
> 
> 
> ****** With the /etc/aliases entry, mail.mydomain.com receives the
> message ...
> 
> May 17 15:28:17 mail postfix/smtpd[6727]: connect from 
> devel.mydomain.com[192.168.1.10]
> May 17 15:28:17 mail postfix/smtpd[6727]: 4175A5034B: 
> client=devel.mydomain.com[192.168.1.10]
> May 17 15:28:17 mail postfix/cleanup[6728]: 4175A5034B: 
> message-id=<[EMAIL PROTECTED]>
> May 17 15:28:17 mail postfix/smtpd[6727]: disconnect from 
> devel.mydomain.com[192.168.1.10]
> 
> May 17 15:28:17 mail postfix/qmgr[6643]: 4175A5034B: 
> from=<[EMAIL PROTECTED]>, size=622, nrcpt=1 (queue active)
> May 17 15:28:17 mail postfix/cleanup[6728]: 932D65034C: 
> message-id=<[EMAIL PROTECTED]>
> May 17 15:28:17 mail postfix/local[6729]: 4175A5034B: 
> to=<[EMAIL PROTECTED]>, relay=local, delay=0, status=sent (forwarded
> as 932D65034C)
> May 17 15:28:17 mail postfix/qmgr[6643]: 932D65034C: 
> from=<[EMAIL PROTECTED]>, size=762, nrcpt=1 (queue active)
> 
> ****** and then mail.mydomain.com connects to itself and rejects the 
> connection ...
> 
> May 17 15:28:17 mail postfix/smtpd[6727]: connect from 
> mail.mydomain.com[192.168.1.1]
> May 17 15:28:18 mail postfix/smtp[6730]: warning: host 
> mail.mydomain.com[192.168.1.1] greeted me with my own hostname 
> mail.mydomain.com
> May 17 15:28:18 mail postfix/smtp[6730]: warning: host 
> mail.mydomain.com[192.168.1.1] replied to HELO/EHLO with my own
> hostname mail.mydomain.com
> May 17 15:28:18 mail postfix/smtp[6730]: 932D65034C: 
> to=<[EMAIL PROTECTED]>, relay=mail.mydomain.com[192.168.1.1],
> delay=1, status=bounced (mail for mail.mydomain.com loops back to
> myself) May 17 15:28:18 mail postfix/smtpd[6727]: lost connection
> after EHLO from mail.mydomain.com[192.168.1.1]
> May 17 15:28:18 mail postfix/smtpd[6727]: disconnect from 
> mail.mydomain.com[192.168.1.1]
> 
> May 17 15:28:18 mail postfix/cleanup[6728]: 46AC25034B: 
> message-id=<[EMAIL PROTECTED]>
> May 17 15:28:18 mail postfix/qmgr[6643]: 46AC25034B: from=<>,
> size=2457, nrcpt=1 (queue active)
> May 17 15:28:18 mail postfix/local[6729]: 46AC25034B: 
> to=<[EMAIL PROTECTED]>, relay=local, delay=0, status=sent 
> ("|/usr/bin/procmail -Y -a $DOMAIN")
> 
> 
> 

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to