My mail server is set up so that spam mails are discarded, sent to a quarantine and then to the users´s maildirs without problems (except that in the process messages become not readable because there is no separation between headers and body! but that´s another story: see post http://www.howtoforge.com/forums/showthread.php?t=40373
). As for their spammy condition they get correctly tagged by spamassassin in the headers and everything is fine.
So now I´m thinking about sending spam to the users inbox, so these are the settings in 20-debian_defaults:
#$QUARANTINEDIR = "$MYHOME/virusmails"; # spam quarantine, not for virus
$sa_spam_subject_tag = '***SPAM*** ';
$final_spam_destiny = D_PASS;
#$final_spam_destiny = D_DISCARD;
The log is like that (it looks fine):
Oct 27 11:55:49 correo amavis: (19570-04) Passed SPAM, [220.127.116.11] [18.104.22.168] <email@example.com> -> <firstname.lastname@example.org>, Message-ID: <20091027105542.544A8CF01D7@domain.com>, mail_id: 0h6TxrVntCmK, Hits: 8.889, 6440 ms
Oct 27 11:56:06 correo amavis: (19430-09) Passed SPAM, [22.214.171.124] [126.96.36.199] <email@example.com> -> <firstname.lastname@example.org>, Message-ID: <20091027105544.3E119CF019C@domain.com>, mail_id: WXjelE-+xN63, Hits: 17.76, 8265 ms
The spam mail gets OK (they are readable) in the user´s inbox but they don´t get tagged in the headers nor in the subject so it will be certainly difficult for the users to know about what is spam and what is not. Any ideas?