8 messages in net.sourceforge.lists.courier-usersRE: [courier-users] maildrop filter q...
FromSent OnAttachments
Theodore KnabJun 23, 2003 7:29 am 
Bowie BaileyJun 23, 2003 8:37 am 
Theodore KnabJun 26, 2003 9:02 am 
Theodore KnabJun 26, 2003 9:12 am 
Theodore KnabJun 26, 2003 9:21 am 
Sam VarshavchikJun 26, 2003 10:20 am 
Bowie BaileyJun 26, 2003 10:23 am 
Theodore KnabJun 26, 2003 10:54 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: [courier-users] maildrop filter questionActions...
From:Theodore Knab (tkn@washcoll.edu)
Date:Jun 26, 2003 9:02:47 am
List:net.sourceforge.lists.courier-users

Your right.

I don't think that using the xfilter is a screwy way to call the deliverquota.

However, I do not have a courierd. Is this the MTA ?

I am using Postfix.

In Debian, my distro of choice, I have a imapd but no courierd.

Here is my global maildrop config in '/etc/courier/maildroprc':

import SENDER import RECIPIENT import HOME MAILBOX="$HOME/Maildir" MAILDIRQUOTA="$MAILBOX/maildirsize" # Delivery Quota if ($SENDER ne "") { FROM=$SENDER } else { FROM="unknown" } xfilter "/usr/bin/deliverquota -w 90 $MAILBOX"

I don't think an xfilter is the correct way to run deliverquota either. But if you have a recent version of Courier, you don't need to run deliverquota at all. The quota checking has been integrated into maildrop. Just put the '-w 90' option on maildrop in the DEFAULTDELIVERY variable in /etc/courier/courierd.

Here is my local user .mailfiter

As I said above, this will never be seen. I would suggest doing this:

In /etc/courier/courierd, change the default delivery line to this: DEFAULTDELIVERY="| /usr/lib/courier/bin/maildrop -w 90"