sendmail secondary server routing to alternate port

Chuck Swiger cswiger at mac.com
Tue Aug 19 19:22:09 UTC 2008


On Aug 19, 2008, at 12:01 PM, Derrick Ryalls wrote:
> NOQUEUE: SYSERR(root): /etc/mail/sendmail.cf: line 1718: unknown
> configuration line "relay_port_587,         P=[IPC], F=mDFMuXa,
> S=EnvFromSMTP/HdrFromSMTP, R=EnvToSMTP, E=\\r"
> Aug 19 11:56:50 rncserver sm-mta[70987]: NOQUEUE: SYSERR(root):
> /etc/mail/sendmail.cf: line 1721: unknown configuration line "\\n,
> L=990,\n                T=DNS/RFC822/SMTP,\n                A=TCP
> \001h 587"
>
> Guess I have messed something up here, see anything obvious?

A mailer definition needs to start with a capital M, as in:

Mrelay,         P=[IPC], F=mDFMuXa8, S=EnvFromSMTP/HdrFromSMTP,  
R=MasqSMTP, E=\r\n, L=2040,
                 T=DNS/RFC822/SMTP,
                 A=TCP $h

...from sendmail.cf.  You could just copy this and rename it to  
relay_port_587, and add the 587 after the $h....

Regards,
-- 
-Chuck



More information about the freebsd-questions mailing list