SquirrelMail not working - fresh install

Discussion in 'Installation/Configuration' started by m.xander, Dec 6, 2013.

  1. m.xander

    m.xander New Member

    Hi,

    This is a new installation following the perfect server guide for Ubuntu 12.04LTS (Apache).
    The installation went pretty well. I can add a email domain and a new email mailbox. I can log in to the squirrelmail webmail using the new email address and password and there is an email From: ISPConfig - Welcome to your new email account.

    So I tried to send a test email from squirrelmail webmail to my gmail address and the browser after waiting for a while says at the top of the compose screen "ERROR: Message not sent. Server replied: "

    The following is from /var/log/mail.log

    Code:
    Dec  6 02:50:02 host postfix/smtps/smtpd[31651]: SSL_accept error from localhost.localdomain[127.0.0.1]: lost connection
    Dec  6 02:50:02 host postfix/smtps/smtpd[31651]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
    Dec  6 02:50:02 host postfix/smtps/smtpd[31651]: disconnect from localhost.localdomain[127.0.0.1]
    Dec  6 02:50:02 host dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Dec  6 02:50:02 host dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Dec  6 02:55:02 host dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Dec  6 02:55:02 host dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Dec  6 02:55:02 host postfix/smtps/smtpd[31845]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman
    Dec  6 02:55:02 host postfix/smtps/smtpd[31845]: connect from localhost.localdomain[127.0.0.1]
    Dec  6 02:55:02 host postfix/smtps/smtpd[31845]: SSL_accept error from localhost.localdomain[127.0.0.1]: lost connection
    Dec  6 02:55:02 host postfix/smtps/smtpd[31845]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
    Dec  6 02:55:02 host postfix/smtps/smtpd[31845]: disconnect from localhost.localdomain[127.0.0.1]
    Dec  6 02:59:35 host postfix/smtps/smtpd[31895]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman
    and more /var/log/mail.log

    Code:
    Dec  6 03:02:17 host amavis[28149]: (28149-02) NOTICE: reconnecting in response to: err=2006, HY000, DBD::mysql::st execute failed: MySQL server has gone away at (eval 100) line 166, <GEN53> line 4.
    Dec  6 03:02:17 host dovecot: lda([email protected]): sieve: msgid=<[email protected]>: stored mail into mailbox 'INBOX'
    Dec  6 03:02:17 host postfix/pipe[32026]: F21CBD572: to=<[email protected]>, relay=dovecot, delay=1.4, delays=0.45/0.05/0/0.92, dsn=2.0.0, status=sent (delivered via dovecot service)
    Dec  6 03:02:17 host postfix/qmgr[27404]: F21CBD572: removed
    Dec  6 03:02:18 host postfix/smtpd[32034]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman
    Dec  6 03:02:18 host postfix/smtpd[32034]: connect from localhost.localdomain[127.0.0.1]
    Dec  6 03:02:18 host postfix/smtpd[32034]: 81653D572: client=localhost.localdomain[127.0.0.1]
    Dec  6 03:02:18 host postfix/cleanup[32013]: 81653D572: message-id=<[email protected]>
    Dec  6 03:02:18 host postfix/qmgr[27404]: 81653D572: from=<[email protected]>, size=1880, nrcpt=1 (queue active)
    Dec  6 03:02:18 host postfix/smtpd[32034]: disconnect from localhost.localdomain[127.0.0.1]
    Dec  6 03:02:18 host amavis[28149]: (28149-02) Passed CLEAN, [127.0.0.1] <[email protected]> -> <[email protected]>, Message-ID: <[email protected]>, mail_id: Q7iS3n7-8CwG, Hits: -0.2, size: 1397, queued_as: 81653D572, 726 ms
    and more from /var/log/mail.log...

    Code:
    Dec  6 03:05:32 host dovecot: imap([email protected]): Disconnected: Logged out bytes=399/1723
    Dec  6 03:05:32 host dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=32112, secured
    Dec  6 03:05:32 host dovecot: imap([email protected]): Disconnected: Logged out bytes=292/1997
    Dec  6 03:05:49 host dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=32114, secured
    Dec  6 03:05:49 host dovecot: imap([email protected]): Disconnected: Logged out bytes=143/2234
    Dec  6 03:07:11 host postfix/smtps/smtpd[32127]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman
    Dec  6 03:07:11 host postfix/smtps/smtpd[32127]: connect from localhost.localdomain[127.0.0.1]
    Dec  6 03:07:17 host postfix/smtpd[32021]: timeout after END-OF-MESSAGE from localhost.localdomain[127.0.0.1]
    Dec  6 03:07:17 host postfix/smtpd[32021]: disconnect from localhost.localdomain[127.0.0.1]
    Dec  6 03:08:11 host postfix/smtps/smtpd[32127]: SSL_accept error from localhost.localdomain[127.0.0.1]: -1
    Dec  6 03:08:11 host postfix/smtps/smtpd[32127]: warning: TLS library problem: 32127:error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol:s23_srvr.c:628:
    Dec  6 03:08:11 host postfix/smtps/smtpd[32127]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
    Dec  6 03:08:11 host postfix/smtps/smtpd[32127]: disconnect from localhost.localdomain[127.0.0.1]
    Dec  6 03:08:21 host postfix/smtps/smtpd[32127]: connect from localhost.localdomain[127.0.0.1]
    and more /var/log/mail.log...

    Code:
    Dec  6 03:34:35 host postfix/smtps/smtpd[331]: disconnect from localhost.localdomain[127.0.0.1]
    Dec  6 03:35:00 host postfix/smtps/smtpd[419]: SSL_accept error from localhost.localdomain[127.0.0.1]: -1
    Dec  6 03:35:00 host postfix/smtps/smtpd[419]: warning: TLS library problem: 419:error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol:s23_srvr.c:628:
    Dec  6 03:35:00 host postfix/smtps/smtpd[419]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
    Dec  6 03:35:00 host postfix/smtps/smtpd[419]: disconnect from localhost.localdomain[127.0.0.1]
    Dec  6 03:35:02 host postfix/smtps/smtpd[331]: connect from localhost.localdomain[127.0.0.1]
    Dec  6 03:35:02 host postfix/smtps/smtpd[331]: SSL_accept error from localhost.localdomain[127.0.0.1]: lost connection
    Dec  6 03:35:02 host postfix/smtps/smtpd[331]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
    Dec  6 03:35:02 host postfix/smtps/smtpd[331]: disconnect from localhost.localdomain[127.0.0.1]
    Dec  6 03:35:02 host dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Dec  6 03:35:02 host dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Dec  6 03:35:36 host postfix/smtps/smtpd[362]: SSL_accept error from mail-wg0-f46.google.com[74.125.82.46]: Connection timed out
    Dec  6 03:35:36 host postfix/smtps/smtpd[362]: lost connection after CONNECT from mail-wg0-f46.google.com[74.125.82.46]
    Dec  6 03:35:36 host postfix/smtps/smtpd[362]: disconnect from mail-wg0-f46.google.com[74.125.82.46]
    There is also a file /var/log/mail.err .... but it is empty.

    There is a file /var/log/mailman/smtp-failure

    Code:
    Dec 06 03:19:35 2013 (28217) Low level smtp error: Connection unexpectedly closed, msgid: <[email protected]>
    Dec 06 03:19:35 2013 (28217) delivery to [email protected] failed with code -1: Connection unexpectedly closed
    Dec 06 03:34:35 2013 (28217) Low level smtp error: Connection unexpectedly closed, msgid: <[email protected]>
    Dec 06 03:34:35 2013 (28217) delivery to [email protected] failed with code -1: Connection unexpectedly closed
    Dec 06 03:49:35 2013 (28217) Low level smtp error: Connection unexpectedly closed, msgid: <[email protected]>
    Dec 06 03:49:35 2013 (28217) delivery to [email protected] failed with code -1: Connection unexpectedly closed
    
    I also tried to send a test email from my gmail to the newly created email address and it didn't arrive in the squirrelmail webmail inbox.

    Could I get some assistance with this?

    Thanks in advance... Mike.
     
    Last edited: Dec 6, 2013
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats not a squirrelmail issue, the postfix is not workinga nd so you can not use squirrelmail as well. Seems as if the ssl certificate from postfix is broken, so it is not able to start.
     
  3. m.xander

    m.xander New Member

    Fixing the SSL certificates

    Hi Till,

    Thanks for your response.

    So to fix this, do I just delete the broken certificate /etc/postfix/smtpd.cert and create a new one with:
    Code:
    openssl req -x509 -nodes -days 7300 -newkey rsa:2048 -keyout /etc/postfix/smtpd.cert -out /etc/postfix/smtp.cert
    chmod 600 /etc/postfix/smtpde.cert
    ... and then restart Postfix?
     
  4. m.xander

    m.xander New Member

    How do I replace broken ssl certificate and key?

    I backd up the old 'broken' ssl certificate and tried to make a new one as per the perfect server method:
    Code:
    openssl req -x509 -nodes -days 7300 -newkey rsa:2048 -keyout /etc/postfix/smtpd.cert -out /etc/postfix/smtpd.cert
    chmod 600 /etc/postfix/smtpd.cert
    
    Then I checked the mail log on ISPConfig which output the following:
    Code:
    Dec 10 03:13:32 host amavis[3027]: ANTI-SPAM code loaded
    Dec 10 03:13:32 host amavis[3027]: ANTI-SPAM-EXT code NOT loaded
    Dec 10 03:13:32 host amavis[3027]: ANTI-SPAM-C code NOT loaded
    Dec 10 03:13:32 host amavis[3027]: ANTI-SPAM-SA code loaded
    Dec 10 03:13:32 host amavis[3027]: Unpackers code loaded
    Dec 10 03:13:32 host amavis[3027]: DKIM code loaded
    Dec 10 03:13:32 host amavis[3027]: Tools code NOT loaded
    Dec 10 03:13:32 host amavis[3027]: Found $file at /usr/bin/file
    Dec 10 03:13:32 host amavis[3027]: No $altermime, not using it
    Dec 10 03:13:32 host amavis[3027]: Internal decoder for .mail
    Dec 10 03:13:32 host amavis[3027]: No decoder for .F 
    Dec 10 03:13:32 host amavis[3027]: Found decoder for .Z at /bin/uncompress
    Dec 10 03:13:32 host amavis[3027]: Internal decoder for .gz 
    Dec 10 03:13:32 host amavis[3027]: Found decoder for .bz2 at /bin/bzip2 -d
    Dec 10 03:13:32 host amavis[3027]: Found decoder for .lzo at /usr/bin/lzop -d
    Dec 10 03:13:32 host amavis[3027]: No decoder for .rpm tried: rpm2cpio.pl, rpm2cpio
    Dec 10 03:13:32 host amavis[3027]: Found decoder for .cpio at /bin/pax
    Dec 10 03:13:32 host amavis[3027]: Found decoder for .tar at /bin/pax
    Dec 10 03:13:32 host amavis[3027]: Found decoder for .deb at /usr/bin/ar
    Dec 10 03:13:32 host amavis[3027]: Internal decoder for .zip 
    Dec 10 03:13:32 host amavis[3027]: No decoder for .7z tried: 7zr, 7za, 7z
    Dec 10 03:13:32 host amavis[3027]: No decoder for .rar tried: unrar-free
    Dec 10 03:13:32 host amavis[3027]: Found decoder for .arj at /usr/bin/arj
    Dec 10 03:13:32 host amavis[3027]: Found decoder for .arc at /usr/bin/nomarch
    Dec 10 03:13:32 host amavis[3027]: Found decoder for .zoo at /usr/bin/zoo
    Dec 10 03:13:32 host amavis[3027]: No decoder for .lha 
    Dec 10 03:13:32 host amavis[3027]: No decoder for .doc tried: ripole
    Dec 10 03:13:32 host amavis[3027]: Found decoder for .cab at /usr/bin/cabextract
    Dec 10 03:13:32 host amavis[3027]: No decoder for .tnef
    Dec 10 03:13:32 host amavis[3027]: Internal decoder for .tnef
    Dec 10 03:13:32 host amavis[3027]: Found decoder for .exe at /usr/bin/arj
    Dec 10 03:13:32 host amavis[3027]: Using primary internal av scanner code for ClamAV-clamd
    Dec 10 03:13:32 host amavis[3027]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
    Dec 10 03:13:32 host amavis[3027]: Creating db in /var/lib/amavis/db/; BerkeleyDB 0.49, libdb 5.1
    Dec 10 03:13:34 host dovecot: master: Dovecot v2.0.19 starting up (core dumps disabled)
    Dec 10 03:13:48 host postfix/master[3582]: daemon started -- version 2.9.6, configuration /etc/postfix
    Dec 10 03:15:03 host dovecot: pop3-login: Fatal: Can't load private ssl_key: Key is for a different cert than ssl_cert
    Dec 10 03:15:03 host dovecot: imap-login: Fatal: Can't load private ssl_key: Key is for a different cert than ssl_cert
    Dec 10 03:15:03 host dovecot: master: Error: service(pop3-login): command startup failed, throttling
    Dec 10 03:15:03 host dovecot: master: Error: service(imap-login): command startup failed, throttling
    Dec 10 03:15:03 host postfix/smtps/smtpd[4061]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman
    Dec 10 03:15:03 host postfix/smtps/smtpd[4061]: warning: cannot get RSA private key from file /etc/postfix/smtpd.key: disabling TLS support
    Dec 10 03:15:03 host postfix/smtps/smtpd[4061]: warning: TLS library problem: 4061:error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch:x509_cmp.c:331:
    Dec 10 03:15:03 host postfix/smtps/smtpd[4061]: connect from localhost.localdomain[127.0.0.1]
    Dec 10 03:15:03 host postfix/smtps/smtpd[4061]: warning: Wrapper-mode request dropped from localhost.localdomain[127.0.0.1] for service smtp. TLS context initialization failed. For details see earlier warnings in your logs.
    Dec 10 03:15:03 host postfix/smtps/smtpd[4061]: disconnect from localhost.localdomain[127.0.0.1]
    Dec 10 03:20:02 host dovecot: imap-login: Fatal: Can't load private ssl_key: Key is for a different cert than ssl_cert
    Dec 10 03:20:02 host dovecot: master: Error: service(imap-login): command startup failed, throttling
    Dec 10 03:20:02 host dovecot: master: Error: service(pop3-login): command startup failed, throttling
    Dec 10 03:20:02 host dovecot: pop3-login: Fatal: Can't load private ssl_key: Key is for a different cert than ssl_cert
    Dec 10 03:20:02 host postfix/smtps/smtpd[4147]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman
    Dec 10 03:20:02 host postfix/smtps/smtpd[4147]: warning: cannot get RSA private key from file /etc/postfix/smtpd.key: disabling TLS support
    Dec 10 03:20:02 host postfix/smtps/smtpd[4147]: warning: TLS library problem: 4147:error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch:x509_cmp.c:331:
    Dec 10 03:20:02 host postfix/smtps/smtpd[4147]: connect from localhost.localdomain[127.0.0.1]
    Dec 10 03:20:02 host postfix/smtps/smtpd[4147]: warning: Wrapper-mode request dropped from localhost.localdomain[127.0.0.1] for service smtp. TLS context initialization failed. For details see earlier warnings in your logs.
    Dec 10 03:20:02 host postfix/smtps/smtpd[4147]: disconnect from localhost.localdomain[127.0.0.1]
    Dec 10 03:25:02 host dovecot: master: Error: service(pop3-login): command startup failed, throttling
    Dec 10 03:25:02 host dovecot: master: Error: service(imap-login): command startup failed, throttling
    Dec 10 03:25:02 host dovecot: pop3-login: Fatal: Can't load private ssl_key: Key is for a different cert than ssl_cert
    Dec 10 03:25:02 host dovecot: imap-login: Fatal: Can't load private ssl_key: Key is for a different cert than ssl_cert
    Dec 10 03:25:02 host postfix/smtps/smtpd[4229]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman
    Dec 10 03:25:02 host postfix/smtps/smtpd[4229]: warning: cannot get RSA private key from file /etc/postfix/smtpd.key: disabling TLS support
    Dec 10 03:25:02 host postfix/smtps/smtpd[4229]: warning: TLS library problem: 4229:error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch:x509_cmp.c:331:
    Dec 10 03:25:02 host postfix/smtps/smtpd[4229]: connect from localhost.localdomain[127.0.0.1]
    Dec 10 03:25:02 host postfix/smtps/smtpd[4229]: warning: Wrapper-mode request dropped from localhost.localdomain[127.0.0.1] for service smtp. TLS context initialization failed. For details see earlier warnings in your logs.
    Dec 10 03:25:02 host postfix/smtps/smtpd[4229]: disconnect from localhost.localdomain[127.0.0.1]
    Dec 10 03:30:02 host dovecot: pop3-login: Fatal: Can't load private ssl_key: Key is for a different cert than ssl_cert
    Dec 10 03:30:02 host dovecot: master: Error: service(pop3-login): command startup failed, throttling
    Dec 10 03:30:02 host dovecot: imap-login: Fatal: Can't load private ssl_key: Key is for a different cert than ssl_cert
    Dec 10 03:30:02 host dovecot: master: Error: service(imap-login): command startup failed, throttling
    Dec 10 03:30:02 host postfix/smtps/smtpd[4307]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman
    Dec 10 03:30:02 host postfix/smtps/smtpd[4307]: warning: cannot get RSA private key from file /etc/postfix/smtpd.key: disabling TLS support
    Dec 10 03:30:02 host postfix/smtps/smtpd[4307]: warning: TLS library problem: 4307:error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch:x509_cmp.c:331:
    Dec 10 03:30:02 host postfix/smtps/smtpd[4307]: connect from localhost.localdomain[127.0.0.1]
    Dec 10 03:30:02 host postfix/smtps/smtpd[4307]: warning: Wrapper-mode request dropped from localhost.localdomain[127.0.0.1] for service smtp. TLS context initialization failed. For details see earlier warnings in your logs.
    Dec 10 03:30:02 host postfix/smtps/smtpd[4307]: disconnect from localhost.localdomain[127.0.0.1]
    Dec 10 03:34:01 host postfix/smtps/smtpd[4355]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman
    Dec 10 03:34:01 host postfix/smtps/smtpd[4355]: warning: cannot get RSA private key from file /etc/postfix/smtpd.key: disabling TLS support
    Dec 10 03:34:01 host postfix/smtps/smtpd[4355]: warning: TLS library problem: 4355:error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch:x509_cmp.c:331:
    Dec 10 03:34:01 host postfix/smtps/smtpd[4355]: connect from mail-wg0-f42.google.com[74.125.82.42]
    Dec 10 03:34:01 host postfix/smtps/smtpd[4355]: warning: Wrapper-mode request dropped from mail-wg0-f42.google.com[74.125.82.42] for service smtp. TLS context initialization failed. For details see earlier warnings in your logs.
    Dec 10 03:34:01 host postfix/smtps/smtpd[4355]: disconnect from mail-wg0-f42.google.com[74.125.82.42]
    Dec 10 03:35:02 host postfix/smtps/smtpd[4355]: connect from localhost.localdomain[127.0.0.1]
    Dec 10 03:35:02 host postfix/smtps/smtpd[4355]: warning: Wrapper-mode request dropped from localhost.localdomain[127.0.0.1] for service smtp. TLS context initialization failed. For details see earlier warnings in your logs.
    Dec 10 03:35:02 host postfix/smtps/smtpd[4355]: disconnect from localhost.localdomain[127.0.0.1]
    Dec 10 03:35:02 host dovecot: master: Error: service(pop3-login): command startup failed, throttling
    Dec 10 03:35:02 host dovecot: pop3-login: Fatal: Can't load private ssl_key: Key is for a different cert than ssl_cert
    Dec 10 03:35:02 host dovecot: master: Error: service(imap-login): command startup failed, throttling
    Dec 10 03:35:02 host dovecot: imap-login: Fatal: Can't load private ssl_key: Key is for a different cert than ssl_cert
    Dec 10 03:40:01 host dovecot: imap-login: Fatal: Can't load private ssl_key: Key is for a different cert than ssl_cert
    Dec 10 03:40:01 host dovecot: master: Error: service(imap-login): command startup failed, throttling
    Dec 10 03:40:01 host postfix/smtps/smtpd[4478]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman
    Dec 10 03:40:01 host postfix/smtps/smtpd[4478]: warning: cannot get RSA private key from file /etc/postfix/smtpd.key: disabling TLS support
    Dec 10 03:40:01 host postfix/smtps/smtpd[4478]: warning: TLS library problem: 4478:error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch:x509_cmp.c:331:
    Dec 10 03:40:01 host postfix/smtps/smtpd[4478]: connect from localhost.localdomain[127.0.0.1]
    Dec 10 03:40:01 host postfix/smtps/smtpd[4478]: warning: Wrapper-mode request dropped from localhost.localdomain[127.0.0.1] for service smtp. TLS context initialization failed. For details see earlier warnings in your logs.
    Dec 10 03:40:01 host postfix/smtps/smtpd[4478]: disconnect from localhost.localdomain[127.0.0.1]
    Dec 10 03:40:01 host dovecot: pop3-login: Fatal: Can't load private ssl_key: Key is for a different cert than ssl_cert
    Dec 10 03:40:01 host dovecot: master: Error: service(pop3-login): command startup failed, throttling
    Dec 10 03:45:02 host dovecot: pop3-login: Fatal: Can't load private ssl_key: Key is for a different cert than ssl_cert
    Could someone explain how to correctly fix this or direct me to a good online explaination?
     
  5. m.xander

    m.xander New Member

    Still confused..

    hi again... I've redone the ssl certificate as per the instructions here.

    Then the mail log shows the following:
    Code:
    Dec 11 05:43:29 host postfix/master[4460]: daemon started -- version 2.9.6, configuration /etc/postfix
    Dec 11 05:44:14 host dovecot: auth-worker: mysql(localhost): Connected to database dbispconfig
    Dec 11 05:44:16 host dovecot: imap-login: Aborted login (auth failed, 1 attempts): user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured
    Dec 11 05:44:47 host dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=4479, secured
    Dec 11 05:44:47 host dovecot: imap([email protected]): Disconnected: Logged out bytes=44/709
    Dec 11 05:44:48 host dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=4481, secured
    Dec 11 05:44:48 host dovecot: imap([email protected]): Disconnected: Logged out bytes=591/2319
    Dec 11 05:44:48 host dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=4483, secured
    Dec 11 05:44:48 host dovecot: imap([email protected]): Disconnected: Logged out bytes=292/1909
    Dec 11 05:45:02 host dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Dec 11 05:45:02 host dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Dec 11 05:45:02 host postfix/smtps/smtpd[4517]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman
    Dec 11 05:45:02 host postfix/smtps/smtpd[4517]: connect from localhost.localdomain[127.0.0.1]
    Dec 11 05:45:02 host postfix/smtps/smtpd[4517]: SSL_accept error from localhost.localdomain[127.0.0.1]: lost connection
    Dec 11 05:45:02 host postfix/smtps/smtpd[4517]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
    Dec 11 05:45:02 host postfix/smtps/smtpd[4517]: disconnect from localhost.localdomain[127.0.0.1]
    Dec 11 05:48:56 host postfix/smtps/smtpd[4572]: warning: database /var/lib/mailman/data/virtual-mailman.db is older than source file /var/lib/mailman/data/virtual-mailman
    Dec 11 05:48:56 host postfix/smtps/smtpd[4572]: connect from localhost.localdomain[127.0.0.1]
    Dec 11 05:49:56 host postfix/smtps/smtpd[4572]: SSL_accept error from localhost.localdomain[127.0.0.1]: -1
    Dec 11 05:49:56 host postfix/smtps/smtpd[4572]: warning: TLS library problem: 4572:error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol:s23_srvr.c:628:
    Dec 11 05:49:56 host postfix/smtps/smtpd[4572]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
    Dec 11 05:49:56 host postfix/smtps/smtpd[4572]: disconnect from localhost.localdomain[127.0.0.1]
    Dec 11 05:50:02 host postfix/smtps/smtpd[4572]: connect from localhost.localdomain[127.0.0.1]
    Dec 11 05:50:02 host postfix/smtps/smtpd[4572]: SSL_accept error from localhost.localdomain[127.0.0.1]: lost connection
    Dec 11 05:50:02 host postfix/smtps/smtpd[4572]: lost connection after CONNECT from localhost.localdomain[127.0.0.1]
    Dec 11 05:50:02 host postfix/smtps/smtpd[4572]: disconnect from localhost.localdomain[127.0.0.1]
    Dec 11 05:50:02 host dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    It still says SSL_accept error from localhost.localdomain[127.0.0.1] ???

    And should I restart this issue under a Postfix related heading?
     
    Last edited: Dec 11, 2013
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the postfix master.cf file.
     
  7. m.xander

    m.xander New Member

    The end is nye

    Seriously Falko...

    Is this an ISPConfig configuration help forum to help people get ISPConfig up and running? .. or is it just a 'help forum' where you sit around waiting to see if anyone can figure out how to get ISPConfig working?

    I followed the supposedly "perfect server" install line by line without fault. made the relevant linode.com adjustments.

    If you don't know how to fix a broken ISPConfig setup Falko... then don't reply. If you Falko do happen to know how to fix a broken ISPConfig setup... then by all means do reply with actual useful advise.

    Mike.
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    1) I'am not falko.
    2) I've just written most of ispconfig and developed the original setup that you know as "perfect setup" guide from falko now, so I dont know how it works off course ;)

    As you are not willing to provide the information that is relevatnt to fix your config issue, then neither I nor falko can help you.
     
    Last edited: Dec 11, 2013
    babydunk likes this.
  9. m.xander

    m.xander New Member

    Apologies

    Apologies Till and Falko...

    Sorry for being a little harsh. It's not easy being the fastest one-handed typist on the face of the planet.

    Mike.
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    No problem :)

    To get foward with your original issue, please post the postfix master.cf file of your server.
     
  11. m.xander

    m.xander New Member

    Apologies Till

    Sorry Till,

    Falko helped me to get ISPConfig running on a VPS about 2 years ago. I realised at that time that I was not qualified to administrate ISPConfig. So I went back to university to do the I.T. degree. In Australia the I.T. guys are just Microsoft.

    I am doing Australia Microsoft university on Linux! The web dev lecturer totally hates me.

    Sorry Till if I offended you. I have to get this thing up and running. There are people who need basic websites here.

    If you are a moderator Till... feel free to delete my topic.
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    No problem at all. I will try to help you to get your server u and running, but I need to know the content of the postfix master.cf file (/etc/postfix/master.cf) to check if the smtps and submission services are enabled correctly.
     
  13. m.xander

    m.xander New Member

    master.cf

    Code:
    #
    # Postfix master process configuration file.  For details on the format
    # of the file, see the master(5) manual page (command: "man 5 master").
    #
    # Do not forget to execute "postfix reload" after editing this file.
    #
    # ==========================================================================
    # service type  private unpriv  chroot  wakeup  maxproc command + args
    #               (yes)   (yes)   (yes)   (never) (100)
    # ==========================================================================
    smtp      inet  n       -       -       -       -       smtpd
    #smtp      inet  n       -       -       -       1       postscreen
    #smtpd     pass  -       -       -       -       -       smtpd
    #dnsblog   unix  -       -       -       -       0       dnsblog
    #tlsproxy  unix  -       -       -       -       0       tlsproxy
    #submission inet n       -       -       -       -       smtpd
      -o syslog_name=postfix/submission
      -o smtpd_tls_security_level=encrypt
      -o smtpd_sasl_auth_enable=yes
      -o smtpd_client_restrictions=permit_sasl_authenticated,reject
    #  -o milter_macro_daemon_name=ORIGINATING
    #smtps     inet  n       -       -       -       -       smtpd
      -o syslog_name=postfix/smtps
      -o smtpd_tls_wrappermode=yes
      -o smtpd_sasl_auth_enable=yes
      -o smtpd_client_restrictions=permit_sasl_authenticated,reject
    #  -o milter_macro_daemon_name=ORIGINATING
    #628       inet  n       -       -       -       -       qmqpd
    pickup    fifo  n       -       -       60      1       pickup
    cleanup   unix  n       -       -       -       0       cleanup
    qmgr      fifo  n       -       n       300     1       qmgr
    #qmgr     fifo  n       -       n       300     1       oqmgr
    tlsmgr    unix  -       -       -       1000?   1       tlsmgr
    rewrite   unix  -       -       -       -       -       trivial-rewrite
    bounce    unix  -       -       -       -       0       bounce
    defer     unix  -       -       -       -       0       bounce
    trace     unix  -       -       -       -       0       bounce
    verify    unix  -       -       -       -       1       verify
    flush     unix  n       -       -       1000?   0       flush
    proxymap  unix  -       -       n       -       -       proxymap
    proxywrite unix -       -       n       -       1       proxymap
    smtp      unix  -       -       -       -       -       smtp
    relay     unix  -       -       -       -       -       smtp
    #       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
    showq     unix  n       -       -       -       -       showq
    error     unix  -       -       -       -       -       error
    retry     unix  -       -       -       -       -       error
    discard   unix  -       -       -       -       -       discard
    local     unix  -       n       n       -       -       local
    virtual   unix  -       n       n       -       -       virtual
    lmtp      unix  -       -       -       -       -       lmtp
    anvil     unix  -       -       -       -       1       anvil
    scache    unix  -       -       -       -       1       scache
    #
    # ====================================================================
    # Interfaces to non-Postfix software. Be sure to examine the manual
    # pages of the non-Postfix software to find out what options it wants.
    #
    # Many of the following services use the Postfix pipe(8) delivery
    # agent.  See the pipe(8) man page for information about ${recipient}
    # and other message envelope options.
    # ====================================================================
    #
    # maildrop. See the Postfix MAILDROP_README file for details.
    # Also specify in main.cf: maildrop_destination_recipient_limit=1
    #
    #
    maildrop  unix  -       n       n       -       -       pipe
      flags=DRhu user=vmail argv=/usr/bin/maildrop -d vmail ${extension} ${recipient} ${user} ${nexthop} ${sender}
    #
    # ====================================================================
    #
    # Recent Cyrus versions can use the existing "lmtp" master.cf entry.
    #
    # Specify in cyrus.conf:
    #   lmtp    cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
    #
    # Specify in main.cf one or more of the following:
    #  mailbox_transport = lmtp:inet:localhost
    #  virtual_transport = lmtp:inet:localhost
    #
    # ====================================================================
       #
    # Cyrus 2.1.5 (Amos Gouaux)
    # Also specify in main.cf: cyrus_destination_recipient_limit=1
    #
    #cyrus     unix  -       n       n       -       -       pipe
    #  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
    #
    # ====================================================================
    # Old example of delivery via Cyrus.
    #
    #old-cyrus unix  -       n       n       -       -       pipe
    #  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
    #
    # ====================================================================
    #
    # See the Postfix UUCP_README file for configuration details.
    #
         uucp      unix  -       n       n       -       -       pipe
      flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
    #
    # Other external delivery methods.
    #
    ifmail    unix  -       n       n       -       -       pipe
      flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
    bsmtp     unix  -       n       n       -       -       pipe
      flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
    scalemail-backend unix  -       n       n       -       2       pipe
      flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
    mailman   unix  -       n       n       -       -       pipe
      flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
      ${nexthop} ${user}
    
    dovecot   unix  -       n       n       -       -       pipe
      flags=DROhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop}
    amavis unix - - - - 2 smtp
            -o smtp_data_done_timeout=1200
            -o smtp_send_xforward_command=yes
    
    127.0.0.1:10025 inet n - - - - smtpd
            -o content_filter=
            -o local_recipient_maps=
            -o relay_recipient_maps=
            -o smtpd_restriction_classes=
            -o smtpd_client_restrictions=
            -o smtpd_helo_restrictions=
            -o smtpd_sender_restrictions=
            -o smtpd_recipient_restrictions=permit_mynetworks,reject
            -o mynetworks=127.0.0.0/8
            -o strict_rfc821_envelopes=yes
            -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
    
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

  15. m.xander

    m.xander New Member

    Thanks Till... the email and squirrelmail works.

    I logged into squirrelmail with the email account created in ISPConfig ... sent a test email to my gmail address successfully, and then replied from my gmail and received the reply in the squirrelmail inbox.

    I am just using Linode's DNS manager for 2 domains and 2 subdomains and they are working. When I restart apache2 I get the following:

    Code:
    [email protected]:/home/mike# service apache2 restart
     * Restarting web server apache2                                                                            [Thu Dec 12 11:01:39 2013] [warn] NameVirtualHost *:443 has no VirtualHosts
    [Thu Dec 12 11:01:39 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
     ... waiting ......[Thu Dec 12 11:01:47 2013] [warn] NameVirtualHost *:443 has no VirtualHosts
    [Thu Dec 12 11:01:47 2013] [warn] NameVirtualHost *:80 has no VirtualHosts
     

Share This Page