For the Postfix MTA with the localmailer the following line works:
mailbox_command = /usr/bin/maildrop | /usr/sbin/deliveryquota -w 90 $HOME/Maildir
This sends all the mail to maildrop and then to the delivery quota program.
--On Thursday, June 26, 2003 12:02 PM -0400 Theodore Knab <[EMAIL PROTECTED]> wrote:
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"
******************************** *Theodore Knab *Systems Engineer *Washington College *Maryland, USA * --------------------------- *My Desk: 410-810-7419 *Fax: 410-778-7830 ********************************
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
******************************** *Theodore Knab *Systems Engineer *Washington College *Maryland, USA * --------------------------- *My Desk: 410-810-7419 *Fax: 410-778-7830 ********************************
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
