On Thursday 09 July 2009 01:01:28 pm Wietse Venema wrote: > Alban Deniz: > > Hello, > > > > I've implemented a milter (SNFMilter), and when I use it with postfix, > > and send postfix multiple messages over one SMTP connection, I get the > > following warning in the log file: > > > > Jun 18 10:32:58 skidmark postfix/smtpd[11622]: warning: milter unix:/snf- > > milter/socket: unexpected filter response SMFIR_ADDHEADER after event > > SMFIC_MAIL > > According to http://www.milter.org/developers/api/smfi_addheader, > Milter applications can send requests to add headers ONLY at the > end-of-message protocol stage. > > Wietse
Hi Wietse, Thanks for the response. My code calls smfi_addheader only in the xxxx_eom callback, which I understand is the end-of-message protocol stage (please correct me if I'm wrong). In case I missed something, is there a way to verify this (for example, have postfix output what protocol stage it is at, and what milter messages it sends and receives)? Thanks, Alban
