Welcome, Guest
Please Login or Register.
Lost Password?
Re:Multiple instances of Postfix (1 viewing)
Post Reply

TOPIC: Re:Multiple instances of Postfix

#13818
velvetpixel (User)
Posts: 156
graphgraph
Re:Multiple instances of Postfix 2008/06/13 12:45  
Now how do I direct the second instance of postfix to use that IP?

OK I must have been up too late and my mind has turned to mush :)

This is handled by the DNS entry isn't it?
  The administrator has disabled public write access.
#13819
velvetpixel (User)
Posts: 156
graphgraph
Re:Multiple instances of Postfix 2008/06/13 13:37  
OK That's not it.

When I add a new mail user to the virtual host on the new IP it gets added to the virtual file in the original etc/postfix/virtual file rather than etc/postfi2/virtual so the domain is still connected to the original instance of postfix.

How do I point the virtual host to the new instance?
  The administrator has disabled public write access.
#13820
Joe (Admin)
Posts: 4084
graph
Re:Multiple instances of Postfix 2008/06/13 14:13  
How do I point the virtual host to the new instance?

You don't. If you're following my advice from earlier, you're not going to be receiving mail via the second instance--only sending, since sending is where you're having problems.

To bind to a specific IP, you edit the master.cf file. Where it says:

smtp inet n - n - - smtpd -o smtpd_sasl_auth_enable=yes

Change it to:

192.168.1.1:smtp inet n - n - - smtpd -o smtpd_sasl_auth_enable=yes

This will need to be done for all of the services that you're keeping and for both Postfix instances--since a network bind command is either "all addresses" or "this address". This also probably introduces a lot of pain with regard to localhost mail clients that expect to connect on 127.0.0.1, which won't be bound unless you create a second directive for the services you need on localhost. This is actually getting really ugly!

Also, nothing but the system route determines the outgoing IP, and won't be different no matter which Postfix instance is sending. I'm not sure you can change that. Though your goal was to make the Postfix instance claim to be a specific hostname, and that doesn't require a different IP.

I'm thinking maybe the pains of trying this experiment are more than the results they'll provide (which I expect very strongly will be "nothing good").

Have you asked Hotmail what's triggering your messages being trashed? I know that Gmail and Yahoo are both pretty helpful about such things (actual spammers probably don't get treated nicely, of course, but legitimate mail users do usually get answers). If your problem were with Gmail, I could get you in touch with someone who could help, but I don't know anybody on the Hotmail team. ;-)
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.