Skip to main content

Mail not working on server (sending and receiving)

Comments

6 comments

  • cPanelMichael
    Hello, Do you notice any output to /var/log/exim_paniclog when encountering an issue with sending or receiving? Thank you.
    0
  • David_spm
    Hello, Do you notice any output to /var/log/exim_paniclog when encountering an issue with sending or receiving? Thank you.

    This is all I see in the current paniclog: 2017-10-16 00:32:36 socket bind() to port 587 for address (any IPv6) failed: Address already in use: daemon abandoned I have the logs rotated weekly and the older ones are compressed but the logs dated 15th and 8th have nothing in them
    0
  • David_spm
    This is all I see in the current paniclog: 2017-10-16 00:32:36 socket bind() to port 587 for address (any IPv6) failed: Address already in use: daemon abandoned I have the logs rotated weekly and the older ones are compressed but the logs dated 15th and 8th have nothing in them

    ..also this is what I can see listening on port 587 tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN 21565/exim tcp 0 0 :::587 :::* LISTEN 21565/exim
    0
  • David_spm
    One other thing, this is the output from a test mail I tried to send: -bash-4.1$ echo "Subject: test" | /usr/sbin/exim -v me@gmail.com LOG: MAIN cwd=/home/me 3 args: /usr/sbin/exim -v me@gmail.com LOG: MAIN <= me@server.myhostname.com U=me P=local S=323 T="test" -bash-4.1$ LOG: MAIN cwd=/var/spool/exim 4 args: /usr/sbin/exim -v -Mc 1e3zV1-0000MA-Py delivering 1e3zV1-0000MA-Py LOG: MAIN ** me@gmail.com R=enforce_mail_permissions: Gid 577 is not permitted to relay mail, or has directly called /usr/sbin/exim instead of /usr/sbin/sendmail. LOG: MAIN cwd=/var/spool/exim 8 args: /usr/sbin/exim -v -t -oem -oi -f <> -E1e3zV1-0000MA-Py LOG: MAIN <= <> R=1e3zV1-0000MA-Py U=mailnull P=local S=1645 T="Mail delivery failed: returning message to sender" LOG: MAIN cwd=/var/spool/exim 4 args: /usr/sbin/exim -v -Mc 1e3zV2-0000MF-23 delivering 1e3zV2-0000MF-23 LOG: MAIN Completed LMTP<< 220 server.myhostname.com Dovecot ready. LMTP>> LHLO server.myhostname.com LMTP<< 250-server.myhostname.com LMTP<< 250-STARTTLS LMTP<< 250-8BITMIME LMTP<< 250-ENHANCEDSTATUSCODES LMTP<< 250 PIPELINING LMTP>> MAIL FROM:<> LMTP<< 250 2.1.0 OK LMTP>> RCPT TO: LMTP<< 250 2.1.5 OK LMTP>> DATA LMTP<< 354 OK LMTP>> writing message and terminating "." LMTP<< 250 2.0.0 EN0WGsBa5FlsBQAAQA8zkQ Saved LMTP>> QUIT LMTP<< 221 2.0.0 OK LOG: MAIN => me R=localuser T=dovecot_delivery S=1798 C="250 2.0.0 EN0WGsBa5FlsBQAAQA8zkQ Saved" LOG: MAIN Completed
    0
  • David_spm
    Hi, should I submit a support ticket about this?
    0
  • cPWilliamL
    Your last output is just improper use of the commands, not a sign of your issue. Opening a ticket will allow us to provide you with the best support. Once opened, you can paste the ticket ID here, and we can update this thread with the outcome. Looking over your output, I am not sure if any information relevant to your issue has been provided. Ideally, you would provide a full transaction which failed(i.e. 'exigrep /var/log/exim_mainlog'). With that said, a random guess is that perhaps one of your exim databases is corrupt as in the post below: Exim db corrupt with a few entries?
    0

Please sign in to leave a comment.