sendmail static host for domain

Andrew Thomson ajthomson at optushome.com.au
Mon May 26 18:22:48 PDT 2003


I'm not totally down with sendmail as I use exim most of the time.
However I can't be bothered changing it for this particular host.

I'm trying to route all email to a domain to another mail server on my
local network.

I've setup the following:

cat /etc/mail/mailertable
domain     smtp:192.168.0.8

What I was hoping for was that any mail to domain would be sent via the
host mentioned.

When I then send mail, I can see that it picks up my entry, however it
has issues..

May 27 11:20:51 host sm-mta[90308]: h4R1Koe0090306:
to=<user at domain>,
ctladdr=<www at host> (80/80), delay=00:00:01,
xdelay=00:00:00, mailer=smtp, pri=30364, relay=192.168.0.8, dsn=5.1.2,
stat=Host unknown (Name server: 192.168.0.8: host not found)

I don't care, I just want it to deliver to this smtp host!

Any tips?

cheers,

ajt.



More information about the freebsd-questions mailing list