assp tutorial port 25 woes

Discussion in 'HOWTO-Related Questions' started by dkrysak, Dec 19, 2006.

  1. dkrysak

    dkrysak New Member

    Hi there - I was following the assp tutorial, and all seems to have gone well, with the exception of my port 25.

    Now as the tutorial suggests, you configure postfix to listen on 127.0.0.1:25 and the assp on p.ub.l.ic:25.

    So what I did was change my main.cf for postfix - inet_interfaces to localhost, then edited the master.cd to have the 127.0.0.1:smtp entry.

    Once I restart postfix and start assp, i then ran

    # netstat -tupl

    To check for my listening ports.... I can see my localhost smtp, however nothing for my public ip:25

    IS there a setting somewhere for assp to bind it to a particular IP or interface? I am assuming the port 25 is being glommed by postfix. I know I could change the port for postfix, etc, however I would prefer to work with 25 as the tutorial suggested.

    Also how will assp effect my smtp auth and my postfix fore relaying outbound email?

    Thanks!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Have you logged into ASSP on port 55555 with your webbrowser and changed the settings that it listens only to port 25 on your public IP?
     
  3. dkrysak

    dkrysak New Member

    Yes I did. I made sure of it....

    I had done the basic config based on info I had searched for on the net.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    What are the outputs of
    Code:
    ifconfig
    and
    Code:
    netstat -tap
    ?
     
  5. dkrysak

    dkrysak New Member

    ifconfig

    eth0 Link encap:Ethernet HWaddr 00:20:ED:72:B1:50
    inet addr:64.40.xxx.xxx Bcast:64.40.xxx.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:50610146 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1501431 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:502824082 (479.5 Mb) TX bytes:735428158 (701.3 Mb)
    Interrupt:11 Base address:0xc000

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:318937 errors:0 dropped:0 overruns:0 frame:0
    TX packets:318937 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:235703586 (224.7 Mb) TX bytes:235703586 (224.7 Mb)

    netstat

    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:55555 *:* LISTEN 26229/perl
    tcp 0 0 *:ldap *:* LISTEN 3056/slapd
    tcp 0 0 *:mysql *:* LISTEN 3148/mysqld
    tcp 0 0 *:pop3 *:* LISTEN 3096/xinetd
    tcp 0 0 *:imap *:* LISTEN 3096/xinetd
    tcp 0 0 *:http *:* LISTEN 3226/httpd
    tcp 0 0 *:ftp *:* LISTEN 3106/vsftpd
    tcp 0 0 *:ssh *:* LISTEN 3080/sshd
    tcp 0 0 localhost.localdom:smtp *:* LISTEN 26219/master
    tcp 0 0 localhos:x11-ssh-offset *:* LISTEN 25989/0
    tcp 0 0 *:https *:* LISTEN 3226/httpd
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Postfix is listening on port 25 on 127.0.0.1, but there's no process listening on port 25 on 64.40.xxx.xxx...
     
  7. dkrysak

    dkrysak New Member

    Yup! In my original message I stated that.... :)



     
  8. falko

    falko Super Moderator Howtoforge Staff

    Please direct your browser to http://example.com:55555 (replace example.com with your server's IP address 64.40.xxx.xxx) and then tell assp to listen on 64.40.xxx.xxx:25.
     
  9. dkrysak

    dkrysak New Member

    I had done that before my original posting... :eek:
     
  10. falko

    falko Super Moderator Howtoforge Staff

    Does your firewall allow connections on port 55555?
     
  11. dkrysak

    dkrysak New Member

    no it is not as I only access the web interface via localhost... does it need ot be open for other functions?
     
  12. falko

    falko Super Moderator Howtoforge Staff

    I don't think so.
    What's the output of
    Code:
    grep 55555 /etc/services
    ?
     

Share This Page