Re: Different SMTP hostnames on different IPs?

2009-10-12 Thread Scott Lambert
On Sun, Oct 11, 2009 at 07:05:34PM -0400, Wietse Venema wrote: Chris Babcock: Victor Duchovni victor.ducho...@morganstanley.com wrote: This answers the OP's question, but perhaps one should ask why the OP believes this to be a good idea? I can't answer for the original poster, but I

Re: Different SMTP hostnames on different IPs?

2009-10-12 Thread Rene Bartsch
On Sun, Oct 11, 2009 at 01:34:58AM +0200, mouss wrote: How can I configure Postfix to use vpn.mydomain.tld on IP B? create two smtpd listeners in master.cf, one for each IP, and use -o myhostname to set the hostname. 192.0.2.1:25 smtpd -o myhostname=vpn.example.com This

Re: Different SMTP hostnames on different IPs?

2009-10-12 Thread Rene Bartsch
On Mon, Oct 12, 2009 at 06:58:13PM +0200, Rene Bartsch wrote: Unless one is sufficiently motivated to use a separate Postfix instance for each interface, there is little to gain from different host names on different IPs. It's a try to avoid UCE but get valid mail fast. The idea is to

Re: Different SMTP hostnames on different IPs?

2009-10-12 Thread Victor Duchovni
On Mon, Oct 12, 2009 at 07:16:17PM +0200, Rene Bartsch wrote: The usual suggestions apply. Scan the archives, but in a nutshell, avoid forcing every legitimate client to make two tries all the time. All OpenRelay-test-tools complained about the wrong hostname Overzealous pedantry.

Re: [Postfix Users] Re: Different SMTP hostnames on different IPs?

2009-10-12 Thread Mark Krenz
On Mon, Oct 12, 2009 at 11:01:02PM GMT, mouss [mo...@ml.netoyen.net] said the following: 192.0.2.1:25 smtpd -o myhostname=vpn.example.com This answers the OP's question, but perhaps one should ask why the OP believes this to be a good idea? There is generally no

Re: Different SMTP hostnames on different IPs?

2009-10-11 Thread Rene Bartsch
Rene Bartsch a écrit : Hi, Postfix is running on the public IPs A and B and the private IPs C, D and E. IP A and B have correct DNS A and PTR records (A: www.mydomain.tld and B: vpn.mydomain.tld). The hostname of the machine is www.mydomain.tld. Currently Postfix-SMTPD answers all

Re: Different SMTP hostnames on different IPs?

2009-10-11 Thread Wietse Venema
Chris Babcock: Victor Duchovni victor.ducho...@morganstanley.com wrote: This answers the OP's question, but perhaps one should ask why the OP believes this to be a good idea? I can't answer for the original poster, but I run separate Postfix instances for each of my hosted domains. I

Different SMTP hostnames on different IPs?

2009-10-10 Thread Rene Bartsch
Hi, Postfix is running on the public IPs A and B and the private IPs C, D and E. IP A and B have correct DNS A and PTR records (A: www.mydomain.tld and B: vpn.mydomain.tld). The hostname of the machine is www.mydomain.tld. Currently Postfix-SMTPD answers all connections from clients with it's