Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Aging spam

Discussion in 'E-mail Discussion' started by Alejandro P, Apr 6, 2007.

  1. Alejandro P

    Alejandro P Well-Known Member

    Apr 6, 2007
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Is there any way to have the email automatically deleted after a number of days. for example googles maintains spam in the mailbox for about 30 days and the deletes it.

    I would like to enable spambox on my customers accounts, but this would cause mailboxes being full if the users doesn't login to delete email out the box, so I need aging the spambox without user intervention.

    I suppose this would be easily done by a shell script run by cron job. what do you think about? any recomendation is welcome.
  2. gldickens3

    gldickens3 Member

    Apr 17, 2007
    Likes Received:
    Trophy Points:
    Archivemail - Auto Deletes Spam

    Archivemail may be setup to delete mail in any folder for any user based on age (days old).

    Review and download:

    Its easy to setup w/ Python and easy to use w/ crontab.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice