Cristiano Winckler:
> This is working 100% fine. According to the IP that the connection
> is coming from, a different greeting is used.
But, you don't need that to SEND mail to hotmail and yahoo from
their dedicated source IP adressess.
> I would like to use one of the specific IPs to send email to
> hotmail.com, another for yahoo.com and all the others from the
> main IP (as it is now).
>
> Any ideas on how this can be done?
/etc/postfix/.master.cf:
smtpx unix - - - - - smtp
-o smtp_bind_address=x.x.x.x
smtpy unix - - - - - smtp
-o smtp_bind_address=y.y.y.y
/etc/postfix/transport:
hotmail.com smtpx:
yahoo.com smtpy:
/etc/postfix/main.cf:
transport_maps = hash:/etc/postfix/transport
And "postmap /etc/postfix/transport" whenever you change the file.
Wietse