Email dont working - ISPConfig

Discussion in 'Installation/Configuration' started by Tevez, Apr 20, 2018.

  1. Tevez

    Tevez New Member

    Hi,
    I install a web server in my VPS, following the tut "Perfect Server", but for some reason, I can't connect from roundcube (The connection to IMAP server failed) and outlook, dont find automaticly the server config, like other emails I have.

    I try to configure manually in outlook, no luck.

    I don't know if I miss something or not.

    This is the config on my provider, all pointing to IP of VPS.
    My website (diogoesteves.pt) working fine, and FTP to.
    upload_2018-4-20_14-37-24.png


    Anything you need, I send, but I need to understand what I possibly do wrong.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Take look into the mail.log file to find out why the dovecot login fails.
     
  3. Tevez

    Tevez New Member

    Last attempts:

    Apr 20 13:45:01 diogoesteves postfix/smtpd[20463]: connect from localhost[127.0.0.1]
    Apr 20 13:45:01 diogoesteves postfix/smtpd[20463]: lost connection after CONNECT from localhost[127.0.0.1]
    Apr 20 13:45:01 diogoesteves postfix/smtpd[20463]: disconnect from localhost[127.0.0.1] commands=0/0
    Apr 20 13:45:16 diogoesteves postfix/anvil[20320]: statistics: max connection rate 1/60s for (smtp:80.147.168.27) at Apr 20 13:41:56
    Apr 20 13:45:16 diogoesteves postfix/anvil[20320]: statistics: max connection count 1 for (smtp:80.147.168.27) at Apr 20 13:41:56
    Apr 20 13:45:16 diogoesteves postfix/anvil[20320]: statistics: max cache size 1 at Apr 20 13:41:56
    Apr 20 13:47:42 diogoesteves postfix/smtpd[20514]: warning: hostname ci96.122-43.netnam.vn does not resolve to address 101.96.122.43: Name or service not known
    Apr 20 13:47:42 diogoesteves postfix/smtpd[20514]: connect from unknown[101.96.122.43]
    Apr 20 13:47:43 diogoesteves postfix/smtpd[20514]: disconnect from unknown[101.96.122.43] helo=1 auth=0/1 quit=1 commands=2/3
    Apr 20 13:50:02 diogoesteves postfix/smtpd[20641]: connect from localhost[127.0.0.1]
    Apr 20 13:50:02 diogoesteves postfix/smtpd[20641]: lost connection after CONNECT from localhost[127.0.0.1]
    Apr 20 13:50:02 diogoesteves postfix/smtpd[20641]: disconnect from localhost[127.0.0.1] commands=0/0
    Apr 20 13:51:03 diogoesteves postfix/anvil[20516]: statistics: max connection rate 1/60s for (smtp:101.96.122.43) at Apr 20 13:47:42
    Apr 20 13:51:03 diogoesteves postfix/anvil[20516]: statistics: max connection count 1 for (smtp:101.96.122.43) at Apr 20 13:47:42
    Apr 20 13:51:03 diogoesteves postfix/anvil[20516]: statistics: max cache size 1 at Apr 20 13:47:42
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to login to roundcube with an account that you created in ISPConfig, then check the mail.log to see which errors got logged there for the failed login.
     
  5. Tevez

    Tevez New Member

    I have this:
    upload_2018-4-20_15-37-8.png
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, so dovecot is not starting at all. Take a look in the mail.log to find out why it fails to start.
     
  7. Tevez

    Tevez New Member

    I reinstal postfix and dovecot and now, the problem is I cant, by roundcube do login. I just dont have any error. And dovecot is running

    MAIL LOG:
    Apr 20 15:23:34 diogoesteves dovecot: imap-login: Disconnected (auth failed, 1 attempts in 4 secs): user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured, session=<SUJERUlq9sV/AAAB>
     
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    The reinstall removed the whole mail server configuration, so the system can not work anymore. You will have to do in ISPConfig update now with reconfigure services = yes to fix the broken configuration. And in case that dovecot does not start again afterwards, then follow my suggestion and look at the log file to find out why, a reinstall like you did it just makes things worse in most cases.
     
  9. Tevez

    Tevez New Member

  10. till

    till Super Moderator Staff Member ISPConfig Developer

    create an email account in ispconfig, login to webmail on the server with this account and send an email to the exact same address that you used for the webmail login. wait a minute and then check if the mail shows up in the inbox in webmail. If not, check the mail.log file for errors that occurred during mail sending from webmail.
     
  11. Tevez

    Tevez New Member

    I do what you said, and no email and no error.
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    There must be something in the log for the email sending process, please check again.
     
  13. Tevez

    Tevez New Member

    Code:
    Apr 23 15:48:28 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17263, secured, session=<cBsJ+IVqAsp/AAAB>
    Apr 23 15:48:28 coredesignz dovecot: imap([email protected]): Logged out in=70 out=743
    Apr 23 15:48:28 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17265, secured, session=<27wM+IVqBMp/AAAB>
    Apr 23 15:48:28 coredesignz dovecot: imap([email protected]): Logged out in=50 out=484
    Apr 23 15:48:28 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17267, secured, session=<1ZQU+IVqBsp/AAAB>
    Apr 23 15:48:28 coredesignz dovecot: imap([email protected]): Logged out in=76 out=525
    Apr 23 15:48:28 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17269, secured, session=<Kc4V+IVqCMp/AAAB>
    Apr 23 15:48:28 coredesignz dovecot: imap([email protected]): Logged out in=120 out=876
    Apr 23 15:48:32 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17271, secured, session=<hktR+IVqCsp/AAAB>
    Apr 23 15:48:32 coredesignz dovecot: imap([email protected]): Logged out in=472 out=2264
    Apr 23 15:48:33 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17273, secured, session=<Z/la+IVqDMp/AAAB>
    Apr 23 15:48:33 coredesignz dovecot: imap([email protected]): Logged out in=32 out=464
    Apr 23 15:48:33 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17275, secured, session=<601c+IVqDsp/AAAB>
    Apr 23 15:48:33 coredesignz dovecot: imap([email protected]): Logged out in=44 out=702
    Apr 23 15:48:44 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17284, secured, session=<VLgI+YVqEMp/AAAB>
    Apr 23 15:48:44 coredesignz postfix/pickup[9941]: CFFA14178C: uid=33 from=<[email protected]>
    Apr 23 15:48:44 coredesignz postfix/cleanup[17281]: CFFA14178C: message-id=<[email protected]>
    Apr 23 15:48:44 coredesignz postfix/qmgr[9942]: CFFA14178C: from=<[email protected]>, size=520, nrcpt=1 (queue active)
    Apr 23 15:48:44 coredesignz postfix/smtp[17286]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Apr 23 15:48:44 coredesignz postfix/smtp[17286]: CFFA14178C: to=<[email protected]>, relay=none, delay=0.06, delays=0.05/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Apr 23 15:48:44 coredesignz dovecot: imap([email protected]): Logged out in=456 out=619
    Apr 23 15:48:45 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17289, secured, session=<JlAT+YVqGMp/AAAB>
    Apr 23 15:48:45 coredesignz dovecot: imap([email protected]): Logged out in=70 out=743
    Apr 23 15:48:46 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17291, secured, session=<6bUc+YVqGsp/AAAB>
    Apr 23 15:48:46 coredesignz dovecot: imap([email protected]): Logged out in=76 out=525
    Apr 23 15:48:46 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17293, secured, session=<wdkd+YVqHMp/AAAB>
    Apr 23 15:48:46 coredesignz dovecot: imap([email protected]): Logged out in=120 out=876
    Apr 23 15:49:20 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17377, secured, session=<VYkk+4VqHsp/AAAB>
    Apr 23 15:49:20 coredesignz dovecot: imap([email protected]): Logged out in=472 out=2264
    Apr 23 15:49:20 coredesignz dovecot: imap-login: Login: user=<[email protected]iogoesteves.pt>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17379, secured, session=<sfEs+4VqIMp/AAAB>
    Apr 23 15:49:20 coredesignz dovecot: imap([email protected]): Logged out in=472 out=2264
    
     
  14. Tevez

    Tevez New Member

    Code:
    Apr 23 15:49:20 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17381, secured, session=<Dqov+4VqIsp/AAAB>
    Apr 23 15:49:20 coredesignz dovecot: imap([email protected]): Logged out in=472 out=2264
    Apr 23 15:49:21 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17383, secured, session=<fU0y+4VqJMp/AAAB>
    Apr 23 15:49:21 coredesignz dovecot: imap([email protected]): Logged out in=472 out=2264
    Apr 23 15:49:21 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17385, secured, session=</f00+4VqJsp/AAAB>
    Apr 23 15:49:21 coredesignz dovecot: imap([email protected]): Logged out in=472 out=2264
    Apr 23 15:49:21 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17387, secured, session=<RY03+4VqKMp/AAAB>
    Apr 23 15:49:21 coredesignz dovecot: imap([email protected]): Logged out in=472 out=2264
    Apr 23 15:49:28 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17389, secured, session=<uvuf+4VqKsp/AAAB>
    Apr 23 15:49:28 coredesignz dovecot: imap([email protected]): Logged out in=50 out=484
    Apr 23 15:49:46 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17396, secured, session=<u3Ox/IVqLMp/AAAB>
    Apr 23 15:49:46 coredesignz dovecot: imap([email protected]): Logged out in=50 out=484
    Apr 23 15:50:02 coredesignz dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<I6+m/YVqJKR/AAAB>
    Apr 23 15:50:02 coredesignz dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<JAmn/YVqNMp/AAAB>
    Apr 23 15:50:02 coredesignz postfix/smtpd[17528]: connect from localhost[127.0.0.1]
    Apr 23 15:50:02 coredesignz postfix/smtpd[17528]: lost connection after CONNECT from localhost[127.0.0.1]
    Apr 23 15:50:02 coredesignz postfix/smtpd[17528]: disconnect from localhost[127.0.0.1] commands=0/0
    Apr 23 15:50:28 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17535, secured, session=<iRY0/4VqOMp/AAAB>
    Apr 23 15:50:28 coredesignz dovecot: imap([email protected]): Logged out in=50 out=484
    Apr 23 15:50:46 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17539, secured, session=<5nRHAIZqOsp/AAAB>
    Apr 23 15:50:46 coredesignz dovecot: imap([email protected]): Logged out in=50 out=484
    Apr 23 15:51:28 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17628, secured, session=<PyvIAoZqPMp/AAAB>
    Apr 23 15:51:28 coredesignz dovecot: imap([email protected]): Logged out in=50 out=484
    Apr 23 15:51:44 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17632, secured, session=<k5TDA4ZqPsp/AAAB>
    Apr 23 15:51:44 coredesignz dovecot: imap([email protected]): Logged out in=472 out=2264
    Apr 23 15:51:46 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17634, secured, session=<0U3bA4ZqQMp/AAAB>
    Apr 23 15:51:46 coredesignz dovecot: imap([email protected]): Logged out in=50 out=484
    Apr 23 15:52:28 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17729, secured, session=<JvZaBoZqQsp/AAAB>
    Apr 23 15:52:28 coredesignz dovecot: imap([email protected]): Logged out in=50 out=484
    Apr 23 15:52:46 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17733, secured, session=<dSZvB4ZqRMp/AAAB>
    Apr 23 15:52:46 coredesignz dovecot: imap([email protected]): Logged out in=50 out=484
    Apr 23 15:53:46 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17824, secured, session=<Dc0BC4ZqRsp/AAAB>
    Apr 23 15:53:46 coredesignz dovecot: imap([email protected]): Logged out in=50 out=484
    Apr 23 15:54:46 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=17910, secured, session=<TmSVDoZqSMp/AAAB>
    Apr 23 15:54:46 coredesignz dovecot: imap([email protected]): Logged out in=50 out=484
    Apr 23 15:54:56 coredesignz postfix/qmgr[9942]: CFFA14178C: from=<[email protected]>, size=520, nrcpt=1 (queue active)
    Apr 23 15:54:56 coredesignz postfix/smtp[17911]: connect to 127.0.0.1[127.0.0.1]:10024: Connection refused
    Apr 23 15:54:56 coredesignz postfix/smtp[17911]: CFFA14178C: to=<[email protected]>, relay=none, delay=372, delays=372/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10024: Connection refused)
    Apr 23 15:55:01 coredesignz dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<H/Z/D4ZqRKR/AAAB>
    Apr 23 15:55:01 coredesignz dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session=<ni6AD4ZqVMp/AAAB>
    Apr 23 15:55:01 coredesignz postfix/smtpd[18044]: connect from localhost[127.0.0.1]
    Apr 23 15:55:01 coredesignz postfix/smtpd[18044]: lost connection after CONNECT from localhost[127.0.0.1]
    Apr 23 15:55:01 coredesignz postfix/smtpd[18044]: disconnect from localhost[127.0.0.1] commands=0/0
    Apr 23 15:55:46 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=18053, secured, session=<IV8pEoZqWMp/AAAB>
    Apr 23 15:55:46 coredesignz dovecot: imap([email protected]): Logged out in=50 out=484
    Apr 23 15:56:46 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=18139, secured, session=<aiG8FYZqWsp/AAAB>
    Apr 23 15:56:46 coredesignz dovecot: imap([email protected]): Logged out in=50 out=484
    Apr 23 15:57:46 coredesignz dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=18225, secured, session=<BXJQGYZqXMp/AAAB>
    Apr 23 15:57:46 coredesignz dovecot: imap([email protected]): Logged out in=50 out=484
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    Amavis is not started. Start the amavis service. If it doesn't start, then it might be that your hostname is set up wrong.
     
  16. Tevez

    Tevez New Member

  17. till

    till Super Moderator Staff Member ISPConfig Developer

    The error already tells you what you can do and the mail.log will also show you why it can't start.
     
  18. Tevez

    Tevez New Member

    Code:
    Apr 23 16:13:15 coredesignz amavis[20457]: starting. /usr/sbin/amavisd-new at coredesignz.blazingfast.io amavisd-new-2.10.1 (20141025), Unicode aware, LC_ALL="C", LANG="en_US.UTF-8"
    Apr 23 16:13:16 coredesignz amavis[20457]: (!)Net::Server: 2018/04/23-16:13:16 Couldn't fork: [Cannot allocate memory] at /usr/share/perl5/Net/Server/Daemonize.pm line 182.\n\n  at line 158 in file /usr/share/perl5/Net/Server.pm
    Apr 23 16:13:17 coredesignz postfix/scache[20033]: statistics: start interval Apr 23 16:09:57
    Apr 23 16:13:17 coredesignz postfix/scache[20033]: statistics: domain lookup hits=0 miss=2 success=0%
    
     
  19. Tevez

    Tevez New Member

    coredesignz.blazingfast.io is not the domain, but diogoesteves.pt
     
  20. till

    till Super Moderator Staff Member ISPConfig Developer

    The problem seems to be memory, your server has not enough RAM. How much ram does it has?
     

Share This Page