[Gllug] sendmail configuration

Jonathan Dye jonathan.dye at automationpartnership.com
Tue Feb 18 09:08:21 UTC 2003


I have a sendmail configuration problem.

On our network we have a Microsoft Exchange server (mail.mydomain.com) and a
linux box (linux.mydomain.com).  Mail to the domain xxx at mydomain.com goes to
mail as set up by the MX records.  Any mail for xxx at linux.mydomain.com gets
forwarded by the exchange box to the linux box.  The linux box has mail as
it's smarthost.  This all seems to work OK and all mail gets delivered fine.

User jon on the linux box has a .forward to contains:
\jon
jonathan.dye at mydomain.com
and mail sent to jon at linux.mydomain.com does get properly delivered locally
and gets sent to mail.mydomain.com for delivery there also.  Now I have
added the following to /etc/aliases and re-run newaliases:

bugs:	jon

but mail sent via machine mail to bugs at linux.mydomain.com gets delivered
locally to jon but does not get forwarded back to jonathan.dye at mydomain.com.
The sendmail logs show:

Feb 18 08:54:27 linux sendmail[1385]: IAA01385:
from=<jonathan.dye at mydomain.com>, size=601, class=0, pri=30601, nrcpts=1,
msgid=<E254F03EB6C05A449C653A8C2691EDFC019C23D6 at mail.mydomain.com>,
proto=ESMTP, relay=mail.mydomain.com [172.27.1.35]
Feb 18 08:54:28 bugtracker sendmail[1386]: IAA01385: to=\jon,
delay=00:00:01, xdelay=00:00:00, mailer=local, stat=Sent

but as seen from the logs the mail never gets send back to
jonathan.dye at mydomain.com.  Can anyone sugggest what is going wrong?

JD

_____________________________________________________________________
This message has been checked for all known viruses by the 
MessageLabs Virus Scanning Service

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list