* On Wed, Feb 23, 2005 at 06:52:37PM +0100 Gerard Meijer wrote:
> An example:
> 
> domain: domain.com
> domain.com is hosted on server B. The MX record for domain.com says that 
> server A handles the mail of domain.com. So [EMAIL PROTECTED] should be 
> handled by server A.
> 
> This works, but now on server B there runs a script that sends an e-mail to 
> [EMAIL PROTECTED] . What SHOULD happen is that sendmail on server B looks 
> up the MX record for domain.com, sees that server A handles the mail for 
> domain.com and sends the mail to server A. What happens is that sendmail 
> recognizes the domain as hosted on that machine and uses localhost to 
> deliver the mail. It looks for user gerard (in this example), which doesn't 
> exist.

Somewhere, probably in /etc/mail/local-host-names, you told sendmail
that domain.com should be delivered locally.  Remove that entry and
restart sendmail.

If if was defined in /etc/mail/<HOSTNAME>.mc, then edit
/etc/mail/<HOSTNAME>.mc and restart sendmail with a "make all install
restart".

You can probably find the entry with a "grep domain.com /etc/mail/*".

Mark

-- 
"The fix is only temporary...unless it works." - Red Green
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to