On Sat, 7 Jul 2001, Sergey V. Artjushkin wrote:
>
> >>> Hello
> >>>
> >>> Colleagues,
> >>> I'm trying to use quota option to limit users mailbox.
> >>> As I understand from documentation,
> >>> this is options of appendfile drivers.
> >>> Where in configuration file I have to write this options?
> >>> In section about TRANSPORTS CONFIGURATION ?
> >>>
> >
> > > Yes.
> >
> > Hm.
> > I wrote config like this:
> >
> > local_delivery:
> > driver = appendfile
> > file = /var/mail/$local_part
> > delivery_date_add
> > envelope_to_add
> > return_path_add
> > group = mail
> > mode = 0600
> > quota = 300K
> > quota_is_inclusive = true
> > quota_warn_threshold = 80%
> > quota_warn_message = "\
> > To: $local_part@$domain\n\
> > Subject: Size of 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"
> >
> > Size of my mailbox is 298057 bytes. When I send big letter and
> > this letter isn't delivered by exim due to quota exceeded, exim
> > only write log about this and don't send any messages, that
> > inform sender about full mailbox. Is there any opportunity
> > to force exim to do it?
>
>
> I found, that this letter is in then mail spool,
>
> and exim try to deliver this letter more and more times.
> And one last try is failed, exim will sent to sender
> mail about full mailbox. Am I right? Is there any opportunity
> to force exim to send warning mail about full mailbox and
> don't try to deliver this letter more and more times?
>
see the section "33. Retry configuration"
(
http://www.exim.org/exim-html-3.20/doc/html/spec.html)
and the FAQ.
Robert