| 
      
      
      From: Lionel B. <lio...@bo...> - 2005-08-12 13:53:25
      
     | 
| Sascha Lucas wrote the following on 12.08.2005 14:58 : > Hi list, > > I have configured sqlgrey-1.6.5 to PREPEND the X-Greylist: header. > What I noticed is that the header was prepended multiple times (for > each RCPT TO) in the mail. The logfile shows also "sqlgrey: grey: from > awl match: updating" for each RCPT TO. > > My question is: can the instance= in the postfix policy protocol be > used, to prevent multiple action=PREPEND .... ? From postfix's > SMTPD_POLICY_READM the instance=... can be used to correlate different > requests regarding the same message delivery. There's a problem with that: nothing prevents two recipients for the same message from being treated differently (one can match a connect entry and the following matches the AWL entry just created: two different headers). The problem is that we don't add the header on delivery but way before that. We have no way of adding a header per RCPT TO: this is a limitation of the policy protocol. We could have more meaningful headers with the "RCPT TO" listed for each header but I'm afraid it's the best we can do. Lionel. |