Re: two postfix instances

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 ...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-30-2005
Magnus Bäck
 
Posts: n/a
Default Re: two postfix instances

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:24 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0