email is not being received from a particular domain

Discussion in 'Installation/Configuration' started by Daniel Chung, Mar 26, 2021.

  1. Daniel Chung

    Daniel Chung New Member

    Error.PNG Hello,

    I've installed the perfect server on debian 10.

    For some reason I'm unable to receive emails from this one domain. The logs don't show anything out of the ordinary.

    I've attached a screenshot of my test email message.

    Any help would be greatly appreciated.

    I control both domains mail servers. I can confirm that the email is being delivered but not received.
     
    Last edited: Mar 26, 2021
  2. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    What do the logs show when a delivery fails? All the screenshot shows is a connect, there will be more after that.
     
  3. Daniel Chung

    Daniel Chung New Member

    Here's the out of the log file in text.


    Mar 25 20:52:57 domain dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=23340, secured, session=<UfDw82W+BOQAAAAAAAAAAAAAAAAAA$
    Mar 25 20:52:57 domain dovecot: imap([email protected])<23340><UfDw82W+BOQAAAAAAAAAAAAAAAAAAAAB>: Logged out in=119 out=1067 deleted=0 expunged=0 trashed=0 hdr_count=0 $
    Mar 25 20:53:36 domain postfix/smtps/smtpd[19509]: connect from unknown[212.70.149.71]
    Mar 25 20:53:57 domain dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=23356, secured, session=<qIuD92W+BuQAAAAAAAAAAAAAAAAAA$
    Mar 25 20:53:57 domain dovecot: imap([email protected])<23356><qIuD92W+BuQAAAAAAAAAAAAAAAAAAAAB>: Logged out in=119 out=1067 deleted=0 expunged=0 trashed=0 hdr_count=0 $
    Mar 25 20:54:14 domain postfix/smtps/smtpd[19509]: warning: unknown[212.70.149.71]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
    Mar 25 20:54:19 domain postfix/smtps/smtpd[19509]: lost connection after AUTH from unknown[212.70.149.71]
    Mar 25 20:54:19 domain postfix/smtps/smtpd[19509]: disconnect from unknown[212.70.149.71] ehlo=1 auth=0/1 rset=1 commands=2/3
    Mar 25 20:54:56 domain dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=23372, secured, session=<00kU+2W+COQAAAAAAAAAAAAAAAAAA$
    Mar 25 20:54:56 domain dovecot: imap([email protected])<23372><00kU+2W+COQAAAAAAAAAAAAAAAAAAAAB>: Logged out in=119 out=1067 deleted=0 expunged=0 trashed=0 hdr_count=0 $
    Mar 25 20:55:02 domain dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<CFdk+2W+EuQAAAAAAAAAAAAAAAAAAAAB>
    Mar 25 20:55:02 domain dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<N2xk+2W+bocAAAAAAAAAAAAAAAAAAAAB>
    Mar 25 20:55:02 domain postfix/smtpd[23466]: connect from localhost[::1]
    Mar 25 20:55:02 domain postfix/smtpd[23466]: lost connection after CONNECT from localhost[::1]
    Mar 25 20:55:02 domain postfix/smtpd[23466]: disconnect from localhost[::1] commands=0/0
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Please post logs in CODE tags.
    What log file is in #3? It still has no emails going in or out.
    My signature has link to e-mail tutorial, maybe that helps?
     
  5. Daniel Chung

    Daniel Chung New Member

    Emails are going in and out fine except for this one domain.

    Mail from example.com aren't being received by the server.
     
  6. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    there is no indication of any connection from example.com. the only smtp stuff being logged there is failed login authentication,
    i assume from [email protected] since it's using the same ip.

    do those domains use the same mailserver? or different mailservers? what's the ip of each mailserver if different?
     
  7. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

    btw, it would be much easier for us to see if anything was misconfigured if you showed the real domain names (you can change the sender/recipient parts). there's little point in hiding the real mail domains like this.
     
  8. Daniel Chung

    Daniel Chung New Member

    The domains use different mail servers. Server1 =172.105.20.37 Server 2=209.200.10.197

    Sorry for the lack of info. This is my first time posting.
     
  9. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    I don't know if the logs you posted are from server 1 or 2, but neither ip shows in those logs, so there is not even an initial connection happening - look at network issues (firewalls, maybe nat or routing). Start with pinging each server from the other, then telnet on port 25 to ensure you can get a connection, and troubleshoot each hop of the network until you do. Once telnet connects, it will be reflected in the mail log, and probably email might work as well.
     

Share This Page