[exim] quota_warn_message sends no message

Top Page
Delete this message
Reply to this message
Author: Hannes Rapp
Date:  
To: exim-users
Subject: [exim] quota_warn_message sends no message
Hi,
I set up quotas and warning message in my exim config, but I do not
receive a warn message if I cross the quota.
exims seems to recognize that the mailbox exeeds the quota threshold,
but sends no message.
I search the internet, but didn't find any solution.
Any ideas ?

Version: Exim version 4.69 #1 built 05-Oct-2008 23:05:26

23:43:20 32606 check_dir_size: regex did not match courierpop3dsizelist
23:43:20 32606 check_dir_size: 
dir=/srv/mail/spool/kepler2004.de/webmaster/Maildir sum=57428328 count=1110
23:43:20 32606 delivering in maildir format in 
/srv/mail/spool/kepler2004.de/webmaster/Maildir
23:43:20 32606 expanding: ,S=$message_size
23:43:20 32606    result: ,S=297
23:43:20 32606 writing to file tmp/1223243000.H201561P32606.kepler2004.de
23:43:20 32606 Exim quota = 60817408 old size = 57428328 this message = 
297 (not included)
23:43:20 32606   file count quota = 0 count = 1110
23:43:20 32606 writing data block fd=7 size=412 timeout=0
23:43:20 32606 quota = 60817408 threshold = 42572185 old size = 57428328 
message size = 412
23:43:20 32606 renaming temporary file
23:43:20 32606 expanding: ,S=$message_size
23:43:20 32606    result: ,S=412
23:43:20 32606 renamed tmp/1223243000.H201561P32606.kepler2004.de as 
new/1223243000.H201561P32606.kepler2004.de.de,S=412
23:43:20 32606 appendfile yields 0 with errno=0 more_errno=0
23:43:20 32604 journalling webmaster@???
23:43:20 32606 search_tidyup called
23:43:20 32606 close MYSQL connection: 
localhost:(/var/run/mysqld/mysqld.sock)/vusers/XXXXX
23:43:20 32604 virtual_imapdelivery transport returned OK for 
webmaster@???
23:43:20 32604 added retry item for T:webmaster@???: errno=0 
more_errno=0 flags=1
23:43:20 32604 post-process webmaster@??? (0)


my config looks like this:
        quota_directory = "${lookup mysql{MYSQL_HOME_IMAP}}"
        maildir_format
        mode_fail_narrower = false
        quota = "${lookup mysql{MYSQL_QUOTA}"
        quota_warn_message = "\
To: $local_part@$domain\n\
Subject: Your mailbox / Deine Mailbox\n\
\n\
Dies ist eine automatisch erstellte Nachricht.\n\
Ihre Mailbox hat 75% der maximal erlaubten Groesse erreicht!\n\
Bitte rufen Sie alle Emails vom Server ab bzw. loeschen Sie gelesene 
EMails. \n\n\
\n\n\n\
This message was automatically created \
by the mail delivery software.\n\
The size of your mailbox has exceeded \
a warning threshold of 75% that is\n\
set by the system administrator.\n\n"
        quota_warn_threshold = 75%
        maildir_tag = ,S=$message_size
        quota_size_regex = ,S=(\d+)
        quota_is_inclusive = false