Hi,

I have postfix configured in a multi-instance setup in conjunction
with amavisd. I'm using always_bcc to create a copy of each email sent
or received.

The problem is that, while postfix appears to deliver the bcc-user
email separately from the other recipients, amavis somehow delivers to
all the recipients, including the bcc-user, as one email.

How do I configure always_bcc to bypass amavisd altogether so it isn't
processed at all?

# postconf -c /etc/postfix-116 always_bcc
always_bcc = bcc-user

I'm unsure what postconf details I can provide, so I'll instead just
provide the log entries.

Apr 21 10:58:24 xavier postfix-out/local[2682940]: 19D63305F4A09:
to=<bcc-u...@example.com>, relay=local, delay=0.01, delays=0.01/0/0/0,
dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail)

Apr 21 10:58:24 xavier postfix-116/smtp[2670710]: 2147710036E1C:
to=<bcc-u...@example.com>,relay=127.0.0.1[127.0.0.1]:10024, delay=3.3,
delays=1.2/0/0/2.1, dsn=2.0.0, status=sent (250 2.0.0 from
MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 19D63305F4A09)

Apr 21 10:58:24 xavier postfix-116/smtp[2670710]: 2147710036E1C:
to=<54...@example.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=3.3,
delays=1.2/0/0/2.1, dsn=2.0.0, status=sent (250 2.0.0 from
MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 19D63305F4A09)

Apr 21 10:58:24 xavier postfix-out/smtp[2680850]: 19D63305F4A09:
to=<54...@example.com>,relay=209.216.94.60[209.216.94.60]:25,
delay=0.08, delays=0.01/0/0.01/0.06, dsn=2.0.0, status=sent (250 2.0.0
Ok: queued as 1F9401B0E0FEE)

Apr 21 10:58:24 xavier amavis[2683075]: (2683075-03) g5Zwhwdfsn5D FWD
from <no-re...@agoda.com> ->
<bcc-u...@example.com>,<54...@example.com>, BODY=7BIT 250 2.0.0 from
MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 19D63305F4A09

Thanks,
Alex

Reply via email to