ispconfig 3 nginx incoming email not arriving

Discussion in 'Installation/Configuration' started by ariban99, Jun 23, 2015.

  1. ariban99

    ariban99 Member

    Hi,
    I followed this tutorial exactly https://www.howtoforge.com/perfect-server-centos-7-x86_64-nginx-dovecot-ispconfig-3-p2 and everything is working great!
    I can even send emails out to my personal gmail account from my server.
    however when i try to send from my gmail back to the server (to the account i set up in ispconfig) the email never arrives.
    i dont know why nor what to do. the domain name is wellspringsoflife.com and i am trying to email [email protected]

    any advice or help would be greatly appreciated.

    thank you
    Ben
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please take a look into the /var/log/maillog file if you find any error there after you send a email from gmail.
     
  3. ariban99

    ariban99 Member

    here are the results:
    [binyamin@server1 ~]$ tail -n40 /var/log/maillog
    Jun 23 08:08:04 server1 amavis[2533]: Found decoder for .cab at /usr/bin/cabextract
    Jun 23 08:08:04 server1 amavis[2533]: Internal decoder for .tnef
    Jun 23 08:08:04 server1 amavis[2533]: Found decoder for .zip at /usr/bin/7za
    Jun 23 08:08:04 server1 amavis[2533]: Found decoder for .kmz at /usr/bin/7za
    Jun 23 08:08:04 server1 amavis[2533]: Found decoder for .7z at /usr/bin/7za
    Jun 23 08:08:04 server1 amavis[2533]: Found decoder for .jar at /usr/bin/7z
    Jun 23 08:08:04 server1 amavis[2533]: Found decoder for .rar at /usr/bin/7z
    Jun 23 08:08:04 server1 amavis[2533]: Found decoder for .swf at /usr/bin/7z
    Jun 23 08:08:04 server1 amavis[2533]: Found decoder for .lha at /usr/bin/7z
    Jun 23 08:08:04 server1 amavis[2533]: Found decoder for .iso at /usr/bin/7z
    Jun 23 08:08:04 server1 amavis[2533]: Found decoder for .exe at /usr/bin/unarj
    Jun 23 08:08:04 server1 amavis[2533]: No decoder for .lz4
    Jun 23 08:08:04 server1 amavis[2533]: Using primary internal av scanner code for ClamAV-clamd
    Jun 23 08:08:04 server1 amavis[2533]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
    Jun 23 08:08:04 server1 amavis[2533]: Deleting db files __db.001,__db.002,__db.003,snmp.db,nanny.db in /var/spool/amavisd/db
    Jun 23 08:08:04 server1 amavis[2533]: Creating db in /var/spool/amavisd/db/; BerkeleyDB 0.51, libdb 5.3
    Jun 23 08:08:08 server1 clamd[2014]: Loaded 3856742 signatures.
    Jun 23 08:08:09 server1 clamd[2014]: LOCAL: Unix socket file /var/run/clamd.amavisd/clamd.sock
    Jun 23 08:08:09 server1 clamd[2014]: LOCAL: Setting connection queue length to 200
    Jun 23 08:08:09 server1 clamd[2014]: Limits: Global size limit set to 104857600 bytes.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: File size limit set to 26214400 bytes.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: Recursion level limit set to 16.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: Files limit set to 10000.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: MaxEmbeddedPE limit set to 10485760 bytes.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: MaxHTMLNormalize limit set to 10485760 bytes.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: MaxHTMLNoTags limit set to 2097152 bytes.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: MaxScriptNormalize limit set to 5242880 bytes.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: MaxZipTypeRcg limit set to 1048576 bytes.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: MaxPartitions limit set to 50.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: MaxIconsPE limit set to 100.
    Jun 23 08:08:09 server1 clamd[2014]: Archive support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: Algorithmic detection enabled.
    Jun 23 08:08:09 server1 clamd[2014]: Portable Executable support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: ELF support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: Mail files support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: OLE2 support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: PDF support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: SWF support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: HTML support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: Self checking every 600 seconds.
     
  4. ariban99

    ariban99 Member

    I also dont get any returned message in gmail saying that the message wasnt delivered!
    can it have anything to do with my dns setting?
    these are my setting
    A ipv4.wellspringsoflife.com. 50.138.64.164 0 86400

    A
    mail.wellspringsoflife.com. 50.138.64.164 0 3600

    A
    ns1 50.138.64.164 0 86400

    A
    ns1.wellspringsoflife.com. 50.138.64.164 0 86400

    A
    ns2 50.138.64.164 0 86400

    A
    server1.wellspringsoflife.com. 50.138.64.164 0 86400

    A
    webmail.wellspringsoflife.com. 50.138.64.164 0 86400

    A
    wellspringsoflife.com. 50.138.64.164 0 3600

    A
    www 50.138.64.164 0 3600

    CNAME
    ftp.wellspringsoflife.com. wellspringsoflife.com. 0 86400

    MX
    wellspringsoflife.com. mail.wellspringsoflife.com. 10 3600

    NS
    wellspringsoflife.com. ns1.wellspringsoflife.com. 0 3600

    NS
    wellspringsoflife.com. ns2.wellspringsoflife.com. 0 3600

    PTR
    mail.wellspringsoflife.com c-50-138-64-164.hsd1.fl.comcast.net. 0 86400

    TXT
    wellspringsoflife.com. "v=spf1 a mx ptr ip4:50.138.64.164 -all" 0 86400

    i am using comcast xfinity internet for my house. can that be causing something? for sending emails which works, during the install of roundcube i added the smtp.comcast.net and put my comcast username and password using port 587 so sending emails works just fine but not receiving!
     
  5. ariban99

    ariban99 Member

    here are the logs after login into roundcube to see if my email came in from gmail:
    tail -n40 /var/log/maillog
    Jun 23 08:08:04 server1 amavis[2533]: Found decoder for .cab at /usr/bin/cabextract
    Jun 23 08:08:04 server1 amavis[2533]: Internal decoder for .tnef
    Jun 23 08:08:04 server1 amavis[2533]: Found decoder for .zip at /usr/bin/7za
    Jun 23 08:08:04 server1 amavis[2533]: Found decoder for .kmz at /usr/bin/7za
    Jun 23 08:08:04 server1 amavis[2533]: Found decoder for .7z at /usr/bin/7za
    Jun 23 08:08:04 server1 amavis[2533]: Found decoder for .jar at /usr/bin/7z
    Jun 23 08:08:04 server1 amavis[2533]: Found decoder for .rar at /usr/bin/7z
    Jun 23 08:08:04 server1 amavis[2533]: Found decoder for .swf at /usr/bin/7z
    Jun 23 08:08:04 server1 amavis[2533]: Found decoder for .lha at /usr/bin/7z
    Jun 23 08:08:04 server1 amavis[2533]: Found decoder for .iso at /usr/bin/7z
    Jun 23 08:08:04 server1 amavis[2533]: Found decoder for .exe at /usr/bin/unarj
    Jun 23 08:08:04 server1 amavis[2533]: No decoder for .lz4
    Jun 23 08:08:04 server1 amavis[2533]: Using primary internal av scanner code for ClamAV-clamd
    Jun 23 08:08:04 server1 amavis[2533]: Found secondary av scanner ClamAV-clamscan at /usr/bin/clamscan
    Jun 23 08:08:04 server1 amavis[2533]: Deleting db files __db.001,__db.002,__db.003,snmp.db,nanny.db in /var/spool/amavisd/db
    Jun 23 08:08:04 server1 amavis[2533]: Creating db in /var/spool/amavisd/db/; BerkeleyDB 0.51, libdb 5.3
    Jun 23 08:08:08 server1 clamd[2014]: Loaded 3856742 signatures.
    Jun 23 08:08:09 server1 clamd[2014]: LOCAL: Unix socket file /var/run/clamd.amavisd/clamd.sock
    Jun 23 08:08:09 server1 clamd[2014]: LOCAL: Setting connection queue length to 200
    Jun 23 08:08:09 server1 clamd[2014]: Limits: Global size limit set to 104857600 bytes.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: File size limit set to 26214400 bytes.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: Recursion level limit set to 16.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: Files limit set to 10000.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: MaxEmbeddedPE limit set to 10485760 bytes.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: MaxHTMLNormalize limit set to 10485760 bytes.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: MaxHTMLNoTags limit set to 2097152 bytes.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: MaxScriptNormalize limit set to 5242880 bytes.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: MaxZipTypeRcg limit set to 1048576 bytes.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: MaxPartitions limit set to 50.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: MaxIconsPE limit set to 100.
    Jun 23 08:08:09 server1 clamd[2014]: Archive support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: Algorithmic detection enabled.
    Jun 23 08:08:09 server1 clamd[2014]: Portable Executable support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: ELF support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: Mail files support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: OLE2 support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: PDF support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: SWF support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: HTML support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: Self checking every 600 seconds.
    [binyamin@server1 ~]$ tail -n40 /var/log/maillog
    Jun 23 08:08:09 server1 clamd[2014]: LOCAL: Unix socket file /var/run/clamd.amavisd/clamd.sock
    Jun 23 08:08:09 server1 clamd[2014]: LOCAL: Setting connection queue length to 200
    Jun 23 08:08:09 server1 clamd[2014]: Limits: Global size limit set to 104857600 bytes.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: File size limit set to 26214400 bytes.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: Recursion level limit set to 16.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: Files limit set to 10000.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: MaxEmbeddedPE limit set to 10485760 bytes.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: MaxHTMLNormalize limit set to 10485760 bytes.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: MaxHTMLNoTags limit set to 2097152 bytes.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: MaxScriptNormalize limit set to 5242880 bytes.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: MaxZipTypeRcg limit set to 1048576 bytes.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: MaxPartitions limit set to 50.
    Jun 23 08:08:09 server1 clamd[2014]: Limits: MaxIconsPE limit set to 100.
    Jun 23 08:08:09 server1 clamd[2014]: Archive support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: Algorithmic detection enabled.
    Jun 23 08:08:09 server1 clamd[2014]: Portable Executable support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: ELF support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: Mail files support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: OLE2 support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: PDF support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: SWF support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: HTML support enabled.
    Jun 23 08:08:09 server1 clamd[2014]: Self checking every 600 seconds.
    Jun 23 08:10:01 server1 dovecot: imap-login: Disconnected (disconnected before auth was ready, waited 0 secs): user=<>, rip=::1, lip=::1, secured, session=<LeAXRS4ZMAAAAAAAAAAAAAAAAAAAAAAB>
    Jun 23 08:10:02 server1 dovecot: pop3-login: Disconnected (no auth attempts in 1 secs): user=<>, rip=::1, lip=::1, secured, session=<FlAaRS4ZJwAAAAAAAAAAAAAAAAAAAAAB>
    Jun 23 08:10:02 server1 postfix/smtpd[2615]: connect from localhost[::1]
    Jun 23 08:10:02 server1 postfix/smtpd[2615]: lost connection after CONNECT from localhost[::1]
    Jun 23 08:10:02 server1 postfix/smtpd[2615]: disconnect from localhost[::1]
    Jun 23 08:14:35 server1 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=2833, secured, session=<6ERiVS4ZOAAAAAAAAAAAAAAAAAAAAAAB>
    Jun 23 08:14:35 server1 dovecot: imap([email protected]): Disconnected: Logged out in=82 out=498
    Jun 23 08:14:35 server1 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=2836, secured, session=<1j9nVS4ZOgAAAAAAAAAAAAAAAAAAAAAB>
    Jun 23 08:14:35 server1 dovecot: imap([email protected]): Disconnected: Logged out in=70 out=582
    Jun 23 08:14:36 server1 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=2841, secured, session=<KVNwVS4ZPQAAAAAAAAAAAAAAAAAAAAAB>
    Jun 23 08:14:36 server1 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=2842, secured, session=<5nJwVS4ZPgAAAAAAAAAAAAAAAAAAAAAB>
    Jun 23 08:14:36 server1 dovecot: imap([email protected]): Disconnected: Logged out in=76 out=495
    Jun 23 08:14:36 server1 dovecot: imap([email protected]): Disconnected: Logged out in=233 out=891
    Jun 23 08:14:39 server1 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=2846, secured, session=<un6eVS4ZQAAAAAAAAAAAAAAAAAAAAAAB>
    Jun 23 08:14:39 server1 dovecot: imap([email protected]): Disconnected: Logged out in=74 out=494
    Jun 23 08:14:40 server1 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=::1, lip=::1, mpid=2849, secured, session=<ow2vVS4ZQgAAAAAAAAAAAAAAAAAAAAAB>
    Jun 23 08:14:40 server1 dovecot: imap([email protected]): Disconnected: Logged out in=76 out=495
     

Share This Page