Hi,

MySQLUIDInSignature it's already set...

Today I had a similar problem, one message wasn't sent to the postfix reinjection path after a client releases from quarantine, the command to release was:

system("$CONFIG{'DSPAM'} --source=error --class=" . quotemeta ($retrain) . " --signature=" . quotemeta($signature) . " --user " . quotemeta("$CURRENT_USER"));

in this case, the signature of message on database already exists but the message wasn't sent...

I can't see anything in the postfix or amavis logs, so I believe that message was dropped again by dspam...

my scenario:  postfix -> dspam -> amavis ->  postfix reinjection path

Is there anyone else with this problem? What can I do in this case?

my master.cf contains:

smtp      inet  n       -       -       -       -       smtpd
    -o content_filter=lmtp:unix:/tmp/dspam.sock

Reinjection path:

localhost:10025 inet  n -       n       -       -        smtpd
    -o content_filter=
-o receive_override_options=no_unknown_recipient_checks,no_header_body_chec ks
    -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



I´m using DSPAM 3.6.8 runnig on debian etch, my dspam.conf is:

Home /var/dspam
StorageDriver /lib/libmysql_drv.so
DeliveryHost        127.0.0.1
DeliveryPort        10024
DeliveryIdent       hermes.digi.com.br
DeliveryProto       SMTP
OnFail error
Trust root
Trust mail
Trust mailnull
Trust smmsp
Trust daemon
Trust postfix
Trust nobody
Trust dspam
Trust www-data
Trust amavis
Trust clamav
TrainingMode toe
TestConditionalTraining on
Feature chained
Feature whitelist
Algorithm graham burton
PValue graham
Preference "spamAction=quarantine"
Preference "signatureLocation=headers"  # 'message' or 'headers'
Preference "showFactors=on"
AllowOverride trainingMode
AllowOverride spamAction spamSubject
AllowOverride statisticalSedation
AllowOverride enableBNR
AllowOverride enableWhitelist
AllowOverride signatureLocation
AllowOverride showFactors
AllowOverride optIn optOut
AllowOverride whitelistThreshold
MySQLServer     ***********
MySQLUser               ********
MySQLPass               ********
MySQLDb                 ******
MySQLConnectionCache    15
MySQLUIDInSignature    on
HashRecMax              98317
HashAutoExtend          on
HashMaxExtents          0
HashExtentSize          49157
HashMaxSeek             100
HashConnectionCache     10
Notifications   off
PurgeSignatures 50          # Stale signatures
PurgeNeutral    90          # Tokens with neutralish probabilities
PurgeUnused     90          # Unused tokens
PurgeHapaxes    50          # Tokens with less than 5 hits (hapaxes)
PurgeHits1S     50          # Tokens with only 1 spam hit
PurgeHits1I     50          # Tokens with only 1 innocent hit
LocalMX 127.0.0.1
SystemLog on
UserLog   on
Opt out
ParseToHeaders on
ChangeModeOnParse on
ChangeUserOnParse on
Broken case
ServerPID              /var/run/dspam.pid
ServerMode auto
ServerParameters        "--deliver=innocent"
ServerIdent             "hermes.digi.com.br"
ServerDomainSocketPath  "/var/spool/postfix/tmp/dspam.sock"
ProcessorBias on

On Jun 4, 2007, at 2:14 PM, John Peacock wrote:

Ítalo Rossi wrote:
So, the message was dropped because it doesn't had a valid signature for any purpose.. Is there any way to tell dspam to deliver the message besides discard then?

Since you are reinjecting messages from quarantine back through dspam, you need to make sure that dspam is called the second time exactly like it is called the first time (i.e. when your MDA attempted the initial delivery). I would suspect that this is because the envelope sender isn't being set properly. It isn't that dspam can't locate that signature, it is that doesn't have the correct user to match with the signature in the message (it's a weakness of the general dspam design). It may work fine if you set:

        MySQLUIDInSignature on

which will include the UID in the signature, for just this eventuality.

However, since you didn't give us any clues how you have dspam configured to run, or even the version of dspam you are running, I'm just shooting in the dark.

John

--
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748


--
Ítalo Rossi
Administração de redes
Diginet Brasil
[EMAIL PROTECTED]
(+55) 84 4008-9000


Esta mensagem, incluindo seus anexos, pode conter informação confidencial e/ou privilegiada. Se você não for o destinatário ou a pessoa autorizada a receber
esta mensagem, não pode usar, copiar ou divulgar as informações nela
contidas ou tomar qualquer ação baseada nessas informações. Se você
recebeu esta mensagem por engano, por favor avise imediatamente o
remetente, respondendo o e-mail e em seguida apague-o. Agradecemos sua
cooperação.

This message, including its attatchments, may contain confidential and/or privileged information. If you are not the recipient or authorized person to receive this message, you must not use, copy, disclose or take any action based
on this message or any information herein. If you received this message
by mistake, please advise the sender immediately by replying the e- mail and
deleting this message. Thank you for your cooperation.




Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to