[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 - Script to Modify Junk Mail Filtering

Script to Modify Junk Mail Filtering

Scripting questions and ideas

Moderators: Eric, Tomas, robin, Michael

Script to Modify Junk Mail Filtering

Postby cssutto » Sat Mar 25, 2006 4:22 am

I wish someone would write a script or modify in some way the junk mail filter option so that I could attach a script to the junk mail filter.

In other words, after the messages are filtered for junk mail, apply the desired script to the results.

CSSJR
cssutto
Drop-in Visitor
 
Posts: 7
Joined: Tue Mar 07, 2006 4:25 am

Re: Script to Modify Junk Mail Filtering

Postby Eric » Sat Mar 25, 2006 5:19 am

cssutto wrote:In other words, after the messages are filtered for junk mail, apply the desired script to the results.
What exactly do you want to do once the messages are filtered to your Junk mail folder :?:
Eric
 

Postby cssutto » Sat Mar 25, 2006 6:27 am

I intend to delete all messages determined to be junk.

I have worked out a set of filters and scripts that so far has given me a 100% certainty that email that ends up in the junk file is really junk.

I suppose that the .ini file could be altered to change the disposition of mail found to be junk by the junk mail filters, but I have not looked into that.

CSSJR
cssutto
Drop-in Visitor
 
Posts: 7
Joined: Tue Mar 07, 2006 4:25 am

Postby cssutto » Sat Mar 25, 2006 7:24 am

I forgot to mention that before delete, I would like to add the address of the sender to the banned senders list.

CSSJR
cssutto
Drop-in Visitor
 
Posts: 7
Joined: Tue Mar 07, 2006 4:25 am

Postby Eric » Sat Mar 25, 2006 8:40 am

cssutto wrote:I suppose that the .ini file could be altered to change the disposition of mail found to be junk by the junk mail filters, but I have not looked into that.
:!: I wouldn't touch that ini-file. Best to leave it alone as it can't help you with it.
I forgot to mention that before delete, I would like to add the address of the sender to the banned senders list.
Don't know about doing it automatically, but there's a script ban _sender_and_move_to_trash.poc
which only runs for the Junk folder in manual mode. :)

It may give you some ideas. :wink:
Eric
 


Return to PocoScript Help and How-To

Who is online

Users browsing this forum: No registered users and 1 guest

cron