IMAP save sent emails returns an error

Peculiar

Verified User
Joined
Jul 15, 2015
Messages
13
I have multiple email accounts on the same server and same domain. All are working just fine except three of them which mind you, were converted from a cPanel server. It was all working fine until some time ago it just stopped saving sent emails.

Roundcube just shows a brief message: an error occurred while saving sent message.
My email client gives a better clue in error console: The requested action could not be completed. The server responded: Quota exceeded (mailbox for user is full).

The weird thing is that there is no quota limit for this account. Server has lots of free space yet IMAP refuses to save sent messages.

I'm guessing some setting file somewhere is overwriting my settings in DA. Maybe IMAP is reading an obsolete file from before and ignores my quota settings in DA?

Any help to resolve this issue is greatly appreciated.

Thank you
 
dog > cat > wut?!

Hello,

Did you check the quota limit of a particular email account? It might have a quota limit as well.

Yes. No quota limit is set (=0). The accounts are receiving mails with attachments with no problem.

I enabled debug mode in dovecot and sent a test mail. This is the result:

Code:
Apr 11 14:43:45 server dovecot[14044]: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=15655, secured, session=<LWhatEv>
Apr 11 14:43:45 server dovecot[14044]: imap: Debug: Loading modules from directory: /usr/lib/dovecot
Apr 11 14:43:45 server dovecot[14044]: imap: Debug: Module loaded: /usr/lib/dovecot/lib10_quota_plugin.so
Apr 11 14:43:45 server dovecot[14044]: imap: Debug: Module loaded: /usr/lib/dovecot/lib11_imap_quota_plugin.so
Apr 11 14:43:45 server dovecot[14044]: imap([email protected]): Debug: Effective uid=504, gid=12, home=/home/user/imap/domain.com/mail_account
Apr 11 14:43:45 server dovecot[14044]: imap([email protected]): Debug: Quota root: name= backend=maildir args=
Apr 11 14:43:45 server dovecot[14044]: imap([email protected]): Debug: Quota grace: root= bytes=0 (10%)
Apr 11 14:43:45 server dovecot[14044]: imap([email protected]): Debug: maildir++: root=/home/user/imap/domain.com/mail_account/Maildir, index=, indexpvt=, control=, inbox=/home/user/imap/domain.com/mail_account/Maildir, alt=
Apr 11 14:43:45 server dovecot[14044]: imap([email protected]): Disconnected: Logged out in=162 out=716

I can't understand if there is an error shown which relates to my problem.
 
OK, so you confirm that neither user account nor email box has overcome a quota limit.
How did you convert email account from cPanel to Directadmin? Probably there was an error, so let's check:

Code:
cat /etc/virtual/domain.com/passwd
Code:
cat /etc/virtual/domain.com/quota

Feel free to obfuscate domain and password hash, but do not hide other data.
And make sure, that UID=504 from /etc/virtual/domain.com/passwd is matching the UID from /etc/passwd
 
OK, so you confirm that neither user account nor email box has overcome a quota limit.
I do confirm that user has not reached the maximum disk space limit which is 127Gb. User is merely using less than 3Gb.
Email account has been set to unlimited usage and unlimited send count. Did that a couple of times just to make sure.
How did you convert email account from cPanel to Directadmin?
Unfortunatelly I don't have that information since it has been done 3 years ago by a hosting service.

Probably there was an error, so let's check:
Code:
cat /etc/virtual/domain.com/passwd
Code:
cat /etc/virtual/domain.com/quota

Feel free to obfuscate domain and password hash, but do not hide other data.

Code:
[root@server ~]# cat /etc/virtual/domain.com/passwd
abuse:$PASSWORD1:504:12::/home/user/imap/domain.com/abuse:/bin/false
buy:$1PASSWORD0:504:12::/home/user/imap/domain.com/buy:/bin/false
dmarc:$PASSWORDQ.:504:12::/home/user/imap/domain.com/dmarc:/bin/false
ebuy:$1PASSWORD5/:504:12::/home/user/imap/domain.com/ebuy:/bin/false
exclusive:$PASSWORDT.:504:12::/home/user/imap/domain.com/exclusive:/bin/false
info:$1PASSWORDT/Bb8HC/:504:12::/home/user/imap/domain.com/info:/bin/false
no-reply:$PASSWORDT/:504:12::/home/user/imap/domain.com/no-reply:/bin/false
warning:$PASSWORDu.:504:12::/home/user/imap/domain.com/warning:/bin/false
webmaster:$PASSWORDE/AnIOHs1Zq.uC1:504:12::/home/user/imap/domain.com/webmaster:/bin/false

Code:
[root@server ~]# cat /etc/virtual/domain.com/quota
abuse:20971520
buy:0
dmarc:52428800
ebuy:0
exclusive:0
info:0
no-reply:0
warning:5242880
webmaster:52428800

And make sure, that UID=504 from /etc/virtual/domain.com/passwd is matching the UID from /etc/passwd

Yes. They do match.
It maybe useful to know that this error was not present since the convert and has recently come up.
Thank you very much for your response!
 
Back
Top