Re: [AMaViS-user] sa-learn when releasing from mysql/AM.PDP

2009-05-19 Thread Mark Martinec
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

Re: [AMaViS-user] sa-learn when releasing from mysql/AM.PDP

2009-04-30 Thread LEVEAU Stanislas
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

Re: [AMaViS-user] sa-learn when releasing from mysql/AM.PDP

2009-04-25 Thread Mark Martinec
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

Re: [AMaViS-user] sa-learn when releasing from mysql/AM.PDP

2008-05-28 Thread Mark Martinec
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

Re: [AMaViS-user] sa-learn when releasing from mysql/AM.PDP

2008-05-27 Thread Nuno Fernandes
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 {

Re: [AMaViS-user] sa-learn when releasing from mysql/AM.PDP

2008-05-23 Thread Mark Martinec
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