Wietse Venema <wie...@porcupine.org> wrote: > > 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 > So it would look something like this? /etc/postfix/sender_dependent_default_transport mymodeltalk.com smtp-mymodeltalk-com inform.mymodeltalk.com smtp-inform.mymodeltalk.com myforeverhair.com smtp-myforeverhair.com > > /etc/postfix/master.cf: > smtp-example-com .. .. .. .. .. smtp > -o smtp_bind_addres=192.168.1.1 > > And this would look like this? smtp-mymodeltalk-com .. .. .. .. .. smtp -o smtp_bind_addres=52.0.148.79 smtp-inform-mymodeltalk-com .. .. .. .. .. smtp -o smtp_bind_addres=52.0.33.25 smtp-myforeverhair-com .. .. .. .. .. smtp -o smtp_bind_addres=52.1.130.125 > > 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 alas, 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 > And this last part would look like this? /etc/postfix/master.cf: 52.0.148.79:smtp .. .. .. .. .. smtpd 52.0.33.25:smtp .. .. .. .. .. smtpd 52.1.130.125:smtp .. .. .. .. .. smtpd > > Wietse >