> I have a postfix/SA setup and I was wondering if anyone > knew how to COPY an email marked as spam instead of > redirecting. > Not this: > /^X-Spam-Flag: YES/ REDIRECT spam...@example.com
Needs scripting. If the target spambox is on same server, a cp will do with correct owner adjustmetnts in the script, but if it is on some remote server, a more complex 'sendmail' call will be required (I have neved done this). I have a 'grabspam' script which copies spam-folder from specficified user to the spam-user. Nothing special in it, the email is just a file in the file system (if using Maildir -format).