smtp map to other port
peter at farrows.org
Sat Jun 21 14:44:37 IST 2008
Jan Agermose wrote:
> 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?
> This message has been scanned for viruses and
> dangerous content by the *Inexcom* <http://www.inexcom.co.uk/> system
> and is believed to be clean.
> Advanced heuristic mail scanning server .
You can modify which port sendmail listens on in /etc/mail/sendmail.mc
line but this is not what you want as this changes the in bound port.
You can add further instances of this to add listening on more ports
If you are using mailertables of the type:
You can add a custom service name in /etc/services
and then add an entry:
I have never tried this but it might work...
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 [-].
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the MailScanner