natan:
> Hello
> I have such a solution:
> 
> 1)One serwer to incomming
> 2)One server to outgoing
> 
> All Customers in their mail clients (outgoing) use adress: smtp.foobar.org
> 
> In main.cf I use? smtp_bind_address - for default IP send
> and sender_dependent_default_transport_maps (for indiwydual IP)
> works fine.
> 
> Is any change to "auto changing" IP in smtp_bind_address ?
> I know this is a stupid question but I have some problem with throttling
> with send e-mail to *.protection.outlook.com if I change IP in
> smtp_bind_address (RBL, for example)
> 
> I think about sharing users and group addresses for sending mail - but
> maybe is simpler solution ?

There is no single Poatfix parameter that could accomplish this,
because this requires coordinated configuration for more than one
Postfix service (trivial-rewrite and the Postfix SMTP client).

/etc/postfix/main.cf
    sender_dependent_default_transport_maps = 
        hash:/etc/postfix/sender_transport

/etc/postfix/sender_transport
    @one.example        smtp_one:
    @two.example        smtp_two:
    @three.example      smtp_two:
    ...

Note that domains 'two.example' and 'three.example' share the same
delivery transport.

Each delivery transport has its own smtp_bind_address and smtp_helo_name.
Each smtp_helo_name value needs a DNS A (or AAAA) record that
resolves to the corresponding smtp_bind_address value.

/etc/postfix/master.cf
    smtp_one .. .. .. .. .. .. smtp
        -o smtp_bind_address=address-for-one
        -o smtp_helo_name=helo-for-one
    smtp_two .. .. .. .. .. .. smtp
        -o smtp_bind_address=address-for-two
        -o smtp_helo_name=helo-for-two
    ...

Additionally, you may need to reduce process limits in master.cf,
or have {smtp_one,smtp_two,...}_destination_concurrency_limit
settings in main.cf.

        Wietse

Reply via email to