On Thu, Jun 25, 2009 at 09:46:51PM -0400, Sahil Tandon wrote: > On Thu, 25 Jun 2009, Rob Tanner wrote: > > > I?ve got a policy listener in place. It merely logs the request and returns > > an ?OK? and doesn?t otherwise make any decisions. What I?m noticing is many > > of the client requests do not even contain the instance attribute. My > > assumption from reading the documentation was that even a single recipient > > message would contain an instance attribute with a unique value. Is that > > incorrect? How do I interpret a request with no instance attribute? > > In which phase of the SMTP transaction do you plug in your policy service? > From what I understand, the instance attribute does not exist until Postfix > chooses/assigns a queue ID, which happens *after* the first RCPT TO command > is accepted. If your policy service plugs in before that, there is no > instance; therefore, the attribute is empty.
IIRC, the instance attribute identifies a mail transaction and is assigned before the queue-id. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.