On Thu, Apr 09, 2009 at 11:00:45AM -0600, Curtis wrote: > However, I just ran into another potential > "show stopper"... in the notes of the protocol description ( > http://www.postfix.org/SMTPD_POLICY_README.html#protocol ) it says > 'The "recipient" attribute is available only ... when Postfix accepted > only one recipient for the current message.'
Under the *additional* condition that the policy callout is from the "data" or "end_of_data" restrictions. With policy callouts in the "recipient" (or with the default smtpd_delay_reject=yes also "client", "helo" and "sender") restrictions there is a separate call for each recipient and of course the domain is available. > Does that mean that the policy server will have no way of determining > what domain the message was sent to when postfix accepts the message > on behalf of more than one sender? See above. -- 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.