On 02.09.2014 16:25, Wietse Venema wrote:
> 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
I got it working with these hints.
Thank you,
Michael