mailbox full error message

Eli_ch

Member
Aug 18, 2003
17
0
151
Switzerland
if i try to send an email to a mailbox, who is full, i should normally get answer from exim like this:

"This message was created automatically by mail delivery software (Exim).

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

[email protected]
Disk quota exceeded:
mailbox is full: retry timeout exceeded"

but i didn't receive this message on every server from us.
where can i config that??

in mail queue of the whm i saw the right error message, but it isn't sent to me...

"LOG: MAIN
== [email protected] R=virtual_user T=virtual_userdelivery defer (-22): mailbox is full (MTA-imposed quota exceeded while writing to /home/elias/mail/eli.ch/test/inbox)"

anyone knows something about that?
thanks a lot for your help!

cPanel.net Support Ticket Number:
 

mickeymouse

Well-Known Member
Sep 16, 2003
389
0
166
Dear Eli_ch,

Edit the configure file. Add the following entries,
To warn at a certain percentage and the message that will be sent to the owner of the mailbox:
quota_warn_threshold = 75%
quota_warn_message =\"\\
To: [email protected]$domain\\n\\
Subject: Warning - Almost out of email space\\n\\
This is an automated email.\\n\\
\\n\\
The storage space used by your email has \\
almost exceeded the allowed limit.\\n\\
Please delete some emails, especially those \\
with attachments, to free up space.\\n\\
Otherwise email will stop being delivered \\
until you do so.\\n\"

For more information regarding this,refer the URL:

http://www.flatmtn.com/computer/Linux-Exim4.html

Regards,
 

bradandersen

Active Member
Oct 6, 2003
42
0
156
Where do I modify the exim.conf file?

I've made mods in:

/etc/exim.conf
/etc/exim.conf.dist
/etc/exim.conf.localopts

and they all get overwritten with some magical exim.conf file that is hidden somewhere.

Thanks,
Brad
 

bking

Well-Known Member
Mar 1, 2004
206
1
168
Sydney
Any changes you want to be permanent should be made through the exim advanced configuration script in WHM. This will stop upcp from over writting your custom directives.
 

shacker23

Well-Known Member
Feb 20, 2005
263
1
168
Thanks, this is just what I'm looking for (in fact it's kind of shocking that quota_warn emails aren't generated by default - I can't believe I have to tweak settings to enable this -- having customer emails suspended without warning is unacceptable, or so say my customers, and I have to say I agree).

Anyway, i added the quota_warn lines shown above, but got an "Invalid configuration syntax" error on exim restart. Wasn't quite sure which section of the exim config I should add it to.

Suggestions? Thanks.
 
Last edited: