The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Strange issue while downloading emails localy

Discussion in 'E-mail Discussions' started by project, Dec 3, 2012.

  1. project

    project Member

    Joined:
    Oct 27, 2009
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Hello all!
    I am having the following issue with one of my clients.

    He downloads all email localy (using the mail client outlook express), but after some weeks the disk usage is full! Some emails are stored in the server (the mail folder) and i have to login via ftp and delete them manually.

    When i login via webmail, there are no emails in the inbox that i can delete.

    In outlook express the option of storing the email in server is unchecked.

    Whats the problem?? What should i do??
    Any idea would be helpful!

    Thank you
    Kostas
     
  2. project

    project Member

    Joined:
    Oct 27, 2009
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    Anyone?? I havent found a sollution with that..
     
  3. MaestriaNick

    MaestriaNick Well-Known Member

    Joined:
    Aug 6, 2008
    Messages:
    159
    Likes Received:
    3
    Trophy Points:
    18
    It looks like the mails are not being deleted from the server after downloading. Will need to check the maillogs in the server (/var/log/maillog) to see if the mails are getting deleted after fetching by the email client.
     
  4. project

    project Member

    Joined:
    Oct 27, 2009
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Greece
    cPanel Access Level:
    Root Administrator
    For this specific account, i only see login and logout logs. What should i search for?? Any specific command??

    Thanks
     
  5. mtindor

    mtindor Well-Known Member

    Joined:
    Sep 14, 2004
    Messages:
    1,279
    Likes Received:
    36
    Trophy Points:
    48
    Location:
    inside a catfish
    cPanel Access Level:
    Root Administrator
    1. Make sure the account is using POP3 for access and not IMAP.

    If they use IMAP, it's not going to delete messages from the server unless they specifically delete those messages from their local email client.

    2. IF you are using Courier [rather than Dovecot], then:

    1. edit /usr/lib/courier-imap/etc/pop3d

    a. find (and uncomment) this line: # POP3_LOG_DELETIONS=1
    b. /scripts/restartsrv_courier

    The above will log deletions to /var/log/maillog in this form:

    Dec 18 09:42:01 inspiron17r pop3d-ssl: DELETED, user=test@account.com, ip=[::ffff:14.3.36.35], filename=cur/1355841703.H752747P17343.inspiron17r.laptophosting.nu,S=7856:2,S

    So, each time you see 'filename' and 'DELETED' in /var/log/maillog, you know that a specific message was deleted from an account.

    NOTE : I would not leave this logging on, since it generates unnecessary additional logfile size and basically clutters things up. So, when you're done troubleshooting, comment out POP3_LOG_DELETIONS=1 in /usr/lib/courier-imap/etc/pop3d and run /scripts/restartsrv_courier

    M
     
    #5 mtindor, Dec 18, 2012
    Last edited: Dec 18, 2012
Loading...

Share This Page