Sorry to respond so late.

>From subj I guess you're running from ports?


Yes I am.


>
>
> > I'm using dspam since some months now, all is running well, and I
> > train dspam by forwarding non-detected spam to "[email protected]" and
> > false-positives to "[email protected]".
> >
> > But I run into a problem since several days, I recompiled dspam to
> > switch database backend to PostgreSQL, and since this time, when I
> > forward false-positives to "[email protected]", dspam try to
> > deliver it after retraining instead of silently dropping it like it
> > does with " [email protected]".
>
> I doubt it has something to do with the DB you're using. Maybe you
> changed something else also?


I don't think so, but I can't be sure (and because of this problem, I tried
a lot of things but I still have the same problem). The fact is that dspam
is properly dropping mail sent to [email protected] but not mail sent to
[email protected]. So I thought it has something to do with the code (and
I'm not a coder).


>
>
> > I have those values into dspam.conf, and I use merged groups:
> >
> > ParseToHeaders on
> > ChangeModeOnParse on
> > ChangeUserOnParse off
>
> Please post:
> - dspam.conf (w/o commented lines)
> - your MTA setup related to dspam
> - dspam_prefs for the user the retrains is being done.


My dspam.conf:

Home /var/db/dspam
StorageDriver /usr/local/lib/libpgsql_drv.so
TrustedDeliveryAgent "/usr/sbin/sendmail"
TrustedDeliveryAgent "/usr/local/sbin/sendmail"
UntrustedDeliveryAgent "/usr/sbin/sendmail -G -i spam"
DeliveryHost        127.0.0.1
DeliveryPort        10027
DeliveryIdent       localhost
DeliveryProto       SMTP
QuarantineAgent       "/usr/libexec/sendmail/sendmail -f
[email protected] -G -i [email protected]"
OnFail error
Trust root
Trust mail
Trust mailnull
Trust smmsp
Trust daemon
Trust postfix
Trust dspam
Trust www
DebugOpt process spam fp classify fp corpus
TrainingMode toe
TestConditionalTraining on
Feature whitelist
Algorithm burton
Tokenizer chain
PValue markov
WebStats on
Preference "spamAction=tag"
Preference "showFactors=on"
Preference "spamSubject=[SPAM]"
AllowOverride localStore
AllowOverride trainingMode
AllowOverride spamAction spamSubject
AllowOverride statisticalSedation
AllowOverride enableBNR
AllowOverride enableWhitelist
AllowOverride signatureLocation
AllowOverride showFactors
AllowOverride optIn optOut
AllowOverride whitelistThreshold
PgSQLServer        /tmp
PgSQLUser       dspam
PgSQLPass
PgSQLDb            dspam
PgSQLConnectionCache    5
PgSQLUIDInSignature    on
HashRecMax        98317
HashAutoExtend        on
HashMaxExtents        0
HashExtentSize        49157
HashPctIncrease 10
HashMaxSeek        10
HashConnectionCache    10
IgnoreHeader X-Virus-Scanned
Notifications    off
PurgeNeutral   90
LocalMX 127.0.0.1 192.168.1.226 192.168.1.228 212.108.2.58
SystemLog on
UserLog   on
Opt out
TrackSources spam
ParseToHeaders on
ChangeModeOnParse on
ChangeUserOnParse off
Broken case
Broken lineStripping
MaxMessageSize 20971520
ClamAVPort    3310
ClamAVHost    127.0.0.1
ClamAVResponse reject
ServerQueueSize    32
ServerPID              /var/run/dspam.pid
ServerMode standard
ServerParameters    "--deliver=innocent"
ServerIdent        "smtp.synbra.com"
ServerDomainSocketPath  "/var/run/dspam.sock"
ClientHost    /var/run/dspam.sock
ClientIdent    "sec...@relay1"
ProcessorURLContext on
ProcessorBias off


My master.cf:

smtp     inet  n       -       n       -       -       smtpd
   -o content_filter=lmtp:unix:/var/run/dspam.sock
   -o local_recipient_maps=
   -o receive_override_options=no_header_body_checks
   -o smtpd_delay_reject=no
   -o smtpd_client_restrictions=reject_unauth_pipelining
   -o mynetworks=127.0.0.0/8,192.168.1.226/32,192.168.0.0/16
   -o smtpd_error_sleep_time=0
   -o smtpd_soft_error_limit=1001
   -o smtpd_hard_error_limit=1000
   -o smtpd_client_connection_count_limit=0
   -o smtpd_client_connection_rate_limit=0

localhost:10027 inet    n    -    n    -    16    smtpd
   -o content_filter=
   -o
receive_override_options=no_unknown_recipient_checks,no_header_body_checks
   -o smtpd_helo_restrictions=
   -o smtpd_client_restrictions=
   -o smtpd_sender_restrictions=
   -o smtpd_recipient_restrictions=permit_mynetworks,reject
   -o mynetworks=127.0.0.0/8
   -o smtpd_authorized_xforward_hosts=127.0.0.0/8

My transport table (needed because I bypass dspam for all outgoing mails but
spam and notspam addresses, so I redirect these address into dspam with
transport table):

[email protected] lmtp:unix:/var/run/dspam.sock
[email protected] lmtp:unix:/var/run/dspam.sock

Preferences (from SQL) for a user having the problem:

uid    preference    value
19130    spamSubject    [SPAM]
19130    statisticalSedation    5
19130    enableBNR    on
19130    optOut    off
19130    optIn    off
19130    trainingMode    TOE
19130    showFactors    on
19130    spamAction    quarantine
19130    enableWhitelist    on
19130    signatureLocation    message
19130    localStore    19130

These bank lines makes it very hard to read.
>

Sorry Gmail mess things up sometimes. I hope It will be better this time.

-- 
Laurent Cligny
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to