Skip to main content

e-mails delays exactly 4 minutes to be sent

Comments

4 comments

  • cPanelLauren
    HI @desytec Based on your profile I assume you have root access. If you could please when you send a mail check the following log files for information: /var/log/exim_mainlog /var/log/maillog
    The entire mail transaction should be present in the mainlog and may be helpful in determining why it's taking so much time. Also seeing how much mail is in the queue may be helpful as well: exim -bpc
    Thanks!
    0
  • desytec
    HI @example Based on your profile I assume you have root access. If you could please when you send a mail check the following log files for information: /var/log/exim_mainlog /var/log/maillog
    The entire mail transaction should be present in the mainlog and may be helpful in determining why it's taking so much time. Also seeing how much mail is in the queue may be helpful as well: exim -bpc
    Thanks!

    Hello, thanks for your reply. This is the part of "exim_mainlog" concerning a message that delayed to be sent: 2018-10-12 09:26:29 SMTP connection from [127.0.0.1]:58676 (TCP/IP connection count = 1) 2018-10-12 09:26:29 SMTP connection from (localhost) [127.0.0.1]:58676 closed by QUIT 2018-10-12 09:26:41 SMTP connection from [45.232.32.216]:3591 (TCP/IP connection count = 1) 2018-10-12 09:26:41 no host name found for IP address 45.232.32.216 2018-10-12 09:26:48 1gAwWk-0007Zy-J1 <= lean@example.cl H=(SkorpioX3) [45.232.32.216]:3591 P=esmtpa A=dovecot_login:lean@example.cl S=3810 T="Achivo generado por JASM?N TRINCADO en la tienda ALTO LAS CONDES con$ 2018-10-12 09:26:48 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1gAwWk-0007Zy-J1 2018-10-12 09:26:48 1gAwWk-0007Zy-J1 Sender identification U=example1 D=example.cl S=lean@example.cl 2018-10-12 09:26:48 1gAwWk-0007Zy-J1 SMTP connection outbound 1539347208 1gAwWk-0007Zy-J1 example.cl jvasquez@example2.cl 2018-10-12 09:26:49 SMTP connection from (SkorpioX3) [45.232.32.216]:3591 closed by QUIT 2018-10-12 09:26:49 1gAwWk-0007Zy-J1 Sender identification U=example1 D=example.cl S=lean@example.cl 2018-10-12 09:26:49 1gAwWk-0007Zy-J1 SMTP connection outbound 1539347209 1gAwWk-0007Zy-J1 example.cl jstuardo@example.com 2018-10-12 09:26:50 1gAwWk-0007Zy-J1 Sender identification U=example1 D=example.cl S=lean@example.cl 2018-10-12 09:26:50 1gAwWk-0007Zy-J1 SMTP connection outbound 1539347210 1gAwWk-0007Zy-J1 example.cl avasquez@example2.cl 2018-10-12 09:26:51 1gAwWk-0007Zy-J1 => jvasquez@example2.cl (inventarios_lean@example.cl) R=dkim_lookuphost T=dkim_remote_smtp H=aspmx.l.google.com [74.125.135.26] X=TLSv1.2:ECDHE-$ 2018-10-12 09:26:51 1gAwWk-0007Zy-J1 => avasquez@example2.cl (inventarios_lean@example.cl) R=dkim_lookuphost T=dkim_remote_smtp H=aspmx.l.google.com [74.125.142.27] X=TLSv1.2:ECDHE-$ 2018-10-12 09:26:51 1gAwWk-0007Zy-J1 => jstuardo@example.com (inventarios_lean@example.cl) R=dkim_lookuphost T=dkim_remote_smtp H=aspmx.l.google.com [74.125.135.26] X=TLSv1.2:ECDHE$ 2018-10-12 09:26:51 1gAwWk-0007Zy-J1 Completed 2018-10-12 09:30:03 cwd=/home/example1 9 args: /usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t -f root 2018-10-12 09:30:03 1gAwZv-0007bW-9L <= root@server.example.com U=example1 P=local S=756 T="Cron /usr/bin/php /home/example1/public_html/support/api/cron.php" for example1 2018-10-12 09:30:03 cwd=/var/spool/exim 4 args: /usr/sbin/exim -odi -Mc 1gAwZv-0007bW-9L 2018-10-12 09:30:04 1gAwZv-0007bW-9L => example1 R=localuser T=dovecot_delivery C="250 2.0.0 sIJFI8uTwFs5cgAADB7UoA Saved" 2018-10-12 09:30:04 1gAwZv-0007bW-9L Completed
    This is the "maillog" result around the time where the delayed mail occured: Oct 12 09:26:04 server dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29086, secured, session= Oct 12 09:26:04 server dovecot: imap(dummy@example.cl): Logged out in=120, out=1240, bytes=120/1240 Oct 12 09:26:08 server dovecot: imap(sleig@example.cl): Logged out in=324, out=1279, bytes=324/1279 Oct 12 09:26:08 server dovecot: imap(sleig@example.cl): Logged out in=309, out=1268, bytes=309/1268 Oct 12 09:26:20 server dovecot: pop3-login: Login: user=, method=PLAIN, rip=34.211.38.79, lip=50.116.xx.xxx, mpid=29089, session= Oct 12 09:26:20 server dovecot: pop3(inventarios_automate@example.cl): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0, bytes=12/43 Oct 12 09:26:27 server spamd[23912]: spamd: connection from localhost [::1]:38762 to port 783, fd 5 Oct 12 09:26:27 server dovecot: pop3-login: Aborted login (no auth attempts in 0 secs): user=<>, rip=127.0.0.1, lip=127.0.0.1, secured, session= Oct 12 09:26:28 server spamd[23408]: prefork: child states: I Oct 12 09:26:28 server dovecot: lmtp(29112): Connect from local Oct 12 09:26:28 server dovecot: lmtp(29112): Disconnect from local: Successful quit Oct 12 09:26:28 server dovecot: imap-login: Login: user=<__cpanel__service__auth__imap__hnepraejvk5m5ids21bsytm0sopboefrj6u8_nmk9kg29j...>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=29115, secured, sessi$ Oct 12 09:26:28 server dovecot: imap(__cpanel__service__auth__imap__hnepraejvk5m5ids21bsytm0sopboefrj6u8_nmk9kg29jlegkzkqdfosxzllusa): Logged out in=11, out=476, bytes=11/476 Oct 12 09:27:03 server dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29162, secured, session= Oct 12 09:27:03 server dovecot: imap(dummy@example.cl): Logged out in=120, out=1248, bytes=120/1248 Oct 12 09:28:03 server dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29175, secured, session= Oct 12 09:28:03 server dovecot: imap(dummy@example.cl): Logged out in=120, out=1248, bytes=120/1248 Oct 12 09:29:03 server dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29193, secured, session= Oct 12 09:29:03 server dovecot: imap(dummy@example.cl): Logged out in=120, out=1240, bytes=120/1240 Oct 12 09:30:02 server dovecot: pop3-login: Login: user=, method=PLAIN, rip=50.116.xx.xxx, lip=50.116.xx.xxx, mpid=29231, TLS, session= Oct 12 09:30:03 server dovecot: pop3(support@example.cl): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0, bytes=30/133 Oct 12 09:30:03 server dovecot: pop3-login: Login: user=, method=PLAIN, rip=50.116.xx.xxx, lip=50.116.xx.xxx, mpid=29232, TLS, session= Oct 12 09:30:03 server dovecot: pop3(sales@example.cl): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0, bytes=30/133 Oct 12 09:30:03 server dovecot: pop3-login: Login: user=, method=PLAIN, rip=50.116.xx.xxx, lip=50.116.xx.xxx, mpid=29233, TLS, session= Oct 12 09:30:03 server dovecot: pop3(info@example.cl): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0, bytes=30/133 Oct 12 09:30:03 server dovecot: imap-login: Login: user=, method=PLAIN, rip=::1, lip=::1, mpid=29239, secured, session=<6U8sPwd4DJ0AAAAAAAAAAAAAAAAAAAAB> Oct 12 09:30:03 server dovecot: imap(dummy@example.cl): Logged out in=120, out=1248, bytes=120/1248 Oct 12 09:30:03 server dovecot: lmtp(29241): Connect from local Oct 12 09:30:04 server dovecot: lmtp(example1@server.example.com): msgid=: saved mail to INBOX Oct 12 09:30:04 server dovecot: lmtp(29241): Disconnect from local: Successful quit
    Finally, the exim queue is empty. Thanks Jaime
    0
  • Infopro
    This is the part of "exim_mainlog"

    Post edited. Please be sure to always remove any real emails and IP addresses, user and domain names from any output you post to public forums for your own and your clients privacy. ;) Thanks!
    0
  • cPanelLauren
    Hi @desytec The transactional information in the mainlog shows no indication of the outbound mail transaction taking longer than a few seconds: 2018-10-12 09:26:48 1gAwWk-0007Zy-J1 SMTP connection outbound 1539347208 1gAwWk-0007Zy-J1 example.cl jvasquez@example2.cl 2018-10-12 09:26:49 SMTP connection from (SkorpioX3) [IPREMOVED]:3591 closed by QUIT 2018-10-12 09:26:49 1gAwWk-0007Zy-J1 Sender identification U=example1 D=example.cl S=lean@example.cl 2018-10-12 09:26:49 1gAwWk-0007Zy-J1 SMTP connection outbound 1539347209 1gAwWk-0007Zy-J1 example.cl jstuardo@example.com 2018-10-12 09:26:50 1gAwWk-0007Zy-J1 Sender identification U=example1 D=example.cl S=lean@example.cl 2018-10-12 09:26:50 1gAwWk-0007Zy-J1 SMTP connection outbound 1539347210 1gAwWk-0007Zy-J1 example.cl avasquez@example2.cl 2018-10-12 09:26:51 1gAwWk-0007Zy-J1 => jvasquez@example2.cl (inventarios_lean@example.cl) R=dkim_lookuphost T=dkim_remote_smtp H=aspmx.l.google.com [74.125.135.26] X=TLSv1.2:ECDHE-$ 2018-10-12 09:26:51 1gAwWk-0007Zy-J1 => avasquez@example2.cl (inventarios_lean@example.cl) R=dkim_lookuphost T=dkim_remote_smtp H=aspmx.l.google.com [74.125.142.27] X=TLSv1.2:ECDHE-$ 2018-10-12 09:26:51 1gAwWk-0007Zy-J1 => jstuardo@example.com (inventarios_lean@example.cl) R=dkim_lookuphost T=dkim_remote_smtp H=aspmx.l.google.com [74.125.135.26] X=TLSv1.2:ECDHE$ 2018-10-12 09:26:51 1gAwWk-0007Zy-J1 Completed 2
    Outbound connection initiated at 2018-10-12 09:26:48 and completed transaction at 2018-10-12 09:26:51
    0

Please sign in to leave a comment.