Date: Tue, 27 May 2003 23:22:52 +0800 From: "Paul Hamilton" <paulh@bdug.org.au> To: "Freebsd-Questions" <freebsd-questions@freebsd.org> Subject: FW: sendmail static host for domain Message-ID: <AGEHIFHGNEMPFNCPLONMAEMNEKAA.paulh@bdug.org.au>
next in thread | raw e-mail | index | archive | help
Thanks, that helped me too! -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Dan Nelson Sent: Tuesday, 27 May 2003 9:33 AM To: Andrew Thomson Cc: freebsd-questions@freebsd.org Subject: Re: sendmail static host for domain In the last episode (May 27), Andrew Thomson said: > 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@domain>, > ctladdr=<www@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) Put the IP in square brackets; otherwise sendmail will try to do MX lookups on the domain named "192.168.0.8". You can put []'s around anything to force sendmail to talk directly with that host instead of using MXes. -- Dan Nelson dnelson@allantgroup.com _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AGEHIFHGNEMPFNCPLONMAEMNEKAA.paulh>