Mike McKoy:
> I'm using CENTOS 6.5 I need to configure Postfix to send from the correct
> IP addresses assigned to each domain.

Use sender_dependent_default_transport_maps to select a suitable SMTP client 
configuration:

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

/etc/postfix/sender_dependent_default_transport
    example.com smtp-example-com

/etc/postfix/master.cf:
    smtp-example-com .. .. .. .. .. smtp
        -o smtp_bind_addres=192.168.1.1

> How easy is it to configure postfix to send using a specific IP address for
> each domain I have on the server? I've already bound the IPs. When I used
> Exim all I had to do was create a list of IPs for the server to send as.
> But als, i'm not using cpanel so I can't use exim. I need to find a way to
> do this with postfix.

/etc/postfix/master.cf:
    192.168.1.1:smtp .. .. .. .. .. smtpd

        Wietse

Reply via email to