[Exim] Over Quota Warnings

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Russell Wilton
Dátum:  
Címzett: exim-users
Tárgy: [Exim] Over Quota Warnings
Hi:
I am running Exim 4.05 on RedHat Linux 7.2 I am trying to get Mail
Quota warnings to work and am not having any success. My local delivery
transport looks like this:

ldap_deliver:
driver = appendfile
maildir_format = true
directory = ${if ISSPAM {SPMFLD} {${HOMEDIR}}}
delivery_date_add
envelope_to_add
return_path_add
user = exim
group = exim
maildir_tag = ,S=$message_size
quota_size_regex = S=(\d+)$
quota = ${MQUOTA}
quota_warn_threshold = 90%
quota_warn_message = "\
To: $local_part@$domain\n\
Reply-To: postmaster@???\n\
Subject: Mailbox quota warning\n\n\
This message was automatically generated by the mail delivery
software.\n\n\
You are now using over 90% of your allocated mail storage quota.\n\n\
If your mailbox fills completely, further incoming messages will be
automatically\n\
returned to their senders.\n\n\
Please take note of this and remove unwanted mail from your mailbox.\n"

That ${MQUOTA} macro extracts the quota from an LDAP record. If I set
the quota below the current usage, the delivery of new messages is
deferred. If I set the quota so that the usage is more than 90% of the
quota, the mail is just delivered with no warning message sent. Any
ideas what I am doing wrong, or more to the point, how do I go about
debugging this? Thanks for any pointers.

Russ

--
Russell D. Wilton                     E Mail: WILTON@???
Network Services Manager              Voice:   (403) 329-2525
University of Lethbridge              FAX:     (403) 382-7108
4401 University Drive   Lethbridge, Alberta, CANADA   T1K 3M4