Sendmail client configuration to connect to ISP's SMTP server

Lane Holcombe lane at joeandlane.com
Sat Dec 26 23:51:15 UTC 2009


On Sat, 2009-12-26 at 11:20 -0800, Aflatoon Aflatooni wrote: 
> What configuration do I need to set in my freebsd.submit.mc in order to connect to the ISP's SMTP server?
> The ISP is blocking all the emails unless it goes through their mail server, so I need my FreeBSD box to connect to the ISP's SMTP server for outbound emails.
> 
> The client also needs to be authenticated as well.
> 
> Please help
> 
> Thanks
> Afi
> 
Hey, afi

Check out SMART_HOST in /usr/src/contrib/sendmail/cf/README

The change doesn't go in freebsd.submit.mc, but in freebsd.mc.  Or
<hostname>.mc, if you've already tweaked it before

SMART_HOST is the upstream smtp server where all outgoing email is
sent.  

lane




More information about the freebsd-questions mailing list