Re: informing users about quotas

2003-02-10 Thread Eric . Doutreleau
On Thu, 6 Feb 2003, John A. Tamplin wrote:

 Quoting Hans Wilmer [EMAIL PROTECTED]:
 
  how can users securely be informed about their quota usage?
  
  It seems to be left to the clients to ignore or to not ignore the
  warnings from cyrus. Unfortunately, the mozilla client ignores the
  warnings, and incoming mail would be silently rejected once the user
  is over quota.
  
  Is there a tool (for cyrus 1.5.x as comes with Debian Woody) that
  could be run by cron to send the users who are about to reach their
  quota limit a warning message?
 
 What we do is run a perl script that parses the output of quota and sends email
 to everyone over quota.  Our custom delivery program recognizes the from address
 (our help desk) and sets the ignorequota option on the LMTP connection so the
 mail is delivered regardless.
 
 Even before we had that running, the users who were over quota noticed pretty
 quickly they weren't getting mail and called the help desk :).
 
 

What is your custom delivery program?
I'm interested in that kind of solution but i didn't found yet a deliver 
program for postfix that use lmtp and can add the ignorequota option.


-- 
Eric Doutreleau
I.N.T   | Tel   : +33 (0) 160764687
9 rue Charles Fourier   | Fax   : +33 (0) 160764321
91011 Evry   France | email : [EMAIL PROTECTED]




Re: informing users about quotas

2003-02-10 Thread John Alton Tamplin
[EMAIL PROTECTED] wrote:


What is your custom delivery program?
I'm interested in that kind of solution but i didn't found yet a deliver 
program for postfix that use lmtp and can add the ignorequota option.

It is a small perl program that uses Net::LMTP (hacked to support 
authentication and the ignorequota option), which also does things like 
strip nulls and reformat envelope from addresses that contain quotes. 
I'll be happy to send it and the patches to Net::LMTP if you are 
interested.  Beware since it uses a TCP socket rather than a Unix socket 
authentication is required and performance is slightly impacted.  It 
also has code to proxy the LMTP connection to multiple destination mail 
servers, which we used along with perdition to transition accounts one 
at a time.

--
John A. Tamplin   Unix System Administrator
Emory University, School of Public Health +1 404/727-9931





informing users about quotas

2003-02-06 Thread Hans Wilmer
Hi,

how can users securely be informed about their quota usage?

It seems to be left to the clients to ignore or to not ignore the
warnings from cyrus. Unfortunately, the mozilla client ignores the
warnings, and incoming mail would be silently rejected once the user
is over quota.

Is there a tool (for cyrus 1.5.x as comes with Debian Woody) that
could be run by cron to send the users who are about to reach their
quota limit a warning message?


GH



Re: informing users about quotas

2003-02-06 Thread John A. Tamplin
Quoting Hans Wilmer [EMAIL PROTECTED]:

 how can users securely be informed about their quota usage?
 
 It seems to be left to the clients to ignore or to not ignore the
 warnings from cyrus. Unfortunately, the mozilla client ignores the
 warnings, and incoming mail would be silently rejected once the user
 is over quota.
 
 Is there a tool (for cyrus 1.5.x as comes with Debian Woody) that
 could be run by cron to send the users who are about to reach their
 quota limit a warning message?

What we do is run a perl script that parses the output of quota and sends email
to everyone over quota.  Our custom delivery program recognizes the from address
(our help desk) and sets the ignorequota option on the LMTP connection so the
mail is delivered regardless.

Even before we had that running, the users who were over quota noticed pretty
quickly they weren't getting mail and called the help desk :).

-- 
John A. Tamplin
Unix System Administrator