Web mail access only

Discussion in 'Server Operation' started by mrbronz, Jul 20, 2016.

  1. mrbronz

    mrbronz Member HowtoForge Supporter

    Hi to one and all
    I have been using ispconfig 3 for many years now, and it has been working correctly.
    However I had reason to rebuild the server (Debian) several days ago, and now I cannot seem to access the email server via my email client.
    Accessing via sqirrelmail interface is no problem I can send and receive with no problems.
    I cannot ping my domain name (mydomain.com) or the IP address however I can ping myserver.mydomain.com
    I can access the web server via a browser.
    The logs show no problems.
    I'm a bit stuck on this so if anyone has any ideas or suggestions I would appreciate your input.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. mrbronz

    mrbronz Member HowtoForge Supporter

    Hi Till
    Here is the output of the htf_report.txt

    Code:
    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    IP-address(es) (as per ifconfig): ***.***.***.***
    [INFO] ISPConfig is installed.
    
    ##### ISPCONFIG #####
    ISPConfig version is 3.0.5.4p9
    ##### VERSION CHECK #####
    
    [INFO] php (cli) version is 5.6.23-0+deb8u1
    [INFO] php-cgi (used for cgi php in default vhost!) is version 5.6.23-0+deb8u1
    
    ##### PORT CHECK #####
    
    ##### MAIL SERVER CHECK #####
    
    ##### RUNNING SERVER PROCESSES #####
    
    [INFO] I found the following web server(s):
            Apache 2 (PID 26334)
    [INFO] I found the following mail server(s):
            Postfix (PID 1288)
    [INFO] I found the following pop3 server(s):
            Dovecot (PID 1033)
    [INFO] I found the following imap server(s):
            Dovecot (PID 1033)
    [INFO] I found the following ftp server(s):
            PureFTP (PID 1049)
    
    ##### LISTENING PORTS #####
    (only           ()
    Local           (Address)
    [anywhere]:993          (1033/dovecot)
    [anywhere]:995          (1033/dovecot)
    [localhost]:10024               (1351/amavisd-new)
    [localhost]:10025               (1288/master)
    [anywhere]:587          (1288/master)
    [localhost]:11211               (516/memcached)
    [anywhere]:110          (1033/dovecot)
    [anywhere]:143          (1033/dovecot)
    [anywhere]:111          (550/rpcbind)
    [anywhere]:465          (1288/master)
    [anywhere]:21           (1049/pure-ftpd)
    ***.***.***.***:53              (518/named)
    [localhost]:53          (518/named)
    [anywhere]:22           (517/sshd)
    [anywhere]:25           (1288/master)
    [localhost]:953         (518/named)
    *:*:*:*::*:993          (1033/dovecot)
    *:*:*:*::*:995          (1033/dovecot)
    *:*:*:*::*:10024                (1351/amavisd-new)
    *:*:*:*::*:3306         (849/mysqld)
    *:*:*:*::*:587          (1288/master)
    [localhost]10           (1033/dovecot)
    [localhost]43           (1033/dovecot)
    [localhost]11           (550/rpcbind)
    *:*:*:*::*:8080         (26334/apache2)
    *:*:*:*::*:80           (26334/apache2)
    *:*:*:*::*:8081         (26334/apache2)
    *:*:*:*::*:465          (1288/master)
    *:*:*:*::*:21           (1049/pure-ftpd)
    *:*:*:*::*:53           (518/named)
    *:*:*:*::*:22           (517/sshd)
    *:*:*:*::*:25           (1288/master)
    *:*:*:*::*:953          (518/named)
    *:*:*:*::*:443          (26334/apache2)
    
    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    fail2ban-postfix-sasl  tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 25
    fail2ban-dovecot-pop3imap  tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 110,995,143,993
    fail2ban-pureftpd  tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 21
    fail2ban-ssh  tcp  --  [anywhere]/0            [anywhere]/0            multiport dports 22
    ACCEPT     all  --  ***.***.***.***         [anywhere]/0
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    ACCEPT     all  --  [anywhere]/0            ***.***.***.***
    
    Chain fail2ban-dovecot-pop3imap (1 references)
    target     prot opt source               destination
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
    Chain fail2ban-postfix-sasl (1 references)
    target     prot opt source               destination
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
    Chain fail2ban-pureftpd (1 references)
    target     prot opt source               destination
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
    Chain fail2ban-ssh (1 references)
    target     prot opt source               destination
    RETURN     all  --  [anywhere]/0            [anywhere]/0
    
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The output is fine so far. Did you try port 25 and 587 for smtp? If both ports are not working, then there might be an external firewall in front of the server that blocks access to the email services.
     
  5. mrbronz

    mrbronz Member HowtoForge Supporter

    Hi Till
    I have turned off my firewall and directed all traffic to my DMZ so that should not be a problem.
    On further investigation, after I left my local network my phone used its roaming data and I was able to login to the server .
    So I can send and receive emails as long as I am not logged on to my home network.
    I would doubt that there is anything you can do to help with this one but thought I would share this just in case anyone else had a similar problem.
     

Share This Page