Steve Dondley:
> > The info can be found in the maillog file, and the Received: headers
> > of the messages as delivered. Welcome to the vortex.
> 
> After a close inspection of the headers, I can see that all the email
> received have headers injected by spamassassin and this revealing
> line:
> 
> "Received: by email.example.com (Postfix, from userid 115)"
> 
> User 115 is "debian-spamd". So I'm guessing I must have configured SA
> poorly. I probably know even less about SA than postfix. :)

The content filter sends messages back info Postfix similar to
http://www.postfix.org/FILTER_README.html#simple_filter

It is worthwhile to know if the duplicates are caused by adding
multiple 'always_bcc' addresses to the same queue file.

Look for logging with "message-id=".

    Mar  4 01:05:05 mail postfix/cleanup[30124]: foo:
        message-id=<b...@some.mta.name

For each message-id value, there will be logging from before the
content filter, and logging from after the filter.

Look for "qmgr" logging with "foo", and note the "nrcpt=<number<>"
which indicates the number of recipients. Compare the numbers before
the content filter and after the content filter.

    Mar  4 01:05:05 mail postfix/qmgr[28026]: foo:
        from=<sen...@example.com>, size=1234, nrcpt=1 (queue active)

It will give an idea why you get three copies.

        Wietse

Reply via email to