herberkg
17th August 2006, 04:45
There was a thread a short while ago by eKg (http://www.howtoforge.com/forums/showthread.php?t=4788) with instructions on how to enable Postfix for multiple ports to circumvent port 25 filtering at the ISP level. Here are instructions for the flip-side of that coin, Sendmail:
After logging into the ISPConfig server as root:
cd /etc/mail
vi sendmail.mc
Find the line : dnl DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl
Change it to : DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl
If you haven't done so already,
Find the line : dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
Change it to : DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
to enable non-local access to the SMTP port.
Save and exit vi
make -C /etc/mail
/etc/init.d/sendmail restart
If the firewall is enabled, you'll also have to poke a hole in it for submission port 587
After logging into the ISPConfig server as root:
cd /etc/mail
vi sendmail.mc
Find the line : dnl DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl
Change it to : DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl
If you haven't done so already,
Find the line : dnl DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
Change it to : DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
to enable non-local access to the SMTP port.
Save and exit vi
make -C /etc/mail
/etc/init.d/sendmail restart
If the firewall is enabled, you'll also have to poke a hole in it for submission port 587