On Tue, Mar 24, 2015 at 11:29:42AM +0100, i...@itrezero.it wrote:

> ------------------------------- MASTER.CF-----------------------------
> 127.0.0.1:21025 inet n n n - 0 spawn user=nobody
> argv=/etc/postfix/random-block1.pl
> smtp2           unix - - n - - smtp
>                 -o syslog_name=postfix-smtp2
>                 -o smtp_helo_name=mx2.dominio1.it
>                 -o smtp_bind_address=xxx.xxx.xxx.111
> smtp3           unix - - n - - smtp
>                 -o syslog_name=postfix-smtp3
>                 -o smtp_helo_name=mx3. dominio1.it
>                 -o smtp_bind_address= xxx.xxx.xxx.112
> smtp1           unix - - n - - smtp
>                 -o syslog_name=postfix-smtp5
>                 -o smtp_helo_name=mx5. dominio1.it
>                 -o smtp_bind_address= xxx.xxx.xxx.113
> 
> veryslow unix - - n - - smtp
>         -o smtp_fallback_relay=
> slow unix - - n - - smtp
>         -o smtp_fallback_relay=
> ------------------------------- END MASTER.CF-----------------------------

To distribute load among multiple IPs also for slow/veryslow, you'll
need to have multiple instances of slow and very slow, and appropriate
ways to randomly distribute load among them.

At which point it is clear that you're much better off with separate
Postfix instances per address, each with its own "smtp/slow/veryslow"
transport.  And just inject the mail into those at random.

The second solution ensures that for any given message the address
used is stable over time, and so encounters shorter greylisting
delays.  Your current configuration is a bad idea, so don't make
it worse by also splitting the slow/veryslow transports.

Happy snow-shoeing...

-- 
        Viktor.

Reply via email to