ISPConfig 3 and Email Trouble

Discussion in 'Installation/Configuration' started by Chase Work, Feb 24, 2016.

  1. Chase Work

    Chase Work New Member

    Ubuntu 14.04

    [email protected]:~# cat htf_report.txt | more

    ##### SERVER #####
    IP-address (as per hostname): ***.***.***.***
    IP-address(es) (as per ifconfig): ***.***.***.***, ***.***.***.***
    [INFO] ISPConfig is installed.

    ##### ISPCONFIG #####
    ISPConfig version is 3.0.5.4p8


    ##### VERSION CHECK #####

    [INFO] php (cli) version is 5.5.9-1ubuntu4.14

    ##### PORT CHECK #####

    [WARN] Port 25 (SMTP server) seems NOT to be listening
    [WARN] Port 465 (SMTP server SSL) seems NOT to be listening
    [WARN] Port 25 (SMTP server) seems NOT to be listening

    ##### MAIL SERVER CHECK #####

    [WARN] I found no "smtp" entry in your postfix master.cf
    [WARN] I found no "submission" entry in your postfix master.cf
    [INFO] this is not critical, but if you want to offer port 587 for smtp connections you have to enable this.
    [WARN] I found no "smtps" entry in your postfix master.cf
    [INFO] this is not critical, but if you want to offer SSL for smtp (not TLS) connections you have to enable this.

    ##### RUNNING SERVER PROCESSES #####

    [INFO] I found the following web server(s):
    Apache 2 (PID 15726)
    [WARN] I could not determine which mail server is running.
    [INFO] I found the following pop3 server(s):
    Dovecot (PID 15683)
    [INFO] I found the following imap server(s):
    Dovecot (PID 15683)
    [INFO] I found the following ftp server(s):
    PureFTP (PID 15755)

    ##### LISTENING PORTS #####
    (only ()
    Local (Address)
    ***.***.***.***:53 (15785/named)
    ***.***.***.***:53 (15785/named)
    [localhost]:53 (15785/named)
    [anywhere]:21 (15755/pure-ftpd)
    [anywhere]:22 (965/sshd)
    [localhost]:953 (15785/named)
    [anywhere]:993 (15683/dovecot)
    [anywhere]:995 (15683/dovecot)
    [localhost]:10024 (14639/amavisd-new)
    [anywhere]:3306 (14185/mysqld)
    [localhost]:11211 (1979/memcached)
    [anywhere]:110 (15683/dovecot)
    [anywhere]:143 (15683/dovecot)
    *:*:*:*::*:53 (15785/named)
    *:*:*:*::*:21 (15755/pure-ftpd)
    *:*:*:*::*:22 (965/sshd)
    *:*:*:*::*:953 (15785/named)
    *:*:*:*::*:443 (15726/apache2)
    *:*:*:*::*:993 (15683/dovecot)
    *:*:*:*::*:995 (15683/dovecot)
    [localhost]10 (15683/dovecot)
    [localhost]43 (15683/dovecot)
    *:*:*:*::*:8080 (15726/apache2)
    *:*:*:*::*:80 (15726/apache2)
    *:*:*:*::*:8081 (15726/apache2)




    ##### IPTABLES #####
    Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination
    DOCKER all -- [anywhere]/0 [anywhere]/0
    ACCEPT all -- [anywhere]/0 [anywhere]/0 ctstate RELATED,ESTABLISHED
    ACCEPT all -- [anywhere]/0 [anywhere]/0
    ACCEPT all -- [anywhere]/0 [anywhere]/0

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination

    Chain DOCKER (1 references)
    target prot opt source destination

    _____________________________________________________________
    Email Problems
    1. Dovecot
    2.No Webmail does not work. Through Squirrel Mail I get the error
    " Connection refused
    111 Can't open SMTP stream"

    Mail Log
    Feb 24 17:33:03 vps70372 postfix/master[24874]: daemon started -- version 2.11.0, configuration /etc/postfix
    Feb 24 17:33:39 vps70372 dovecot: imap-login: Login: user=<chase@******.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpi$
    Feb 24 17:33:39 vps70372 dovecot: imap(chase@******.com): Disconnected: Logged out in=44 out=843
    Feb 24 17:33:40 vps70372 dovecot: imap-login: Login: user=<chase@******.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpi$
    Feb 24 17:33:40 vps70372 dovecot: imap(chase@******.com): Disconnected: Logged out in=261 out=1691
    Feb 24 17:33:40 vps70372 dovecot: imap-login: Login: user=<chase@******.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpi$
    Feb 24 17:33:40 vps70372 dovecot: imap(chase@******.com): Disconnected: Logged out in=117 out=1541
    Feb 24 17:35:01 vps70372 dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=127.0.0$
    Feb 24 17:35:01 vps70372 dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secu$
    Feb 24 17:35:01 vps70372 postfix/postqueue[24934]: warning: Mail system is down -- accessing queue directly
    Feb 24 17:40:01 vps70372 dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secu$
    Feb 24 17:40:01 vps70372 dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secu$
    Feb 24 17:40:01 vps70372 postfix/postqueue[25051]: warning: Mail system is down -- accessing queue directly
    Feb 24 17:43:40 vps70372 dovecot: imap-login: Login: user=<chase@******.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpi$
    Feb 24 17:43:40 vps70372 dovecot: imap(chase@******.com): Disconnected: Logged out in=79 out=777
    _____________________________
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Postfix is not running. Restart postfix and dovecot and then check the mail.log for errors.
     
  3. Chase Work

    Chase Work New Member

    POSTFIX RESTART:
    [email protected]:~# service postfix restart
    * Stopping Postfix Mail Transport Agent postfix /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: dovecot_destination_recipient_limit=1
    [ OK ]
    * Starting Postfix Mail Transport Agent postfix postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    postconf: warning: /etc/postfix/main.cf: unused parameter: dovecot_destination_recipient_limit=1
    postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    postconf: warning: /etc/postfix/main.cf: unused parameter: dovecot_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: dovecot_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: dovecot_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: dovecot_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: dovecot_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: dovecot_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: dovecot_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: dovecot_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: dovecot_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: dovecot_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: dovecot_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: dovecot_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: dovecot_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: dovecot_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: dovecot_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: dovecot_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: dovecot_destination_recipient_limit=1
    [ OK ]


    DOVECOT RESTART
    [email protected]:~# service dovecot restart
    dovecot stop/waiting
    dovecot start/running, process 28304

    MAIL LOG OUTPUT

    Feb 26 16:30:01 vps70372 dovecot: pop3-login: Disconnected (no auth attempts in$
    Feb 26 16:30:01 vps70372 dovecot: imap-login: Disconnected (no auth attempts in$
    Feb 26 16:30:01 vps70372 postfix/postqueue[28043]: warning: Mail system is down$
    Feb 26 16:30:51 vps70372 postfix/master[24874]: terminating on signal 15
    Feb 26 16:30:52 vps70372 postfix/master[28274]: daemon started -- version 2.11.$
    Feb 26 16:32:07 vps70372 dovecot: master: Warning: Killed with signal 15 (by pi$
    Feb 26 16:32:07 vps70372 dovecot: anvil: Warning: Killed with signal 15 (by pid$
    Feb 26 16:32:07 vps70372 dovecot: log: Warning: Killed with signal 15 (by pid=1$
    Feb 26 16:32:07 vps70372 dovecot: master: Dovecot v2.2.9 starting up (core dump$
    Feb 26 16:32:51 vps70372 dovecot: imap-login: Login: user=<chase@****.$
    Feb 26 16:32:51 vps70372 dovecot: imap(chase@****.com): Disconnected: $
    Feb 26 16:32:52 vps70372 dovecot: imap-login: Login: user=<chase@****.$
     
  4. ztk.me

    ztk.me Active Member

    First, please clean up your postfix configuration, looks like you did some custom settings there.
    Also it looks like the really interesting parts of the log output are missing or been verbosity filtered.


    Looks like you wanted to slow down mail sending or tune something
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: dovecot_destination_recipient_limit=1
    /usr/sbin/postconf: warning: /etc/postfix/main.cf: unused parameter: maildrop_destination_concurrency_limit=1

    However, unused means not used. Warning means one line of log file wasted and some errors after this cut been cut by some piece of software thinking "n" error lines are enough to display :D
     
  5. Chase Work

    Chase Work New Member

    OK, in main.cf I commented out the following lines. I get no warnings when I restart postfix now.

    dovecot_destination_recipient_limit=1
    maildrop_destination_concurrency_limit=1
    maildrop_destination_concurrency_limit=1


    However, when I go to log in to Squirrel Mail, I still get the
    Connection refused
    111 Can't open SMTP stream
    error.

    MAIL LOG

    Feb 29 09:47:22 vps70372 amavis[1405]: Creating db in /var/lib/amavis/db/; Berk$
    Feb 29 09:47:28 vps70372 dovecot: master: Dovecot v2.2.9 starting up (core dump$
    Feb 29 09:47:44 vps70372 postfix/master[2173]: daemon started -- version 2.11.0$
    Feb 29 09:48:07 vps70372 dovecot: imap-login: Login: user=<chase@***
    Feb 29 09:48:07 vps70372 dovecot: imap(chase@*****.com): Disconnected: $
    Feb 29 09:48:07 vps70372 dovecot: imap-login: Login: user=<chase@***
    Feb 29 09:48:08 vps70372 dovecot: imap(chase@****m): Disconnected: $
    Feb 29 09:50:01 vps70372 dovecot: imap-login: Disconnected (no auth attempts in$
    Feb 29 09:50:01 vps70372 dovecot: pop3-login: Disconnected (no auth attempts in$
    Feb 29 09:50:01 vps70372 postfix/postqueue[2422]: warning: Mail system is down $
     
  6. ztk.me

    ztk.me Active Member

    Are there any hints in your syslog? Did you by accident install another smtp-server like exim?
    What's $netstat -tap
    saying after attempt to send from squirrelmail?
    Does a $telner yourserver 25 work after attempt?
     

Share This Page