[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
Page 1 of 1

Junk Filter

PostPosted: Thu Apr 28, 2005 5:04 am
by ericjacobowitz
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

PostPosted: Thu Apr 28, 2005 1:20 pm
by Michael
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.

PostPosted: Thu Apr 28, 2005 2:02 pm
by Slaven
That's correct unfortunately, there is no automatic way to do both at this point in time.