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!

Remove old unused mailbox

Discussion in 'E-mail Discussion' started by pixel, Apr 19, 2008.

  1. pixel

    pixel Member

    Joined:
    May 30, 2002
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    301
    Hello,

    Is there a way to find all mailbox that are not used (pop3 or imap login) from more than 6 months?

    I need this information to create a script to remove all old mail account

    Thank you!

    Nicolas
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Perhaps you may wish to scan the IMAP/POP3 logs for this information, such as /var/log/maillog and /var/log/messages. Webmail logins are logged in /usr/local/cpanel/logs/access_log
     
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