[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Notice: in file [ROOT]/includes/session.php on line 2208: Array to string conversion
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Poco Forums • View topic - Junk Filter

Junk Filter

Discussion on Bayesian and standard junk mail filters

Moderators: Eric, Tomas, robin, Michael

Junk Filter

Postby ericjacobowitz » Thu Apr 28, 2005 5:04 am

Is there a way when I click the CLASSIFY AS JUNK and MOVE that the sender also gets set to Banned?

Edit Eric: moved to Junk Mail Filtering
Eric Jacobowitz
ericjacobowitz
Resident Poster
 
Posts: 147
Joined: Tue Apr 19, 2005 12:52 am

Postby Michael » Thu Apr 28, 2005 1:20 pm

I'm not aware of one. The problem is that the "Classify as Junk" portion updates the Bayesian filter definitions before moving the message. There is no method for doing this from PocoScript, if there were then it would be possible to do this. I have asked for such a function but this will probably have to wait for a general PocoScript upgrade (due, I believe, in the next major release). An alternative and possible interim measure would be to have a command tag that could execute this action on the current message.

The closest you could come would be to add an "OnAdd" event to the "Junk Mail" mailbox. This would cause every sender whose message was placed in your junk mail mailbox to be added to the junk sender's list (the script could check so that it didn't duplicate entries). This would, however, be a problem if you ever had a false positive.
Michael
Moderator
 
Posts: 866
Joined: Mon Jul 26, 2004 12:14 pm
Location: Victoria BC, Canada

Postby Slaven » Thu Apr 28, 2005 2:02 pm

That's correct unfortunately, there is no automatic way to do both at this point in time.
Slaven Radic
Poco Systems Inc
Slaven
Poco Systems Inc
 
Posts: 1644
Joined: Fri Jul 23, 2004 7:37 pm


Return to Junk Mail Filtering Help and How-To

Who is online

Users browsing this forum: No registered users and 1 guest

cron