Purging spam mails

Craig White craigwhite at azapple.com
Mon Nov 6 08:00:21 EST 2006


On Mon, 2006-11-06 at 15:01 +0400, Rajeev R Veedu wrote:
> I have a Postfix + Cyrus mail setup + clamav+spam assassin mail setup.
> I have created a rule to move all mails tagged as “Possible Spam” to
> user.inbox.spam folder.  Now I would like to have a method to delete
> these spam e-mails if they are a week older. 
> 
>  
> 
> Could someone please tell me how I could delete all mails in every
> user’s   inbox.Spam folder if they are a week older? 
> 
>  
> 
> Any support or guidance would be really appreciated.
> 
----
  # purge SPAMBOX messages over 7 days old
  purgebulk   cmd="ipurge -f -d  7 user.*.SPAMBOX" at=230

or in your case... user.*.Spam

Craig




More information about the Info-cyrus mailing list