LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Exim3 quota warn message problem (https://www.linuxquestions.org/questions/linux-server-73/exim3-quota-warn-message-problem-523725/)

hemu 01-29-2007 06:42 AM

Exim3 quota warn message problem
 
Hi!

I hope, I start this thread in the correct group.
I have a problem with exim3 + quotas:
I set up the exim to work with quotas read from a different file per domain.
It works fine, but the users do not receive any quota warning message.
So if somebody reaches the limit, the delivering stops, and the sender get the delivery notification, but the user, who reached the quota_warn_threshold does not receive anything.
Here are the codes:
Code:

...
exim.conf
virtual_delivery:
    driver = appendfile
    group = mail
    user = mail
    mode = 0666
    mode_fail_narrower = false
    envelope_to_add = true
    quota = ${if exists{/etc/virtual/${domain}/quota}{${lookup{$local_part}lsearch*{/etc/virtual/${domain}/quota}{$value}{0}}}{0}}
    quota_warn_threshold = 75%
    quota_is_inclusive = true
    return_path_add = true
    file = /var/spool/mail/${domain}/${local_part}
    quota_warn_message = "\
    To: $local_part@$domain\n\
    Subject: Your mailbox\n\n\
    This message is automatically created \
    by mail delivery software.\n\n\
    The size of your mailbox has exceeded \
    a warning threshold that is\n\
    set by the system administrator.\n"
...
----------------------------------------------------------------------
quota file:
hemu 1M


bitva 01-29-2007 04:46 PM

Hi. I can't answer your question (don't use exim for quotas, just straight up mta) but am wondering why you haven't upgraded Exim to v 4


All times are GMT -5. The time now is 10:39 AM.