Skip to content

Instantly share code, notes, and snippets.

@sparr
Created November 20, 2014 21:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sparr/fb8050b6c45ffcff1a7b to your computer and use it in GitHub Desktop.
Save sparr/fb8050b6c45ffcff1a7b to your computer and use it in GitHub Desktop.
dspam.debug upon arrival of email whose signature does not get saved to dspam_signature_data table
5398: [11/20/2014 13:34:09] connection id 35 from 123.45.67.62.
5398: [11/20/2014 13:34:09] checking trusted user list for dspam(108)
5398: [11/20/2014 13:34:09] No QuarantineAgent option found. Using standard quarantine.
5398: [11/20/2014 13:34:09] using database handle id 5
5398: [11/20/2014 13:34:09] handle locked
5398: [11/20/2014 13:34:09] DSPAM Instance Startup
5398: [11/20/2014 13:34:09] input args: dspam --deliver=innocent
5398: [11/20/2014 13:34:09] pass-thru args:
5398: [11/20/2014 13:34:09] processing user user@domain.com
5398: [11/20/2014 13:34:09] uid = 108, euid = 108, gid = 115, egid = 115
5398: [11/20/2014 13:34:09] loading preferences for user user@domain.com
5398: [11/20/2014 13:34:09] _mysql_drv_getpwnam: successful returning struct for name: user@domain.com
5398: [11/20/2014 13:34:09] Loading preferences for uid 3
5398: [11/20/2014 13:34:09] Loading preferences for uid 0
5398: [11/20/2014 13:34:09] loaded default preferences externally
5398: [11/20/2014 13:34:09] using /var/spool/dspam/opt-in/domain.com/user.dspam as path
5398: [11/20/2014 13:34:09] using /var/spool/dspam/opt-out/domain.com/user.nodspam as path
5398: [11/20/2014 13:34:09] sedation level set to: 1
5398: [11/20/2014 13:34:09] _mysql_drv_getpwnam: successful returning struct for name: user@domain.com
5398: [11/20/2014 13:34:09] Connecting to 127.0.0.1:3310 for virus check
5398: [11/20/2014 13:34:09] Connecting to 127.0.0.1:1223 for virus stream transmission
5398: [11/20/2014 13:34:09] _mysql_drv_getpwnam returning cached name user@domain.com.
5398: [11/20/2014 13:34:09] Loading 52 BNR patterns
5398: [11/20/2014 13:34:09] _mysql_drv_getpwnam returning cached name user@domain.com.
5398: [11/20/2014 13:34:09] Whitelist threshold: 10
5398: [11/20/2014 13:34:09] [graham] [0.000310] From*root@web01.domain.com (Cron Daemon) (1frq, 0s, 19221i)
5398: [11/20/2014 13:34:09] [burton] [0.000310] From*root@web01.domain.com (Cron Daemon) (1frq, 0s, 19221i)
5398: [11/20/2014 13:34:09] [graham] [0.010000] Subject*RAILS_ENV=production (1frq, 0s, 51i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] Subject*RAILS_ENV=production (1frq, 0s, 51i)
5398: [11/20/2014 13:34:09] [graham] [0.010000] your+locale (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] your+locale (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [graham] [0.010000] Received*web01.domain.com+(Postfix (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] Received*web01.domain.com+(Postfix (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [graham] [0.010000] will+default (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] will+default (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [graham] [0.010000] enforce_available_locales+= (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] enforce_available_locales+= (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [graham] [0.010000] Subject*/var/web/appname/current (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] Subject*/var/web/appname/current (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [graham] [0.010000] Received*(web01.domain.com (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] Received*(web01.domain.com (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [graham] [0.010000] X-Cron-Env*<PATH=/home/deploy/.rbenv/shims (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] X-Cron-Env*<PATH=/home/deploy/.rbenv/shims (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [graham] [0.010000] Received*from+web01.domain.com (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] Received*from+web01.domain.com (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [graham] [0.010000] DKIM-Signature*to+subject (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] DKIM-Signature*to+subject (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [graham] [0.010000] Subject*sync (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] Subject*sync (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [graham] [0.010000] skip+validation (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] skip+validation (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [graham] [0.010000] X-Cron-Env*/home/deploy/.rbenv/bin (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] X-Cron-Env*/home/deploy/.rbenv/bin (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [graham] [0.010000] X-Cron-Env*<LOGNAME=deploy> (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] X-Cron-Env*<LOGNAME=deploy> (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] Received*from+mail02.domain.com (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] DKIM-Signature*c=simple (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] Subject*&& (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] Received*web01.domain.com+(web01.domain.com (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] Subject*Cron+<deploy (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] From*web01.domain.com (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] Received*web01.domain.com (2frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] Received*web01.domain.com (2frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] DomainKey-Signature*to (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] avoid+this (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] to+skip (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] [burton] [0.010000] set+I18n (1frq, 0s, 50i)
5398: [11/20/2014 13:34:09] Graham-Bayesian Probability: 0.000000 Samples: 15
5398: [11/20/2014 13:34:09] Burton-Bayesian Probability: 0.000000 Samples: 27
5398: [11/20/2014 13:34:09] no factors specified; using default
5398: [11/20/2014 13:34:09] Result Confidence: 0.99
5398: [11/20/2014 13:34:09] auto-whitelisting this message
5398: [11/20/2014 13:34:09] _mysql_drv_getpwnam returning cached name user@domain.com.
5398: [11/20/2014 13:34:09] Control: [10 10] [10 11] Delta: [0 1]
5398: [11/20/2014 13:34:09] total processing time: 0.03335s
5398: [11/20/2014 13:34:09] _mysql_drv_getpwnam returning cached name user@domain.com.
5398: [11/20/2014 13:34:09] saving signature as 546e423153989760964788
5398: [11/20/2014 13:34:09] libdspam returned probability of 0.000000
5398: [11/20/2014 13:34:09] message result: NOT SPAM
5398: [11/20/2014 13:34:09] _mysql_drv_getpwnam returning cached name user@domain.com.
5398: [11/20/2014 13:34:09] delivering message
5398: [11/20/2014 13:34:09] Establishing connection to 127.0.0.1:10035
5398: [11/20/2014 13:34:09] Connection established
5398: [11/20/2014 13:34:09] DSPAM Instance Shutdown. Exit Code: 0
5398: [11/20/2014 13:34:09] checking trusted user list for dspam(108)
@sparr
Copy link
Author

sparr commented Nov 21, 2014

This behavior is caused by the TrainPristine option, which results in silent skipping of saving the signature to the backend (db or otherwise).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment