smtp map to other port

Alex Neuman alex at rtpty.com
Sun Jun 22 19:48:05 IST 2008


This should go on the wiki...

On Jun 21, 2008, at 8:49 AM, Peter Farrow wrote:

> Use this, it will make any mailertable entries using the key "esmtp"  
> forward to the remote server on port 2525 in this case:
>
> in your sendmail.mc file:
>
> FEATURE(`mailertable')
> define(`confRELAY_MAILER', `esmtp')
> define(`RELAY_MAILER_ARGS', `TCP $h 2525')
>
> then add a line in your mailertable:
>
> domaintorelay.com                  esmtp:servertodeliverto.com



More information about the MailScanner mailing list