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.

Mail Quota issue

Discussion in 'E-mail Discussions' started by shufil, Jun 10, 2014.

  1. shufil

    shufil Well-Known Member

    Joined:
    Mar 19, 2014
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    If any mail id test@mydomain.com riuung with over mail quota , so the same user try to sent a mail , that mail will be keep server and when the mail quata increase that time will be sent mail to remote host , right ?

    same way remote user sent a mail to this mail id test@mydomain.com , so will happening that mail did not recive and will be sent automated mail to remote mail id with error message 550 Mailbox quota exceeded . can we change this , becouse can we keep this mail in mail box and when we increase mail quota that time we will get that mail, i mean we did not miss any maill reagaring this quota issue ,
    Please advice me .

    Regards,
    Shufil
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You can browse to "WHM Home » Service Configuration » Exim Configuration Manager" and modify the following option under the "Mail" tab:

    "Bounce email for users over quota"

    This is enabled by default, so it bounces email for users who have exceeded their disk quota rather than keeping the email in the queue.

    Thank you.
     
  3. shufil

    shufil Well-Known Member

    Joined:
    Mar 19, 2014
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator




    Hello,

    Thanks for help ,

    I changed the settings "Bounce email for users over quota " to off and now not getting bounced back mail also the mail listed in exim queue , then after i increased mail quata , but after that mail not getting in inbox , again i sent a fresh mail so that mail i recived correcly , so same time old mail still listed in queue but that mail not comes to inbox , then i restart exim , IMAP server, Mailing list manager, pop3 server , after the restart that mail correctly downloaded to inbox .

    so we needed to restart after increased quata size , or any other solution in whm .

    Regards,
    Shufil
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Messages in the queue do not redeliver instantly. Retry intervals by default use the following rule:

    Code:
    # This single retry rule applies to all domains and all errors. It specifies
    # retries every 15 minutes for 2 hours, then increasing retry intervals,
    # starting at 1 hour and increasing each time by a factor of 1.5, up to 16
    # hours, then retries every 8 hours until 4 days have passed since the first
    # failed delivery.
    Thus, messages won't deliver immediately after you increase the quota for the email account. It will take until the next retry.

    Thank you.
     
  5. shufil

    shufil Well-Known Member

    Joined:
    Mar 19, 2014
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Heloo,

    Grate thank , i got the mail correctly after the interval . its very help full .

    The same mail id running with 6 GB size , so can we deliete all mails without last month . how can i do this .

    Regards,
    Shufil
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Emails are stored in the Maildir directories within:

    /home/$user/mail/$domain/

    Or, for the default mail account:

    /home/$user/mail/

    You can manually remove individual email files through the command line.

    Thank you.
     
  7. shufil

    shufil Well-Known Member

    Joined:
    Mar 19, 2014
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    yes i got the directory , but it seems speded with lot of directory , what is the main directory , cur/ or anything else . or cur handile all mail file or just inbox .

    ./ .Archives.2013/ courierimapsubscribed .Deleted\ Items/ dovecot.index.log dovecot-uidlist .Junk/ .spam/ .Trash/
    ../ courierimapacl courierimapuiddb dovecot-acl-list dovecot.index.log.2 .Drafts/ maildirsize subscriptions
    .Archives/ courierimaphieracl/ courierpop3dsizelist dovecot.index dovecot-keywords .EMF/ new/ .Templates/
    .Archives.2012/ courierimapkeywords/ cur/ dovecot.index.cache dovecot.mailbox.log .EMF\ Sent\ Items/ .Sent/ tmp/

    if i run delete command based with date , is this possible ? please advice me .


    Regards,
    Shufil.
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    It's possible that email is stored in a number of those directories, but yes, "cur" is the primary directory for delivered emails. The "new" directory is for email that's been delivered to the account but not downloaded by the user. Try using the "du" command to see which directory takes up the most space. You could search for a custom bash script that uses the "rm" command to delete files older than a certain date.

    Thank you.
     
  9. shufil

    shufil Well-Known Member

    Joined:
    Mar 19, 2014
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    hello,

    Grate its working fine, thanks team , i just perform this command find . -mtime +30 -exec rm -f {} \; . and 30 days old mail gone .
    also i need to deliete domain defult mail id , its mail box is not listed under user mail directory , so how can i get this path and how can i delete old mails , cpanel says its mail box size is 4 GB so i need to reduce this size .

    Regards,
    Shufil
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  11. shufil

    shufil Well-Known Member

    Joined:
    Mar 19, 2014
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    In /home/$user/mail/ seems a cur/ folder , so this is the defult mail id folder right ?


    Regards,
    Shufil
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Yes, that is correct. Note the "cur" directory is for mail that's already been delivered and is in the inbox.

    Thank you.
     
  13. shufil

    shufil Well-Known Member

    Joined:
    Mar 19, 2014
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    Thaks for valuble support .

    Regards,
    Shufil
     
Loading...

Share This Page