Listen on different port
Peter Farrow
peter at farrows.org
Mon Jan 7 13:59:52 GMT 2008
Ronny T. Lampert wrote:
>> My ISP (Comcast) has decided to start blocking port 25. I'm using
>> easydns and it allows me to forward emails to ports other than port
>> 25. How do I configure Mailscanner to listen on ports other/in
>> addition to 25?
>
> Rightfully so! Dialups should NEVER EVER do SMTP directly. This is
> just asking for trouble.
>
> Why not use the SMTP of your provider (either ISP or eMail provider)
> as upsteam-SMTP-relay?
>
> Cheers,
> Ronny
>
If you are using sendmail, in /etc/mail/sendmail.cf you will see a line
like this:
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
Change the port (and ip if required) to suit your needs and restart MS
(sendmail)
The best way to do this is modify your sendmail.mc file and remake the
sendmail.cf file with the make command (on RH and equivalent distros).
You will see a line like this in sendmail.mc:
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
Modify as you need it...
Regards
Pete
More information about the MailScanner
mailing list