I have configured the training mode TOE in dspam.conf and Preference
"signatureLocation=message"
/etc/dspam/dspam.d/mysql.conf has the option set to include the uid in
the signature:
MySQLUIDInSignature on
Postfix is configured with an alias for adding false negatives and
another for false positives. Here's the one for false negatives:
[EMAIL PROTECTED] mail goes to this transport handler:
dspam-add unix - n n - - pipe
flags=Rhq user=dspam argv=/usr/bin/dspam --mode=toe --user
[EMAIL PROTECTED] --class=spam --source=error
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks=192.168.1.0/24
When I bounce or forward an email to these aliases, it is processed and
passed onto the handler:
Nov 5 17:54:55 void postfix/lmtp[17095]: D5A53167C2EF:
to=<[EMAIL PROTECTED]>,
relay=mail.example.com[/tmp/dspam.sock], delay=5.2,
delays=0.17/0.01/0.01/5, dsn=2.6.0, status=sent (250 2.6.0
<[EMAIL PROTECTED]> Message accepted for delivery)
But, it does not appear as if the UID is changed. The log that gets
written is for the "user" [EMAIL PROTECTED] (uid 6 in this
case), not the actual user (uid 4) that is in the message.
/var/spool/dspam/data/addspam.example.com/addspam/system.log:
1194314899 F Nicolas Bouthors <[EMAIL PROTECTED]>
6,472fcc83172559430321299 [***SPAM***] Re: [dspam-users] DSpam
Training Retrained <[EMAIL PROTECTED]>
And if you were to open the CGI, of course, the retraining is not
reflected there since the logs for the actual user were not updated.
Is this a known bug in dspam or am I missing a configuration setting to
get the uid to be changed? I tried not specifying a --user option to
dspam but it requires _something_ there. Am I supposed to use %u (e.g.
is this where the UID change is reflected) instead of a specific user?
Thanks
-J
!DSPAM:394,472fd0b5172552109915895!