I implemented spamassassin mailfiltering in my postfix setup using the
-o content_filter=spamassassin
and a transport like this:
spamassassin unix - n n - - pipe
user=spamassassin argv=/usr/bin/spamc -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
Next, I would like to implement user-based spamassassin preferences by sql using the user_prefs
option as described here.
- How is this setup going to handle aliases?
- Is spamassassin going to be called BEFORE alias expansion?
- If this is the case, the whole user based preferences configuration is pretty much ruined. Are there any ways to implement complete user based preferences even with aliases?