On 2013-08-12 06:51, Jim Klimov wrote: > On a side note, the libspf2 headers quote the SPF standard that the > mailers "SHOULD" add a header about processed SPF - verdict and > details (more details at http://www.openspf.org/SPF_Received_Header). > > I've tried "addheader" on an spf rule, but milter-greylist crashed > for some reason when this line was in the config; the header text > was rather short (shouldn't exceed 2048 bytes by a long shot), > though it had some format strings; I did not debug any further. I've traced the crash to the recipient domain - format string macros '%r' (empty in spf addheader) and '%sr' (causes the crash). This does happen with both racl and dacl rules, and the syslog debug entry for the rule-hit contains the sender address among strings added by the milter-greylist itself. Interestingly, the crash occurs (every time) a couple of seconds after the message was fully received and processed and logged. The message itself is not handed off back to the Messaging Server and is not delivered into the mailbox. I have used %r in other rules and it worked as expected... So there a couple of things to do: 1) revise that domain/username format substrings do not crash with empty input; 2) understand why the recipient is empty in this context?.. HTH, //Jim Klimov
Message
Re: [milter-greylist] SPF SELF without known local address
2013-08-13 by Jim Klimov
Attachments
- No local attachments were found for this message.