Enhancing Your mail server w/ASSP

Discussion in 'HOWTO-Related Questions' started by gurneyzap, Nov 14, 2006.

  1. gurneyzap

    gurneyzap New Member


    I have a working mail server using Falko's excellent how-to. I've heard a lot of good things about ASSP, so I thought I would give it a try.

    Setup seems very easy but when I send an email, the sending server logs show connection refused.

    In the ASSP logs I see this:
    Couldn't create server socket on port '' -- maybe another service is running or I'm not root (uid=0)?

    How do I resolve?

  2. ovis

    ovis ISPConfig Developer ISPConfig Developer

    Couldn't create server socket on port ''

    Oke first this is my setup in the Interface on port 55555:

    SMTP Destination
    Listen Port
    Now the SMTP Destination is the OUTPUT
    The listen Port is the INPUT

    You have to make sure that postfix is ajusted to this situation so it listens on the output of your proxy.

    Is is done in the /etc/posfix/master.cf :

    localhost:smtp      inet  n       -       -       -       -       smtpd
    netstat -vatup
    tcp    0    0 example.com:smtp        *:*    LISTEN     5511/perl
    tcp    0    0 localhost.localdom:smtp *:*    LISTEN     1316/master
    Here we see that port 25 (smtp) of the outside is bound to perl (ASSP)
    And the port 25 of the inside is bound to master (postfix)

    Now if any other process is interfering or a firewall is preventing this behavore your have to investegate.

    In the case that your not root, get root OR go to the interface and adust the GUI and UID to taste. But first try if it works as root.

    What makes it diffecult is that the solution is probly simple and hard to find :)

    Greetz Ovis

Share This Page