Re: PHP script for removing/forwarding suspected spam from pop3 mailbox

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 11, 2005 at 02:39:57PM +0100 or thereabouts, I. Gray wrote:
> Hi.
> 
> I'd like to find or write a script that I can run every so often (hourly 
> for example) from cron that will check my pop3 mailboxes for any emails 
> with ****SPAM**** in the subject line and either delete them or forward 
> them to another email address.  The best way would be to bundle all the 
> emails together and forward these as attachments to another email 
> address that I would use as spam.

Why use PHP for this, I would use procmail and filter at the tail of the
SpamAssassin rule.

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux