On Wed, Dec 22, 2010 at 07:03:24PM +0100, Robert Linden wrote: > Hello! > > Could someone please tell me if and how I can control the grouping of > recipients in one delivery via pipe? > If I have a content filter and I want it to receive each recipient in > a seperate message I can have them split up with this: > > default_destination_recipient_limit = 1
Better to replace "default" with the transport name of the filter. > That works fine. But there doesn't seem to be a way to _force_ multiple > recipients. Reading pipe(8) it seems that it would be the normal behaviour > to not split up the recipients up to the configured limit (where the default > is 50). Accordingly the manpage doesn't say how to achieve that, if it does > not happen automatically. It seems that it does depend on the domains of the > recipients though. > > I made myself a content filter like this: > > 127.0.0.1:25000 inet n - n - - smtpd > -o relay_recipient_maps=hash:/etc/postfix/valid_recipients > -o smtpd_recipient_restrictions=permit_mynetworks,reject > -o content_filter=my_filter Make that: content_filter="my_filter:dummy". Otherwise, each destination domain is a separate sub-queue. -- Viktor.