Running SMTP on multiple ports (sendmail)

Discussion in 'Tips/Tricks/Mods' started by herberkg, Aug 17, 2006.

  1. herberkg

    herberkg New Member

    There was a thread a short while ago by eKg 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
     
  2. falko

    falko Super Moderator

Share This Page