Outbound relay on 587

Ugo Bellavance ugob at lubik.ca
Wed Feb 13 21:15:31 GMT 2008


Devon Harding wrote:
> 
> 
>     Got it working!  Here's my settings:
> 
>     /etc/mail/sendmail.mc
>     define(`SMART_HOST',`smtp.comcast.net')dnl
>     define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl
>     FEATURE(`authinfo',`hash -o /etc/mail/authinfo.db')dnl
> 
>     /etc/mail/authinfo
>     AuthInfo:smtp.comcast.net <http://smtp.comcast.net>
>     "U:username at comcast.net <mailto:U:username at comcast.net>"
>     "P:password" "M:PLAIN"
> 
>     Thanks everyone!
> 
>  
> I just noticed that sendmail is now using the SMART_HOST for my incoming 
> hosts as well.  How can I tell it to use the SMART_HOST only for 
> outbound mail?

I don' undrestand what you mean?  It will send everything through the 
smart host, unless it is local.

For other domains, I guess you must use mailertable.
Ugo



More information about the MailScanner mailing list