sendmail and /etc/hosts
Nathan Vidican
nathan at vidican.com
Thu Dec 9 20:41:59 UTC 2010
On Thu, Dec 9, 2010 at 3:08 PM, Gabor Illo <stageline at gmail.com> wrote:
> Hello
>
> My problem: sendmail skipping /etc/host and use MX record. Somebody
> have any ide how use sendmail /etc/host file?
>
> Dec 9 20:58:23 www sm-mta[29438]: oB9Fxmx0027174:
> to=<sdghhg at sdaffd.hu>, delay=03:58:35, xdelay=00:00:00, mailer=esmtp,
> pri=1313137, relay=mail.mouseoleum.hu., dsn=4.0.0, stat=Deferred:
> Connection refused by mail.mouseoleum.hu.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>
Could you clarify in regards to what you want sendmail to actually use
/etc/host for?
If your intent is to re-map where mail destined for a given host/domain goes
- (ie override DNS MX records) - then /etc/hosts is not going to do what you
want. Depending on where you intend to redirect to, you'll need either
mailer table, access table entries or to configure your local sendmail to
receive for that domain to accomplish that. You might try reading further
at:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mail-using.html
Specifically in regards to email and DNS relationships.
--
Nathan Vidican
nathan at vidican.com
More information about the freebsd-questions
mailing list