Le 20/12/2010 10:39, Lionel TRESSENS a écrit :
Hello Postfix happy users !
I am trying to figure out if it is possible to limit the delivery
concurrency for some destinations.
For example :
- emails matching patterns "@foo.com <http://foo.com>" and "@bar.com
<http://bar.com>" must be sent with a slow delivery concurrency
- other emails must be sent with (let's say) default concurrency
If I use options like
(initial_destination_concurrency, default_destination_concurrency_limit)
in main.cf <http://main.cf>, I will limit the delivery pace for all
destinations.
Any way to limit for some destinations only ?
create a transport entry in master.cf by cloing "smtp". something like
slowsmtp unix - - n - - smtp
then you can use -o options in master.cf and/or
slowsmtp_foo_bar = ...
in your main.cf.
then use transport_maps to route selected domains or users via this
slowsmtp transport:
example.com slowsmtp:
.example.com slowsmtp:
j...@example.org slowsmtp:
If there is now way to implement want I describe using the
configuration, my second option is to deliver all emails except @foo.com
<http://foo.com> and @bar.com <http://bar.com> from my Postfix instance,
and route @foo.com <http://foo.com> and @bar.com <http://bar.com> to
another Postfix instance that will have lower delivery concurrency settings.
Is this something possible ?
If you have a third option idea, do not hesitate to say it loud here :)
Thank you in advance,
Lionel