SA Bugzilla – Bug 3166
RFE: out-of-band channel for plugins in spamd protocol headers
Last modified: 2009-08-21 11:49:45 UTC
Add new 'headers' to the protocol that contain SMTP protocol data: Client IP and hostname SMTP HELO response Envelope From Envelope To This data may be used eg when connecting to dccifd, which uses this values for its own protocol. see http://www.dcc-servers.net/dcc/dcc-tree/dccifd.html (Protocol) spamd might get these values either eg when used from a Sendmail milter or a custom Sendmail mailer (contact me if you want to know how it's done for the webmailer www.blackbox.net).
move bug to Future milestone (previously set to Future -- I hope)
Just a quick though, we could possibly add a header to the spamd protocol that would then populate metadata for a message. Then a plugin could do whatever it wanted with that data. Might even be able to do a simple plugin hook in spamd to catch this additional header and do something with it.
'Client IP and hostname SMTP HELO response Envelope From Envelope To' note that all of those items of data are supposed to be put into a Received header by the milter before passing to SA. I think this is documented on the wiki somewhere.... ;) 'we could possibly add a header to the spamd protocol that would then populate metadata for a message. Then a plugin could do whatever it wanted with that data. Might even be able to do a simple plugin hook in spamd to catch this additional header and do something with it.' that sounds sensible, although I'd really need to see some good use cases to ensure it really is the appropriate fix for those problems...
retitling to reflect Michael's idea, since the SMTP protocol data is better preserved in the scanned message's headers, as documented
See also a partial solution in Bug 6088, and a related problem in Bug 4469 (checking large messages).