On Sun, Jul 13, 2008 at 04:16:20PM -0700, Joe S wrote:
> I can't get sendmail to use port 587 and not port 25, which my ISP
> Comcast blocks.
> 
> I've added these lines to my sendmail.mc file, which is a copy of
> openbsd-proto.mc I've tried this with the openbsd-localhost.mc file
> also, but no success.
> 
> ~
> define(`SMART_HOST', `smtp.comcast.net')dnl
> define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl
> define(`ESMTP_MAILER_ARGS', `TCP $h 587')dnl
> define(`SMTP_MAILER_ARGS', `TCP $h 587')dnl
> MASQUERADE_AS(`comcast.net')dnl
> FEATURE(masquerade_envelope)dnl
> ~

These defines need to come before the MAILER macros. Though you
didn't post your whole .mc, I bet the above defines are down by the
MASQUERADE* section, which is too late.

-- 

o--------------------------{ Will Maier }--------------------------o
| web:.......http://www.lfod.us/ | [EMAIL PROTECTED] |
*---------------------[ BSD: Live Free or Die ]--------------------*

Reply via email to