Michael:
> Hi,
> in master.cf I've defined a Procmail service that pipes a mail to  
> Procmail for content filtering.
> 
> procmail  unix  -       n       n       -       10       pipe
>    flags=Rq user=vmail null_sender= argv=/usr/bin/procmail -m  
> /etc/procmailrc ${sender} ${recipient} ${domain}
> 
> The ${recipient} variable always passes the recipient passed from the  
> sender.

Do your alias expansion *before* the filter instead of after.
http://www.postfix.org/postconf.5.html#receive_override_options
http://www.postfix.org/FILTER_README.html

        Wietse

Reply via email to