On Mon, May 17, 2010 at 1:19 PM, Norman Uittenbogaart <norm...@gmail.com>wrote:

> I don't know. But if that number above is a date then I would say: Yes! It
>> is fixed in that version.
>>
>
The below is what I did, but it is not working, it bounces the email back to
the one who is sending it.
Any ideas on how to solve this ?

 The Simple Way:


     If you are using the MySQL or PgSQL storage drivers, the original
     numeric user id can be embedded in the signature, requiring only one
     central spam alias to be necessary for the entire system. To configure

     this, uncomment the appropriate UIDInSignature option in dspam.conf:

     # MySQLUIDInSignature    on
     # PgSQLUIDInSignature    on

     Now all you'll need is a single system-wide alias, and DSPAM will train

     the appropriate user when it sees the signature. An example of an alias
     might look like:

     spam:"|/usr/local/bin/dspam --user root --class=spam --source=error"

     Similarly, you may also wish to have a false-positive alias for users who

     prefer to tag spam rather than quarantine it:

     notspam:"|/usr/local/bin/dspam --user root --class=innocent --source=error"





>
>>
>> >
>> > Configuration parameters:  '--build' 'x86_64-linux-gnu'
>> > '--host=x86_64-linux-gnu' '--prefix=/usr'
>> '--disable-dependency-tracking'
>> > '--includedir=/usr/include' '--mandir=/usr/share/man'
>> > '--infodir=/usr/share/info' '--enable-split-configuration'
>> '--enable-static'
>> > '--enable-external-lookup' '--enable-syslog'
>> '--with-logdir=/var/log/dspam/'
>> > '--localstatedir=/var' '--libexecdir=/usr/lib/dspam' '--srcdir=./'
>> > '--with-dspam-home=/var/spool/dspam' '--sysconfdir=/etc/dspam'
>> > '--enable-domain-scale' '--with-delivery-agent=/usr/bin/procmail'
>> > '--enable-daemon' '--with-mysql-includes=/usr/include/mysql'
>> > '--with-pgsql-includes=/usr/include/postgresql'
>> > '--with-storage-driver=mysql_drv,pgsql_drv,sqlite3_drv,hash_drv'
>> > '--enable-debug' '--enable-virtual-users'
>> '--enable-preferences-extension'
>> > '--enable-clamav' 'build_alias=x86_64-linux-gnu'
>> > 'host_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -O2' 'LDFLAGS=' 'CPPFLAGS='
>> > 'CXXFLAGS=-g -O2' 'FFLAGS=-g -O2'
>> >
>> Could you post your dspam.conf as well (just mask sensitive information
>> before posting that dspam.conf file).
>>
>>
> Below is my config,
>
>
>
> Home /var/spool/dspam
> StorageDriver /usr/lib/dspam/libmysql_drv.so
> TrustedDeliveryAgent "/usr/bin/procmail"
> DeliveryHost            127.0.0.1
> DeliveryPort            10025
> DeliveryIdent           localhost
> DeliveryProto           SMTP
> OnFail error
> Trust root
> Trust dspam
> Trust www-data
> Trust mail
> Trust daemon
> Trust postfix
> TrainingMode teft
> TestConditionalTraining on
> Feature noise
> Feature whitelist
> Algorithm graham burton
> Tokenizer chain
> PValue bcr
> WebStats on
> Preference "trainingMode=TEFT"          # { TOE | TUM | TEFT | NOTRAIN } ->
> default:teft
> Preference "spamAction=quarantine"      # { quarantine | tag | deliver } ->
> default:quarantine
> Preference "spamSubject=[SPAM]"         # { string } -> default:[SPAM]
> Preference "statisticalSedation=5"      # { 0 - 10 } -> default:0
> Preference "enableBNR=on"               # { on | off } -> default:off
> Preference "enableWhitelist=on"         # { on | off } -> default:on
> Preference "signatureLocation=message"  # { message | headers } ->
> default:message
> Preference "tagSpam=off"                # { on | off }
> Preference "tagNonspam=off"             # { on | off }
> Preference "showFactors=off"            # { on | off } -> default:off
> Preference "optIn=off"                  # { on | off }
> Preference "optOut=off"                 # { on | off }
> Preference "whitelistThreshold=10"      # { Integer } -> default:10
> Preference "makeCorpus=off"             # { on | off } -> default:off
> Preference "storeFragments=on"          # { on | off } -> default:off
> Preference "localStore="                # { on | off } -> default:username
> Preference "processorBias=on"           # { on | off } -> default:on
> Preference "fallbackDomain=off"         # { on | off } -> default:off
> Preference "trainPristine=off"          # { on | off } -> default:off
> Preference "optOutClamAV=on"            # { on | off } -> default:off
> Preference "ignoreRBLLookups=off"       # { on | off } -> default:off
> Preference "RBLInoculate=off"           # { on | off } -> default:off
> Preference "notifications=off"          # { on | off } -> default:off
> AllowOverride enableBNR
> AllowOverride enableWhitelist
> AllowOverride fallbackDomain
> AllowOverride ignoreGroups
> AllowOverride ignoreRBLLookups
> AllowOverride localStore
> AllowOverride makeCorpus
> AllowOverride optIn
> AllowOverride optOut
> AllowOverride optOutClamAV
> AllowOverride processorBias
> AllowOverride RBLInoculate
> AllowOverride showFactors
> AllowOverride signatureLocation
> AllowOverride spamAction
> AllowOverride spamSubject
> AllowOverride statisticalSedation
> AllowOverride storeFragments
> AllowOverride tagNonspam
> AllowOverride tagSpam
> AllowOverride trainPristine
> AllowOverride trainingMode
> AllowOverride whitelistThreshold
> AllowOverride dailyQuarantineSummary
> AllowOverride notifications
> MySQLServer             /var/run/mysqld/mysqld.sock
> MySQLUser               libdspam7-drv-my
> MySQLPass               *******
> MySQLDb                 libdspam7drvmysql
> MySQLCompress           true
> MySQLReconnect          true
> MySQLUIDInSignature     on
> HashRecMax              98317
> HashAutoExtend          on
> HashMaxExtents          0
> HashExtentSize          49157
> HashPctIncrease         10
> HashMaxSeek             10
> HashConnectionCache     10
>                                                         # 'strict' enforces
> both verify and map
>                                                         # There are plans
> to support both MySQL and Postgres.
>                                                         # an executable
> lookup program and its arguments.
>                                                         # and ExtLookupMode
> 'map' or 'strict'
> Notifications   off
> PurgeSignatures 14      # Stale signatures
> PurgeNeutral    90      # Tokens with neutralish probabilities
> PurgeUnused     90      # Unused tokens
> PurgeHapaxes    30      # Tokens with less than 5 hits (hapaxes)
> PurgeHits1S     15      # Tokens with only 1 spam hit
> PurgeHits1I     15      # Tokens with only 1 innocent hit
> LocalMX 127.0.0.1
> SystemLog       on
> UserLog         on
> Opt out
> ClamAVPort              3310
> ClamAVHost              127.0.0.1
> ClamAVResponse          reject
> ServerMode standard
> ServerParameters        "--deliver=innocent -d %u"
> ServerIdent             "localhost.localdomain"
> ServerDomainSocketPath  "/var/run/dspam/dspam.sock"
> ProcessorURLContext on
> ProcessorBias on
> StripRcptDomain off
> Include /etc/dspam/dspam.d/
>
>
>
------------------------------------------------------------------------------

_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to