On 1/14/2013 7:15 PM, Robert Moskowitz wrote: > > On 01/14/2013 04:47 PM, Wietse Venema wrote: >> Robert Moskowitz: >>> For some users I would like to redirect spam to special addresses. >> If the content filter can add a header, then Postfix can trigger a >> REDIRECT action with header_checks. This will override all >> recipients. > > OK. I will read up on header_checks, and be back. > > Thanks. > >
The typical way a header_check REDIRECT would work is something like /^Subject: \*\*\* SPAM/ REDIRECT spambox@localhost where spambox is a preselected quarantine account for all spam. Note that tagged spam for all users will go to the same quarantine account, which is OK for a home/very small office. Other commonly used and more scalable options are using procmail or sieve during delivery to put mail marked as spam into a specific folder, or using amavisd-new to add an address extension. Of course these also require a little more setup, and may even require some re-engineering of your mail plant. -- Noel Jones