This is a discussion on Re: two postfix instances within the mailing.postfix.users forums, part of the Mail Servers and Related category; On Mon, May 30, 2005 7:49 am, D. Walsh said: > How can I share a single content filter ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Mon, May 30, 2005 7:49 am, D. Walsh said:
> How can I share a single content filter between 2 postfix instances??? No problem. You'll just have to make sure amavisd-new reinjects the message to the same instance from which the message came. I think amavisd-new is capable of this, but I don't remember exactly how. > The contrent filter I am refering to is amavisd-new. > > I'm also noticing I am unable to use locathost in both instances as > it fails to start citing: > > May 30 01:24:26 dellc postfix-secondary/master[21289]: fatal: bind > 127.0.0.1 port 25: Address already in use Yes, obviously you can't have two Postfix instances listening on the same port on the same interface. > It also seems that I cannot define amavisd-new in both so I was > wondering how to achieve this. What does "define amavisd-new" mean? A master.cf entry? Of course you can have amavisd-new services in both instances. What makes you think otherwise? > Because smtp-amavis is defined in the first postfix instance, can I > call it from the second without defining it or defining in the second > postfix instance will allow me to use it: > > /etc/postfixalt/main.cf: > content_filter=3Dsmtp-amavis:[127.0.0.1]:10024 Two Postfix instances do not share a single master.cf, so if you want to refer to a transport named "smtp-amavis" it must exist in the instance in question. > Please don't reference any man page stuff unless you are going to > send me your computer so I can see what you're talking about. > > My OS vendor screws with the man pages so I don't have what you do so > please be specific and detailed when you respond. The Postfix man pages are available from the Postfix web site. --=20 Magnus B=E4ck magnus@dsek.lth.se |