Thanks was'nt aware of this . I will rewrite the script using this. Peter ________________________________________ Fra: owner-postfix-us...@postfix.org [owner-postfix-us...@postfix.org] På vegne af Wietse Venema [wie...@porcupine.org] Sendt: 7. juni 2012 12:55 Til: Postfix users Emne: Re: question concerning content filter and receive_override_options=no_address_mappings
Peter S?rensen: > Hi > > I have a policy server restricting access to specific lists. If a > user is accepted the policy server return OK status > to postfix. The members on the list are found through virtual alias > and gets expanded. > > I would like to put a content filter after this , that will grab > the orig_to address to do further handling on > this mail. > > I can't manage to make this work before the allias expanding. > > I have following in master.cf: > > mailstamp unix - n n - - pipe > -o receive_override_options=no_address_mappings > flags=Rq user=mail argv=/usr/local/lib/postfix/mailstamp.pl -f $sender -- > $recipient receive_override_options is not a documented pipe(8) feature, and therefore it is not implemented. I suggest using an SMTP-based content filter setup, and use receive_override_options which is a documented smtpd(8) feature. Wietse