can not send/recieve email

Discussion in 'Installation/Configuration' started by emrah, Sep 15, 2017.

  1. emrah

    emrah New Member

    Hi.
    I have vps. I installed everyting according to The Perfect Server CentOS 7.3 with Apache, Postfix, Dovecot, Pure-FTPD, BIND and ISPConfig 3.1. Because I am newbie on vps. But I can not send recieve email. thanks alot.
    these are mail logs in ispconfig 3:

    Mail Queue Logs:

    Code:
    BE8491C229 442 Fri Sep 15 09:48:55 xxx@domain
    (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    xxxx@domain
    Mail Error -Log:

    Code:
    ep 15 10:50:01 sevgihukuk postfix/smtpd[19456]: connect from localhost[::1]
    Sep 15 10:50:01 sevgihukuk postfix/smtpd[19456]: lost connection after CONNECT from localhost[::1]
    Sep 15 10:50:01 sevgihukuk postfix/smtpd[19456]: disconnect from localhost[::1]
    Sep 15 10:50:01 sevgihukuk dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<wQ30gTtZ1gAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 10:50:01 sevgihukuk dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<4CX0gTtZKgAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 10:50:11 sevgihukuk dovecot: imap-login: Login: user=<emrah.sevgi@domain>, method=PLAIN, rip=::1, lip=::1, mpid=19637, secured, session=<1p2FgjtZ3AAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 10:50:11 sevgihukuk dovecot: imap(emrah.sevgi@domain): Disconnected: Logged out in=50 out=475
    Sep 15 10:51:11 sevgihukuk dovecot: imap-login: Login: user=<emrah.sevgi@domain>, method=PLAIN, rip=::1, lip=::1, mpid=19751, secured, session=<L60ZhjtZ3gAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 10:51:11 sevgihukuk dovecot: imap(emrah.sevgi@domain): Disconnected: Logged out in=50 out=475
    Sep 15 10:52:11 sevgihukuk dovecot: imap-login: Login: user=<emrah.sevgi@domain>, method=PLAIN, rip=::1, lip=::1, mpid=19856, secured, session=<P9ysiTtZ4AAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 10:52:11 sevgihukuk dovecot: imap(emrah.sevgi@domain): Disconnected: Logged out in=50 out=475
    Sep 15 10:52:39 sevgihukuk dovecot: imap-login: Disconnected (no auth attempts in 10 secs): user=<>, rip=45.55.22.21, lip=173.214.164.158, session=<H91fiztZOgAtNxYV>
    Sep 15 10:53:11 sevgihukuk dovecot: imap-login: Login: user=<emrah.sevgi@domain>, method=PLAIN, rip=::1, lip=::1, mpid=19964, secured, session=<qdBBjTtZ4gAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 10:53:11 sevgihukuk dovecot: imap(emrah.sevgi@domain): Disconnected: Logged out in=50 out=475
    Sep 15 10:53:21 sevgihukuk postfix/anvil[19458]: statistics: max connection rate 1/60s for (smtp:192.69.16.227) at Sep 15 10:49:17
    Sep 15 10:53:21 sevgihukuk postfix/anvil[19458]: statistics: max connection count 1 for (smtp:192.69.16.227) at Sep 15 10:49:17
    Sep 15 10:53:21 sevgihukuk postfix/anvil[19458]: statistics: max message rate 1/60s for (smtp:192.69.16.227) at Sep 15 10:49:18
    Sep 15 10:53:21 sevgihukuk postfix/anvil[19458]: statistics: max cache size 2 at Sep 15 10:49:32
    Sep 15 10:54:11 sevgihukuk dovecot: imap-login: Login: user=<emrah.sevgi@domain>, method=PLAIN, rip=::1, lip=::1, mpid=20067, secured, session=<S+LUkDtZ5AAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 10:54:11 sevgihukuk dovecot: imap(emrah.sevgi@domain): Disconnected: Logged out in=50 out=475
    Sep 15 10:55:02 sevgihukuk dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<8BDjkztZ7gAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 10:55:02 sevgihukuk dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<ui3jkztZQgAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 10:55:02 sevgihukuk postfix/smtpd[20226]: connect from localhost[::1]
    Sep 15 10:55:02 sevgihukuk postfix/smtpd[20226]: lost connection after CONNECT from localhost[::1]
    Sep 15 10:55:02 sevgihukuk postfix/smtpd[20226]: disconnect from localhost[::1]
    Sep 15 10:55:11 sevgihukuk dovecot: imap-login: Login: user=<emrah.sevgi@domain>, method=PLAIN, rip=::1, lip=::1, mpid=20245, secured, session=<cPlnlDtZ9AAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 10:55:11 sevgihukuk dovecot: imap(emrah.sevgi@domain): Disconnected: Logged out in=50 out=475
    Sep 15 10:56:11 sevgihukuk dovecot: imap-login: Login: user=<emrah.sevgi@domain>, method=PLAIN, rip=::1, lip=::1, mpid=20351, secured, session=<Lqb7lztZ9gAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 10:56:11 sevgihukuk dovecot: imap(emrah.sevgi@domain): Disconnected: Logged out in=50 out=475
    Sep 15 10:57:03 sevgihukuk postfix/qmgr[11227]: 27B3C1C1EC: from=<root@sevgihukukdotdomain>, size=2918, nrcpt=1 (queue active)
    Sep 15 10:57:03 sevgihukuk postfix/smtp[20445]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Sep 15 10:57:03 sevgihukuk postfix/smtp[20445]: 27B3C1C1EC: to=<[email protected]>, orig_to=<root@localhost>, relay=none, delay=113805, delays=113805/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Sep 15 10:57:11 sevgihukuk dovecot: imap-login: Login: user=<emrah.sevgi@domain>, method=PLAIN, rip=::1, lip=::1, mpid=20462, secured, session=<UPSOmztZ/AAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 10:57:11 sevgihukuk dovecot: imap(emrah.sevgi@domain): Disconnected: Logged out in=50 out=475
    Sep 15 10:58:11 sevgihukuk dovecot: imap-login: Login: user=<emrah.sevgi@domain>, method=PLAIN, rip=::1, lip=::1, mpid=20572, secured, session=<U/UinztZ/gAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 10:58:11 sevgihukuk dovecot: imap(emrah.sevgi@domain): Disconnected: Logged out in=50 out=475
    Sep 15 10:59:11 sevgihukuk dovecot: imap-login: Login: user=<emrah.sevgi@domain>, method=PLAIN, rip=::1, lip=::1, mpid=20687, secured, session=<Kmy2ojtZAAAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 10:59:11 sevgihukuk dovecot: imap(emrah.sevgi@domain): Disconnected: Logged out in=50 out=475
    Sep 15 10:59:36 sevgihukuk clamd[862]: SelfCheck: Database status OK.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The amavis daemon is not running. Start amavisd.
     
    emrah likes this.
  3. emrah

    emrah New Member

    thanks for your the fastest answer. I tried and get this message.

    [root@sevgihukuk ~]# [root@sevgihukuk ~]# systemctl start amavisd.service
    [root@sevgihukuk ~]# Job for amavisd.service failed because the control process exited with error cod e. See "systemctl status amavisd.service" and "journalctl -xe" for details.

    Then I look journalctl -xe.

    [root@sevgihukuk ~]# journalctl -xe
    Code:
    Sep 15 11:31:07 sevgihukuk.emrahsevgi.av.tr systemd[1]: Failed to start Amavisd-
    -- Subject: Unit amavisd.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit amavisd.service has failed.
    --
    -- The result is failed.
    Sep 15 11:31:07 sevgihukuk.emrahsevgi.av.tr systemd[1]: Unit amavisd.service ent
    Sep 15 11:31:07 sevgihukuk.emrahsevgi.av.tr systemd[1]: amavisd.service failed.
    Sep 15 11:31:08 sevgihukuk.emrahsevgi.av.tr systemd[1]: amavisd.service holdoff
    Sep 15 11:31:08 sevgihukuk.emrahsevgi.av.tr systemd[1]: Cannot add dependency jo
    Sep 15 11:31:08 sevgihukuk.emrahsevgi.av.tr systemd[1]: start request repeated t
    Sep 15 11:31:08 sevgihukuk.emrahsevgi.av.tr systemd[1]: Failed to start Amavisd-
    -- Subject: Unit amavisd.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit amavisd.service has failed.
    --
    -- The result is failed.
    Sep 15 11:31:08 sevgihukuk.emrahsevgi.av.tr systemd[1]: Unit amavisd.service ent
    Sep 15 11:31:08 sevgihukuk.emrahsevgi.av.tr systemd[1]: amavisd.service failed.
    lines 2956-2978/2978 (END)
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Take a look into the /var/log/maillog file to find the reason. A common reason is that the hostname of the server is not set properly.
     
  5. emrah

    emrah New Member

    I looked. then:
    Code:
    Sep 15 11:56:12 sevgihukuk dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=28107, secured, session=<QxuZbjxZxAAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 11:56:12 sevgihukuk dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475
    Sep 15 11:56:16 sevgihukuk clamd[862]: Database correctly reloaded (6303637 signatures)
    Sep 15 11:57:03 sevgihukuk postfix/qmgr[11227]: EFD831C1E0: from=<[email protected]>, size=542, nrcpt=1 (queue active)
    Sep 15 11:57:03 sevgihukuk postfix/qmgr[11227]: F26271C1CE: from=<[email protected]>, size=560, nrcpt=1 (queue active)
    Sep 15 11:57:03 sevgihukuk postfix/smtp[28197]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Sep 15 11:57:03 sevgihukuk postfix/smtp[28200]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Sep 15 11:57:03 sevgihukuk postfix/smtp[28197]: EFD831C1E0: to=<[email protected]>, relay=none, delay=155822, delays=155822/0.23/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Sep 15 11:57:03 sevgihukuk postfix/smtp[28200]: F26271C1CE: to=<[email protected]>, relay=none, delay=164179, delays=164179/0.24/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Sep 15 11:57:11 sevgihukuk dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=28215, secured, session=<ljYqcjxZzgAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 11:57:11 sevgihukuk dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475
    Sep 15 11:58:11 sevgihukuk dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=28321, secured, session=<d6O9dTxZ0AAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 11:58:11 sevgihukuk dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475
    Sep 15 11:59:11 sevgihukuk dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=28444, secured, session=<jDZReTxZ0gAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 11:59:11 sevgihukuk dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475
    Sep 15 12:00:02 sevgihukuk dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<GudXfDxZ3AAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 12:00:02 sevgihukuk dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=</vtXfDxZMAAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 12:00:02 sevgihukuk postfix/smtpd[28604]: connect from localhost[::1]
    Sep 15 12:00:02 sevgihukuk postfix/smtpd[28604]: lost connection after CONNECT from localhost[::1]
    Sep 15 12:00:02 sevgihukuk postfix/smtpd[28604]: disconnect from localhost[::1]
    Sep 15 12:00:11 sevgihukuk dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=28628, secured, session=<StXkfDxZ4gAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 12:00:11 sevgihukuk dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475
    Sep 15 12:01:11 sevgihukuk dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=28759, secured, session=<bIF4gDxZ5AAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 12:01:11 sevgihukuk dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475
    Sep 15 12:02:11 sevgihukuk dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=28869, secured, session=<HmcMhDxZ5gAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 12:02:11 sevgihukuk dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475
    Sep 15 12:03:11 sevgihukuk dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=28982, secured, session=<OxaghzxZ6AAAAAAAAAAAAAAAAAAAAAAB>
    Sep 15 12:03:11 sevgihukuk dovecot: imap([email protected]): Disconnected: Logged out in=50 out=475
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Amavis was not restarted in the time period that you posted from the log. Restart amavis, then get the last part of the log with tail and post it:

    systemctl start amavisd.service
    tail -n 100 /var/log/maillog
     
    emrah likes this.
  7. emrah

    emrah New Member

    Ok. I done that. I attached log.
     

    Attached Files:

  8. emrah

    emrah New Member

    I can not find a reason for this issue :(
     
  9. emrah

    emrah New Member

    I am reinstalling. Thanks for your help.
     
  10. It would have been interesting to see your postconf
     
  11. emrah

    emrah New Member

    Nothing changed. I can not send recive
     
  12. ztk.me

    ztk.me Well-Known Member HowtoForge Supporter

    well, what are you doing then?
    I checked your attached log btw. it was not showing any information about amavis restarting, so no way to see issues.

    make sure that
    $cat /etc/mailname

    shows your FQDN for your host.

    Maybe you need to check selinux? Open that port for 127.0.0.1 maybe? Dunno, I just remember centos/redhat does some strict default firewalling usually.

    But really, please try to restart amavis and then check the logs aswell - maybe syslog, too.

    Maybe increase debug level in amavis conf.d/debug.conf file, simply put
    $log_level = 5;

    in before you restart.
     

Share This Page