Jeff,

> >> One more thing I noticed today also.  All messages which have the "+" in
> >> the e-mail are sent to Dovecot's Deliver twice.  So, I receive the
> >> message twice in the folder.  All other messages are only sent to
> >> Deliver once.  Any idea what I have configured wrong for the message to
> >> be sent twice?
> >
> > It probably has to do with where you implemented recipient_bcc_maps,
> > along with a post-queue content filter which sends a checked message
> > back to Postfix for delivery - so recipient_bcc_maps could be
> > invoked twice.

> Aw, that makes sense.  I have Amavis configured.  I must have done
> something wrong with that.  Here is a copy of my master.cf file.  Would
> you be able to tell me what I have set wrong?

> 127.0.0.1:10025 inet n    -       n       -       -     smtpd
>    -o content_filter=
[...]
>    -o receive_override_options=no_header_body_checks,
>         no_unknown_recipient_checks,no_milters

You can add 'no_address_mappings' to the list in receive_override_options.
It turns off automatic BCC, among other things. See:

  http://www.postfix.org/postconf.5.html#receive_override_options

It this option is too strong (e.g. you don't want recipient_bcc_maps
on port 10025, yet you do want canonical or virtual alias map expansion
after a content filter), then you need to use a more complicated
solution with two cleanup services (or two Postfix instances).

See:
  http://www.ijs.si/software/amavisd/README.postfix.html
  -> Multiple cleanup service architecture


Mark

Reply via email to