Re: [Exim] Change message when maildir quota exceeded?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Odhiambo G. Washington
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [Exim] Change message when maildir quota exceeded?
* Steve Taylor <list@???> [20040504 10:37]: wrote:
> Hello,
>
> I am using Exim 4.32 to deliver messages to maildirs that are accessed via
> Courier-imap, with quotas enabled. Everything seems to be working fine, but
> when the quota is exceeded mail is bounced with the following message...
>
> 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:
>   save to /path/to/maildir
>     generated by local_part@???
>     mailbox is full

>
> Is it possible to change this message to something like 'Destination mailbox is
> full', hiding the actual path to the maildir?
>
> For reference, here is the transport that delivers to the maildir...
>
> local_maildir:
> driver = appendfile
> maildir_format
> maildir_tag = ,S=$message_size
> quota = ${lookup mysql{ select quota from EMAIL_BOX where
> domain_name='${quote_mysql:$domain}' and
> local_part='${quote_mysql:$local_part}'}{$value}{1K}}
> quota_size_regex = S=(\d+)$
> quota_warn_threshold = 80%
> delivery_date_add
> envelope_to_add
> return_path_add
> user = maildir
> group = maildir
> mode = 0660
> directory_mode = 0770
>
>
> thanks and regards,
>


Hi Steve,

I've been meaning to look at this for a long time, but time keeps
evading me.
Could you please look at chapter 41 of Exim specification and see if you
come up with something.
That chapter deals with "CUSTOMIZING BOUNCE AND WARNING MESSAGES".



        cheers
       - wash
+----------------------------------+-----------------------------------------+
Odhiambo Washington                     . WANANCHI ONLINE LTD (Nairobi, KE)  |
<wash at wananchi dot com>              . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223                 . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121                 . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"
                         --from a /. post