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?
In the log file I have:
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"
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.
(The logging of network disconnection events was improved in v2.0.)