Hello,

This a Maildrop,Postfix MTA,Courier IMAP question.

I am using the Postfix local delivery agent with Maildrop.

I am currently using kernel quotas for virtual users.

It has caused some problems, so I am now testing maildrop with
deliverquota on another server.

I have read through a lot of different documentation and I am getting
confused. Where does the deliverquota command spawn ? Does this command
come from the MTA or the the Courier IMAP server ?

I have maildrop quotas style working on my test machine, but the quota warning
messages are not being generated when I log in. 

For example, I went over quota yesterday. I never got a quota warning,
which usually creates a tiny file telling Courier 
that a warning message was sent.

[EMAIL PROTECTED]:~/Maildir$ ls -la
total 60
drwx--S---   11 tjk      vmail        4096 Mar  3 14:54 .
drwx--S---   54 tjk      vmail        8192 Mar  3 23:59 ..
drwx--S---    5 tjk      vmail        4096 Feb 27 11:29 .Bounced
drwx--S---    5 tjk      vmail        4096 Feb 28 22:34 .Drafts
drwx--S---    5 tjk      vmail        4096 Mar  3 10:30 .Helpful
drwx--S---    5 tjk      vmail        4096 Mar  3 14:55 .Large
drwx--S---    5 tjk      vmail        4096 Mar  1 00:57 .Sent
drwx--S---    5 tjk      vmail        4096 Mar  3 14:44 .Trash
-rw-r--r--    1 tjk      vmail          76 Mar  3 14:54
courierimapsubscribed
-rw-------    1 tjk      vmail        2120 Mar  4 09:46 courierimapuiddb
drwx--S---    2 tjk      vmail        4096 Mar  4 09:53 cur
-rw-r--r--    1 tjk      vmail          51 Mar  4 10:02 maildirsize
drwx--S---    2 tjk      vmail        4096 Mar  4 10:02 new
drwx--S---    2 tjk      vmail        4096 Mar  4 10:02 tmp

See maildrop quotas work... ;-)
 
Mar  3 15:27:05 annapolislinux postfix/local[29995]: C158314837:
to=<[EMAIL PROTECTED]>, relay=local, delay=0, status=bounced
(permission denied. Command output: Mail quota exceeded. )

I raised them.
[EMAIL PROTECTED]:~/Maildir$ maildirmake.courier -q 2000000S ../Maildir

My /etc/courier/maildroprc file looks like this it should be send me a
warning message at 65 percent:

cat /etc/courier/maildroprc 

MAILBOX="$HOME/Maildir"
MAILDIRQUOTA="$MAILBOX/maildirsize"
"| /usr/bin/deliverquota -w 65 $MAILBOX"

I also have courier using authldaprc where it poles a number for the
mailqouta off the local ldap server. This number may be different.

In my Postfix main.cf I have this parameter which is working.
mailbox_command = /usr/bin/maildrop -d "$USER"


-- 
********************************
*Theodore Knab                  
*Systems Engineer               
*Washington College             
*Maryland, USA                  
* ---------------------------   
*My Desk: 410-810-7419          
*Fax: 410-778-7830              
********************************


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to