On 14 Jun 2007, at 23:55, Hal Dell wrote: > > Dear David Lord- > > > Hal Dell wrote: > > > > The problem is that I received the error code and message "451 > > Greylisted, please try again in 900 seconds". In the case of xMail it > > did not retry to send the eMail. > > > > According to RFC2505, 4xx are Transient Negative Completion reply > > (Temporary > > Error) and should result in the mail transfer being put back on queue > > again and a new attempt being made later. > > >> David Lord wrote: > >> > >> That doesn't seem right, as greylisting has been taken up by more > providers I've seen temporary > >> failure many times but xmail retries and either delivers or eventually > gives up and I get an unable > >> to deliver message. Only unable to deliver have been whilst testing and > not to real addresses. > >> Xmail default here was a notification after first temporary failure then > after complete failure which > >> might be 4 - 5 days later. I modified notification settings to 1,6,9 > attempts but any that have hit > >> 6, all test emails, never get through at all. If I'm desperate I check > what is still in spool file that > >> xmail is still trying. One unlikely possibility is the greylisting accept > period is too short and after > >> jumping past it there is no possibility mail will get through. > > Thanks for the input -- I've been using xMail for quite some time and > checked on your suggestions. > > I don't understand the "NotifyTryPattern" option -- is this in hours? None > of the docs I found describe > this in detail.
These are simply the queue retry counts at which a notification email is sent to both postmaster and user that the email is still queued. By default xmail makes 32 retries but only slowly increases time between retries from initial period of 480 seconds set by commandline options -Qt timeout, -Qi ratio, -Qr nretries. It's probably not a good idea to change from defaults. > The problem is that with the 451 returned error from the remote MTA -- xMail > seems to have > considered this an error because it immediately sent back an eMail to the > user with > the Subject "Error sending message...". It did NOT retry -- I double checked > this > by reviewing the log file. Here is what is in the LOG file (please note I > removed the > original from/to for privacy) : > > [PeekTime] 1181221418 : Thu, 7 Jun 2007 09:03:38 -0400 > << > ErrCode = -77 > ErrString = [RCPT TO:] not permitted by remote SMTP server > ErrInfo = 451 Greylisted, please try again in 900 seconds > SMAIL SMTP-Send MX = "mail22.webcontrolcenter.com." > SMTP = "smtp-x1.phl1.mgfx.com" From = "<dest>" To = "<from>" Failed ! > SMTP-Error = "451 Greylisted, please try again in 900 seconds" > SMTP-Server = "mail22.webcontrolcenter.com." > >> > > The error code -77 translates to ERR_SMTP_BAD_RCPT_TO" with > the string "[RCPT TO:] not permitted by remote SMTP server" as shown. > I don't think this is correct.... > > I am hoping that someone can read the source code better then I can to > help figure this out. I don't see any place in the Server.Tab to change this > behavior. For xMail to work with other MTAs it needs to follow the RFC > 2505 and I think xMail should treat 451 as a soft error? I've just looked back through mails to postmaster and the codes 451 along with -77 are normal for email that is being blocked by greylisting and eventually sent (can't find messages for retry 6). Unfortunately they are normal from a couple of sites where mail is in effect rejected permanently. I see several cases of test emails where reason is given as eg. "unacceptable sender address" and other similar reasons that might be correctable by the sender. These are not generally problems caused by xmail. David - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]