smtp map to other port

Peter Farrow peter at farrows.org
Sat Jun 21 14:49:22 IST 2008


Jan Agermose wrote:
>
> Hi
>
>  
>
> when using Mailscanner (or maybe its actually sendmail) I set up a 
> rule that says where to deliver the mails after beeing scanned. But 
> what if port 25 is blocked on the remote server - can I add a "port" 
> number somehow to have it delivered on port 366 or something like that?
>
>  
>
> Regards
>
> Jan
>
>  
>
>
> -- 
> This message has been scanned for viruses and
> dangerous content by the *Inexcom* <http://www.inexcom.co.uk/> system 
> scanner,
> and is believed to be clean.
> Advanced heuristic mail scanning server [0]. 

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


(taken from sendmail website)


-- 
This message has been scanned for viruses and
dangerous content by the Inexcom system Scanner,
and is believed to be clean.
Advanced heuristic mail scanning server [-].
http://www.inexcom.co.uk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20080621/eae8262f/attachment.html


More information about the MailScanner mailing list