Stanislas,
> > For the time being, one can either:
> >
> > - snatch a message from a quarantine (easier with file-based quarantine),
> > and feed it to 'spamassassin --report' or --revoke, or to sa-learn
> >
> > - release from a quarantine to a dedicated recipient address
> > (overriding reci
Hi,
Thanks for your answer.
Mark Martinec a écrit :
> Stan,
>
>
>> sa-learn when releasing from mysql/AM.PDP is currently not available
>>
>
> Right. I realize that would be a useful feature.
>
Oh yes! ;)
> For the time being, one can either:
>
> - snatch a message from a quarantine (e
Stan,
> sa-learn when releasing from mysql/AM.PDP is currently not available
Right. I realize that would be a useful feature.
For the time being, one can either:
- snatch a message from a quarantine (easier with file-based quarantine),
and feed it to 'spamassassin --report' or --revoke, or t
Nuno,
> sub sa_learn {
> my($msginfo) = @_;
> # reconstruct message from msginfo to temp file
> my $mail = reconstruct_mail($msginfo);
> open SA, "| sa-learn --no-sync --ham --single";
> print SA $mail;
> close SA;
> }
>
> How can i reconstruct the message text from $msginfo obj
Hi,
For what i'm reading in the source,
sub dispatch_from_quarantine($$$) {
my($conn,$msginfo,$request_type) = @_;
my($err);
eval {
msg_from_quarantine($conn,$msginfo,$request_type); # fill msg object info
mail_dispatch($conn,$msginfo,0,1);# re-send the mail
1;
} or do {
Nuno,
> Does amavisd-new learn not spam messages when releasing the mail using
> AM.PDP? I would like to do sa-learn when a mail is released from mysql
> quarantine: sa-learn --no-sync --spam --single
> Does amavisd-does that? Is there any hook where i can put that?
This is currently not availabl