5 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] quotas and warning
FromSent OnAttachments
Nicolas EcarnotFeb 2, 2006 12:49 am 
Devin RubiaFeb 2, 2006 6:03 am 
Rolan YangFeb 2, 2006 6:07 am 
Nicolas EcarnotFeb 2, 2006 6:20 am 
Devin RubiaFeb 2, 2006 6:34 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] quotas and warningActions...
From:Rolan Yang (rol@omnistep.com)
Date:Feb 2, 2006 6:07:48 am
List:net.sourceforge.lists.courier-maildrop

Just add a "-w" in your config like so:

maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/local/bin/maildrop -w 90 -d ${recipient}

Taken from the man page:

-w N The -w N option places a warning message into the maildir if the maildir has a quota setting, and after the message was success- fully delivered the maildir was at least N percent full. The warning message is copied verbatim from /etc/quotawarnmsg with the addition of the "Date:" and "Message-Id:" headers. The warning is repeated every 24 hours (at least), until the maildir drops below N percent full.

Nicolas Ecarnot wrote:

Hi,

here's my config : openbsd+postfix+mysql+courier-maildrop 1.7.0_with_mysql+quotas

Everything is working fine and the mail are removed when my quotas are over. But I don't understand if there's a way to send a mail to warn the user when this happens? In /etc/postfix/master.cf, I use maildrop this way :

maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}

and I observe the quotas are applied. I read the doc three millions times, and the part I read concerning quotaswarnmsg only deal with deliverquota. I haven't understood if deliverquota was called by maildrop, or never called in my config? If I must call deliverquota instead of maildrop from master.cf, *how* must I call it?