Ok...

the configure.pl:

$CONFIG{'DSPAM_ARGS'}   = "--deliver=innocent --class=innocent " .
"--source=error --user %CURRENT_USER% -d % u";

and index.cgi:

$CONFIG{'DSPAM_ARGS'} =~ s/%CURRENT_USER%/$CURRENT_USER/g;

I will reproduce this command with the correct user..

I have one more question, the -d option is the user of dspam?

Thanks!

On Jun 5, 2007, at 12:11 PM, John Peacock wrote:

Ítalo Rossi wrote:
IMAP authentication, the $CURRENT_USER works correctly...
I have an idea, I will restore the backup of lost message and deliver by command line: /bin/dspam --source=error --class=innocent --signature="xxxxxx" -- user [EMAIL PROTECTED] This command should receive a message from my quarantine that have a signature ID especified and deliver to the next hop, amavis, ok?

Ummm, no, that command merely updates the tokens in the database. It doesn't actually resend the message itself; that happens in ProcessFalsePositive() instead. You have to actually resubmit the message itself to dspam to both redeliver and retrain (see the $CONFIG{'DSPAM_ARGS'} line in configure.pl for the appropriate stanza).

I still think the $CURRENT_USER is mismatched between what dspam thinks the UID should be and what the user logged in as, which would have exactly this behavior...

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