3 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Configuration
FromSent OnAttachments
Will HawesJun 19, 2006 3:35 am 
Mark NienbergJun 19, 2006 4:56 pm 
moussJul 30, 2006 4:14 pm 
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] ConfigurationActions...
From:Mark Nienberg (gma@tippingmar.com)
Date:Jun 19, 2006 4:56:31 pm
List:net.sourceforge.lists.courier-maildrop

Will Hawes wrote:

ds645# ls -l /usr/local/etc/maildrop* -rw-r--r-- 1 root wheel 0 Jun 19 10:24 /usr/local/etc/maildroprc -rw-r--r-- 1 root wheel 0 Jun 19 10:25 /usr/local/etc/maildroprc.log

I'm using sendmail instead of qmail, and I have to make the logfile writeable by
the recipient of the message. Easiest if all users are in some group and then you
make the log file group writable and owned by the group.

[root@tesla ~]# ls /var/log/maildrop.log -rw-rw-r-- 1 root Everyone 732k Jun 19 10:28 /var/log/maildrop.log

ds645# cat /usr/local/etc/maildroprc logfile "maildroprc.log" if( /^random string/ ) { to Maildir/.Test }

Here is my maildroprc for an example of a filter:

# file: /etc/maildroprc # system-wide settings for maildrop # users can have add more filters in $HOME/.mailfilter

SHELL="/bin/bash" SENDMAIL="/usr/sbin/sendmail -oi -t" logfile "/var/log/maildrop.log" VERBOSE="4"

DEFAULT="$HOME/Maildir/"

# MailScanner is configured to add {Spam?} to subject line if (/^Subject: \{Spam\?/) { exception { to "$HOME/Maildir/.Spam/" } }