sendmail confi help

Charles Swiger cswiger at mac.com
Wed Feb 11 10:49:06 PST 2004


On Feb 11, 2004, at 8:52 AM, stan wrote:
> How can I configure FreeBSD's default sendmail to work like this:
>
> If the message is for domain1 or domain2, deliver directly.
> If not, use a smarthost

You also need to add domain1 and domain2 to /etc/mail/local-host-names. 
  Then do a "make restart" in /etc/mail to rebuild the .cf file and 
restart sendmail with the new config, and see whether that does what 
you want...

-- 
-Chuck



More information about the freebsd-questions mailing list