From: Mike Cappella on
Question re: postscreen.

The release notes for enabling postscreen, in step 3, indicate:

---
3 - Uncomment the the new "smtp inet ... postscreen" service in
master.cf, and duplicate any "-o parameter=value" entries from
the smtpd service that was commented out in step 1.
---

Step 3 says duplicate -o options to only the smtpd service:

smtp inet n - n - 1 postscreen

as in:

smtp inet n - n - 1 postscreen
-o receive_override_options=no_address_mappings


Yet with no_addresss_mappings set as shown above, my content_filter sees
expanded addresses due to *_bcc_maps:

Dec 20 08:19:38 glacier postfix/qmgr[28562]: C63C826BFF7:
from=<Kafil(a)lottery.com>, size=2903, nrcpt=2 (queue active)
^^^^^^^
( only 1 recipient was present )

Dec 20 08:19:38 glacier amavis[28151]: (28151-05) LMTP::10024
/var/amavis/tmp/amavis-20091220T075945-28151:
<Kafil(a)lottery.com> ->
<user-user=example.com(a)bcc.recipient.maildir>,<user(a)example.com>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^
( from recipient_bcc_map ) ( original recip )
SIZE=2903 Received: from glacier.mikecappella.com ([127.0.0.1])
by localhost (glacier.mikecappella.com [127.0.0.1])
(amavisd-new, port 10024) with LMTP;
Sun, 20 Dec 2009 08:19:38 -0800 (PST)


If I add the -o options to the new smtpd service :

smtpd pass - - n - - smtpd
-o receive_override_options=no_address_mappings

address mappings are suppressed as desired.

Is this an error in my understanding, or in the notes?

Thanks in advance.
--

Mike

From: Wietse Venema on
Mike Cappella:
> Question re: postscreen.
>
> The release notes for enabling postscreen, in step 3, indicate:
>
> ---
> 3 - Uncomment the the new "smtp inet ... postscreen" service in
> master.cf, and duplicate any "-o parameter=value" entries from
> the smtpd service that was commented out in step 1.
> ---
>
> Step 3 says duplicate -o options to only the smtpd service:

Sorry, "duplicate -o options" should be under item 2) in the release
notes.

Wietse