Menu

#25 exception event

v1.0 (example)
closed
nobody
None
5
2019-09-28
2018-03-05
_SteM_
No

Hello,
I'm trying to run the proxy but I always receive an error and a bad file.
This one is the following:

X-MailRelay-Format: #2821.4
X-MailRelay-Content: 7bit
X-MailRelay-From: backup.xx@gmail.com
X-MailRelay-ToCount: 1
X-MailRelay-To-Remote: backup@xxx.com
X-MailRelay-Authentication:
X-MailRelay-Client: 127.0.0.1
X-MailRelay-ClientName:
X-MailRelay-ClientCertificate:
X-MailRelay-End: 1
X-MailRelay-Reason: exception event
X-MailRelay-ReasonCode:

I have also tested entering the SMTP data by a telnet connection and the result is the same.

What does it mean?
How can I solve?

Discussion

  • _SteM_

    _SteM_ - 2018-03-19

    In the log file I have:

    emailrelay: info: rx<<: "QUIT"
    emailrelay: info: tx>>: "221 closing connection"
    emailrelay: info: smtp connection closed: smtp protocol done: 127.0.0.1:47869
    emailrelay: info: smtp connection closed: exception event: 127.0.0.1:47869
    emailrelay: info: forward: still busy from last time
    emailrelay: warning: exception: exception event
    emailrelay: error: polling: exception event
    emailrelay: info: smtp client error: "exception event"
    emailrelay: info: failing file: "emailrelay.16276.456402.3.envelope.busy" -> "emailrelay.16276.456402.3.envelope.bad"
    emailrelay: info: unlocking file "emailrelay.16276.456402.3.envelope.busy"

     
  • _SteM_

    _SteM_ - 2018-03-26

    Maybe more meanful is the content of the debug log:

    ...
    emailrelay: info: GSmtp::ServerProtocol: tx>>: "221 closing connection"
    emailrelay: info: GSmtp::ServerPeer: smtp connection closed: smtp protocol done: 127.0.0.1:55541
    emailrelay: info: GSmtp::ServerPeer: smtp connection closed: exception event: 127.0.0.1:55541
    emailrelay: info: Main::Run::doForwarding: forward: still busy from last time
    emailrelay: warning: GNet::HeapClient::onException: exception: exception event
    emailrelay: error: Main::Run::pollingClientDone: polling: exception event
    emailrelay: info: GSmtp::Client: smtp client error: "exception event"
    emailrelay: info: GSmtp::StoredMessage: failing file: "emailrelay.10008.54009.2.envelope.busy" -> "emailrelay.10008.54009.2.envelope.bad"
    emailrelay: info: GSmtp::StoredMessage: unlocking file "emailrelay.10008.54009.2.envelope.busy"

     
  • Graeme Walker

    Graeme Walker - 2018-06-20
    • status: open --> pending
     
  • Graeme Walker

    Graeme Walker - 2018-06-20

    So emailrelay is receiving a QUIT command from the server before it has completely sent the current message. Maybe the server is timing out. Verbose logging that shows the whole SMTP dialog would help, including "--log-time" timestamps.

     
  • Graeme Walker

    Graeme Walker - 2019-09-28
    • status: pending --> closed
     
  • Graeme Walker

    Graeme Walker - 2019-09-28

    (The logging of network disconnection events was improved in v2.0.)

     

Log in to post a comment.

MongoDB Logo MongoDB