>> I have a mailserver running postfix and spamassassin. I have a user >> 'user1' and an alias 'alias1', like this in /etc/aliases: > Two obvious things to check: > 1) did you run 'newaliases' to rebuild the aliases database?
Positive. The mail is delivered to the right place, it just doesn't get the bayes checks done (or check the user's whitelist, or anything that needs access to their home directory) > 2) As there is more than one way to call SA from Postfix, are you sure that > Postfix has rewritten the To: header before passing the message to SA? I'm not sure, no. I'm using the milter interface (see the main.cf snippet from the previous message), which as I understand it receives "events" from postfix as they happen (so that it can reject at SMTP-time emails with a very high score). So my guess is that very little has been done by postfix by the time spamassassin sees it