Cristiano Winckler a écrit : > Hi Guys > > I´m writing here because I could not find a solution on a google search. > I have a mail server and we have 4 usable Ips on this server. > > Postfix is configured and working for a very long time. > I already configured postfix to have different greetings to different IP > addresses: > > Here is whats on my master.conf: > > localhost:smtp inet n - n - - smtpd > <IP1>:smtp inet n - n - - smtpd > <IP2>:smtp inet n - n - - smtpd -o > myhostname=mail1.host.com > <IP3>:smtp inet n - n - - smtpd -o > myhostname=mail2.host.com > <IP4>:smtp inet n - n - - smtpd -o > myhostname=mail3.host.com > > > This is working 100% fine. According to the IP that the connection is > coming from, a different greeting is used. >
I have more IPs than you, yet only one greeting. why do you need multiple greetings? > My question is regarding the options to send emails using different IP > addresses. > > 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? > run multiple 'smtp' transport services, each with its bind address, and use transport_maps to select one of these smtp services depending on the destination. but you're losing time and energy. what problem are you trying to solve? it is far better to work on getting a good reputation for a single IP, than to do that for multiple ones.