The suggestion I had from a list member (and postfix developer) was /
etc/postfix-second/ but there is also a subsequent post from I
believe a current macos-x-server list member detailing such a set-up
(with Launch Control and everything) but I am waiting for details on
how the config files fall into things here.
One point from my posts on the postfix list. The default amavisd
install has 127.0.0.1:10024 listed. I was under the impression that
amavisd was listing on this IP and port but I guess it's actually
indicating the acceptable IP:port's to allow connections from. In my
efforts to split the two postfix instances between the 2 static IP's
it was suggested to change these also. When I did I got the
'connection refused' errors in the mail logs. I guessing it's
because I have port 10024 closed on my static IP but it's open by
default on the loopback.
As for Dan Shoop's comment... yes it is trivial but at the same time
it is not. For example here is the incriminating bits from his last
email:
Received: from mail.orourke.ca ([unix socket])
by mail.orourke.ca (Cyrus v2.1.13) with LMTP; Mon, 28 Nov 2005
12:10:36 -0700
X-Sieve: CMU Sieve 2.2
Received: from localhost (localhost [127.0.0.1])
by mail.orourke.ca (Postfix) with ESMTP id BE84313D3829
for <email@hidden>; Mon, 28 Nov 2005 12:10:35 -0700 (MST)
Received: from mail.orourke.ca ([127.0.0.1])
by localhost (mail.orourke.ca [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 08588-01 for <email@hidden>;
Mon, 28 Nov 2005 12:10:18 -0700 (MST)
The 'orourke.ca' is littered all over the place. Lets say for
example I was hosting a second domain and providing email on this
same server. For many reasons (personal, business conflicts, content
etc) I wanted to not associate this new domain with my company. Only
the nerds will see the headers but from them you could establish a
connection from one domain to another. If I use separate IP's and
the headers are different then I there is no way to tie the two
together.
Dan T
On Nov 28, 2005, at 11:21 AM, webmaster wrote:
On Nov 28, 2005, at 12:38 , Dan Tappin wrote:
I'm currently messing with this based on a post to the postfix
users mailing list. I am looking to have two 'separate' postfix
servers running on on OS X system. By 'separate' I mean unique
mail headers etc each on separate IP's on the same machine.
Basically I want mail from one particular domain not associated in
any way from the others.
I have been told that it's a simple as using the postfix-second
configuration and starting a second instance of postfix. I'm
getting help from the postfix list but the lack of OS X specific
knowledge on the postfix list is hampering things. Any one have
experience doing such a beast on OS X?
I have 3 separate instances of postfix running on 10.4.3 on one
server and another with only one instance and both achieve 3
separate/unique mail headers and can't understand why you are
having problems since what you are attempting to do is not Mac OSX
related.
I've gone a step further and fixed the libsql.so module that Apple
couldn't make work and manage all users via mysql so I don't have
to create hundreds of system accounts just to offer e-mail.
What you need to decide is what you're inteded results are to be
then decide which methods best suites achieving it.
Will you also need a second instance of cyrus running???
Forget that your dealing with OSX since it bears no weight on the
configuration aspect.
If you really want 2 postfixes, create the configs so they respond
only to their assigned single IP, when you have this much, send me
the name/path of the config files you wish to use and I'll give you
the the rest to make it work.