Hello Wietse

On Mon, 11 Apr 2011 13:16 -0400, "Wietse Venema" <wie...@porcupine.org>
wrote:
> First, you can't run multiple postscreen daemons with the same
> postscreen_cache_map setting, as that will corrupt the database.
> I'm adding a check for this.
> 
> Second, to make postscreen listen on more than once address, list
> all addresses in main.cf:
> 
>     inet_interfaces = 1.2.3.4 1.2.3.5 127.0.0.1

This step is nice and clear.  It's managed to confuse me more about my
original question, about getting the greetings and banners right.

I think I see now where "inet_interfaces = xx.xx.xx.1 xx.xx.xx.2
127.0.0.1" comes from,

"First, configure the host to listen on both primary and backup MX
addresses. Use the appropriate ifconfig command for the local operating
system, or update the appropriate configuration files and "refresh" the
network protocol stack.

Then, configure postscreen(8) to deny the temporary whitelist status on
the backup MX address(es). An example for Wietse's server is:

/etc/postfix/main.cf:
    postscreen_whitelist_interfaces = !168.100.189.8 static:all
"

But it sounds like you're saying I should use only one postscreen daemon
defined in master.cf.  Is that right?

How do I do that and get different greetings on each IP it listens on?

Do I set the postscreen 'teaser' banner "=(empty)", and just specify the
smtpd_banner for each host?

I really just want one server, with one set of filter rules, but want it
to look to the outside like I have the two hosts.  Can I do it this way?
 If the answer's yes, I guess I got to get those banners right.

Thanks again.

Jeremy Alsten

Reply via email to