* Chris Adams <cmad...@hiwaay.net>: > I'm configuring Postfix with SpamAssassin, using Spampd as a > before-queue filter. I put "/^X-Spam-Flag: YES/ REJECT Spam detected" > in /etc/postfix/header_checks, and that works (spam is rejected during > SMTP as desired). > > However, it would be nice to _also_ keep a copy of the rejected messages > somewhere for later analysis. Either deliver them to a special local > user, hold in the queue, or whatever else is convenient. Is there an > easy way to do this? > > I guess I could modify Spampd to save a copy of spam messages, but I was > hoping there might be a way to configure Postfix to do this. > > If it matters, this is Postfix 2.6.6 on CentOS 6.
Postfix can't do that. amavis can do if you run it pre-queue. p@rick -- All technical questions asked privately will be automatically answered on the list and archived for public access unless privacy is explicitely required and justified. saslfinger (debugging SMTP AUTH): <http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>