Re: [xmail] non-delivered mails not listed in the logs - update to log permanent delivery failures
I'm also still here :) I actually also found it annoying that the SMAIL logs show success, but don't show failure. I don't want to receive an e-mail about every message that can't be delivered, but if someone contacts me about an email he (assumes) to not have received, I want to be able to quickly find it in the logs. You can solve this by editing QueueUtils.cpp and adding this around line 803 (just below "int iResult = QueUtTXErrorExNotifySender ..."): > USmlLogMessage(hFSpool, "FAIL", pszReason, pszServer); Recompile and copy the files to the bin-folder and from then on you'll see "FAIL" lines appear on the smail-log every time there was a permanent delivery failure, with details about what went wrong. I actually only just figured this out. I have only tested it on a test-server, but not in production yet. Let me know if you see any problems. Sincerely, Bart Mortelmans U.Mutlu via xmail schreef op 30/04/15 om 13:56: Hi, anybody left here? :-) Can anybody confirm this? : It seems xmail does not make a log entry for a non-deliverable mail. Though it sends an error mail to the sender (Subject "Error sending message ..."). This is not optimal, since the mail admin should have the possibility to inform himself about such problems from the logs. Thx ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] non-delivered mails not listed in the logs
I'm still here :) You can set ErrorsAdmin in server.tab to an email address that will receive delivery failure notification On 04/30/2015 04:56 AM, U.Mutlu via xmail wrote: Hi, anybody left here? :-) Can anybody confirm this? : It seems xmail does not make a log entry for a non-deliverable mail. Though it sends an error mail to the sender (Subject "Error sending message ..."). This is not optimal, since the mail admin should have the possibility to inform himself about such problems from the logs. Thx ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] non-delivered mails not listed in the logs
Hi, still here, waiting for new XMail version, after such long time it must be any day now. ;) What you want are ErrorsAdmin and TempErrorsAdmin variables in server.tab: [ErrorsAdmin] The email address that receives notification messages for every message that has had delivery errors. If it is empty (allowed), the notification message is sent to the sender only. [TempErrorsAdmin] The email address that receives notification for temporary delivery failures. In case it's empty the notification message is sent to the sender only. -- ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail