When I was testing quota's, I tried a slightly different approach since I
did not trust the NFS quota system. Besides the usual warnings to the user,
I wanted the sending party to be notified, and the message delayed if only
over quota by a little. I therefore did the space check during the ACL. At
first I tried a shell out and run du/awk. This quickly became to slow; :-).
My next solution was to run the du/awk as a cron job; or on demand from the
user and store the result in a database. This was a good enough solution, if
I returned to the sender a 451 (temporary error, please try later) message
when the user was only 20% over quota. Once past that, I started to return
hard errors. Overall, even though it worked, I did not like the hacked
solution. Instead we bought more disk drives and removed the quotas.
Tim
-----Original Message-----
From: exim-users-bounces@??? [
mailto:exim-users-bounces@exim.org] On
Behalf Of Lanny Jason Godsey
Sent: Friday, September 23, 2005 7:27 PM
To: Jack Ziegler; exim-users@???
Subject: Re: [exim] maildirsize file and nfs
I've been thinking about this myself.
I was thinking of using safecat to write the mail to Maildir so I can
capture the filename.
I would insert the file size and filename into SQL.
Then alter POP3/IMAP servers to be SQL aware and mark them as read or
deleted.
I can't figure out how to get exim to tell me the filename that an
email was delivered to and take action based on this.
--- Jack Ziegler <ziegler@???> wrote:
> Hello,
>
> Is anyone using the "maildir_use_size_file" option in an NFS
> environment? If so what kind of problems do you encounter?
>
> I don't expect that the maildirsize file can be fully "nfs-safe",
> but
> if the problems are occasional, and not too severe, we might be
> inclined
> to try it. IOW, the other options for enforcing hard quotas might
> be
> worse ...
>
> Thanks,
>
> Jack Ziegler
> Sonoma State University
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
>
--
## List details at
http://www.exim.org/mailman/listinfo/exim-users
## Exim details at
http://www.exim.org/
## Please use the Wiki with this list -
http://www.exim.org/eximwiki/