I like the idea of a file based method. Less code needs to be
changed and it will work across all authentication modules.
The thought of updating every auth module, and doing regression
testing makes me want to run for the hills.
Ken JOnes
Syed Faruque Ahmed wrote:
>
> I think I will try Agus's patch, it sounds easy.
>
> Although putting in a flag in vpasswd file/table against a user seems more
> sensible in the long run, it sounds rather complicated as a lot more
> related code might have to be changed. I guess Ken can decide on this for
> a new release, along with an "--enable-quotawarn" option ( ;-) slave
> drivers we are).
>
> Ken, did you look at Agus's code? Any comments?
>
> Faruque
>
> At 04:16 PM 6/27/01 +0700, Agus Basyari wrote:
>
> > > chris wrote:
> > > >
> > > > Hello all,
> > > >
> > > > I've read the archive about this subject already, but still don't have a
> > > > clear answer. I have hardquota set. I tested it and it worked
> >correctly by
> > > > bouncing a message > 1K back to the sender, while still allowing <1K
> > > > messages to be delivered.
> > > >
> > > > What I haven't figured out is how to generate a message to the OWNER of
> >the
> > > > mail box that he/she is over quota and needs to clear out some mail.
> > > >
> > > > I saw other's ask this, but never saw a clear answer to that issue. I'd
> > > > guess that the C code could be hacked to create an email to the owner at
> >the
> > > > same time as the "bounce" message, but that sounds more complicated than
> >I
> > > > think I can handle.
> > > >
> > > > Anyone else solve this?
> > > >
> > > > Thanks,
> > > > Chris Bunnell
> > >
> > > Sounds like a good feature. I do not need it myself.
> > > How do we avoid sending a user multiple over quota
> > > messages?
> > >
> > > Ken Jones
> > >
> >
> >With my vdlivermail.c .. it will create ".quotawarn1" and ".quotawarn2"
> >(with dot) ... and if this file is in user directory, then Admin mail will
> >not send the warning message. If the quota is less then 80% .. then
> >vdelivermail will delete both.
> >
> >If the quotas is becaming between 80 - 90% after more then 90%, vdelivermail
> >will not send the 80% warning messages, but if you up agian more then 90%,
> >the warning message will sending again, because it just delete the
> >.quotawarn2. It's my setting in my system. But if you still do not want the
> >system to send warning in this situation, you can edit the vdelivermail.c
> >in your own setting, maybe not 80 and 90% but 80% and 95%, then you change
> >0.9 with 0.95.