On Thu, 2009-07-23 at 04:14 +0300, Jari Fredriksson wrote: > If you postfix calls SpamAssasin directly as configured > in /etc/postfix/master.cf I have no ideas. > I think you can run a script that calls spamc rather than spamc itself. The script could use grep or (better) awk[1] to search for specific headers, though of course this will impact performance. Caution: I haven't tried this, so proceed with caution.
[1] unlike grep, awk can be limited to scanning headers only. Martin