This tells the story:
for my addspam user (uid 2):
6486: [11/06/2007 18:09:05] No QuarantineAgent option found. Using
standard quarantine.
6486: [11/06/2007 18:09:05] using database handle id 1
6486: [11/06/2007 18:09:05] handle locked
6486: [11/06/2007 18:09:05] DSPAM Instance Startup
*6486: [11/06/2007 18:09:05] input args: dspam --deliver=innocent *
6486: [11/06/2007 18:09:05] pass-thru args:
*6486: [11/06/2007 18:09:05] processing user [EMAIL PROTECTED]
6486: [11/06/2007 18:09:05] uid = 0, euid = 0, gid = 0, egid = 120
6486: [11/06/2007 18:09:05] loading preferences for user
[EMAIL PROTECTED]
*6486: [11/06/2007 18:09:05] Loading preferences for uid 2*
6486: [11/06/2007 18:09:05] Loading preferences for uid 0
6486: [11/06/2007 18:09:05] Loading preferences for uid 0
6486: [11/06/2007 18:09:05] default preferences empty. reverting to
dspam.conf preferences.
6486: [11/06/2007 18:09:05] Loading preferences from dspam.conf
6486: [11/06/2007 18:09:05] using
/var/spool/dspam/opt-in/addspam.example.com/addspam.dspam as path
6486: [11/06/2007 18:09:05] using
/var/spool/dspam/opt-out/addspam.example.com/addspam.nodspam as path
6486: [11/06/2007 18:09:05] adding user to merged group
[EMAIL PROTECTED]
6486: [11/06/2007 18:09:05] sedation level set to: 0
*6486: [11/06/2007 18:09:05] found signature '4,4730e7b7172559969213715'*
6486: [11/06/2007 18:09:06] Whitelist threshold: 10
....
6486: [11/06/2007 18:09:06] Graham-Bayesian Probability: 1.000000
Samples: 15
6486: [11/06/2007 18:09:06] Burton-Bayesian Probability: 1.000000
Samples: 27
6486: [11/06/2007 18:09:06] using Graham factors
6486: [11/06/2007 18:09:06] Result Confidence: 0.99
6486: [11/06/2007 18:09:06] Control: [10 10] [11 10] Delta: [1 0]
*6486: [11/06/2007 18:09:07] saving signature as 2,47311e4364861690312902*
6486: [11/06/2007 18:09:07] libdspam returned probability of 1.000000
6486: [11/06/2007 18:09:07] message result: SPAM
6486: [11/06/2007 18:09:07] Establishing connection to 127.0.0.1:10026
6486: [11/06/2007 18:09:07] Connection established
6486: [11/06/2007 18:09:07] DSPAM Instance Shutdown. Exit Code: 0
And I get similar results with my notspam user. So, dspam is seemingly
ignoring the directives to change UID and is using the uid of the fake
users.
I'll run a quick test with %u and see if that looks the same.
-Jason
Sydney Bogaert wrote:
This user is a real user (from dspam's perspective). I have
a virtual_aliases table set up in MySQL and this user has id #6.
If it is switching the UID, shouldn't it be writing to the
actual user's system.log?
-J
Are you certain that the retraining address really use the transport
that you have setup ?
Do you have debug enabled ? Could you send us the portion of
dspam.debug corresponding to a retrain ?
Something like :
27110: [11/06/2007 16:57:12] DSPAM Instance Startup
27110: [11/06/2007 16:57:12] input args: /usr/bin/dspam ...
...
27110: [11/06/2007 16:57:12] delivering message
27110: [11/06/2007 16:57:12] DSPAM Instance Shutdown. Exit Code: 0
The "input args" line is important. It will tell you how dspam was
called.
Sydney.
!DSPAM:394,47311fd665181539742287!