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:Devin Rubia (dev@thezone.net)
Date:Feb 2, 2006 6:03:39 am
List:net.sourceforge.lists.courier-maildrop

On Thu, Feb 02, 2006 at 09:49:22AM +0100, 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?

You don't need deliverquota anymore.

$ man maildrop [SNIP] -w N The -w N option places a warning message into the mail- dir if the maildir has a quota setting, and after the message was successfully delivered the maildir was at least N percent full. The warning message is copied verbatim from /usr/local/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. [SNIP]