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!

Delete emails from spam box older than x days

Discussion in 'E-mail Discussion' started by Netmaking, Dec 1, 2004.

  1. Netmaking

    Netmaking Member

    Joined:
    Feb 28, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    151
    Hi,

    I recently enabled spam assassin and spam box for my own domain, and it has worked wonders. However, I don't appreciate having to manually empty the spam box every now and then.

    It would be very useful if there was a feature that would remove messages in the spam box older than x days. Is this a spam assassin feature request or a cpanel feature request?

    And would anyone else benefit from such a features?

    Thanks in advance !

    Sincerely,

    Eirik Johansen
     
  2. elleryjh

    elleryjh Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    479
    Likes Received:
    0
    Trophy Points:
    166
    Sounds like a good idea, but I doubt they will implement it. You could write a php or perl script to connect to imap or pop and delete old messages in the spam box.
     
  3. VexT

    VexT Active Member

    Joined:
    Nov 15, 2003
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    156
    I imagine you want a server-side solution for that but...

    A mail client set up with emailaddy@domain.com/spam as the username and a ruleset that deletes messages when you delete from your client and/or after so many days would do the trick.
     
  4. Netmaking

    Netmaking Member

    Joined:
    Feb 28, 2003
    Messages:
    14
    Likes Received:
    0
    Trophy Points:
    151
    Hi guys,

    Yes, I could of course write the script myself, but I imagine that this is something that would be useful to most people using the spam box feature.

    elleryjh: Why do you think they won't implement it?

    - Eirik
     
  5. elleryjh

    elleryjh Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    479
    Likes Received:
    0
    Trophy Points:
    166
    I don't know... it just seemed like something that was too specialized. It would be a nice addition though.
     
Loading...

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