Uhhh, this is a much more better Solution than getting this done by the content 
filter.
I've set smtp_destination_recipient_limit = 1 so every mail gets passed to the 
content filter for each recipient and finally gets requeued as a complete new 
mail. Perfect!

Thank you!

On Jul 10, 2012, at 02:44 , Viktor Dukhovni wrote:

> On Tue, Jul 10, 2012 at 12:45:34AM +0200, Jeroen Geilman wrote:
> 
>> I would probably opt to make it a fully controllable process by
>> first queueing and re-injecting it into a second listener or postfix
>> instance by utilizing ${second-smtpd}_recipient_limit = 1
> 
> Right idea, wrong implementation. A better solution is to set the
> 
>       <transport>_destination_recipient = 1
> 
> where <transport> is the name of the dedicated transport used to
> feed messages into the content_filter. For example:
> 
>       main.cf:
>               content_filter = cf_smtp
>               cf_smtp_destination_recipient_limit = 1
> 
>       master.cf:
>               cf_smtp unix ... smtp
> 
> -- 
>       Viktor.

Reply via email to