On Tue, 8 Aug 2000 at 00:47, msl...@magicaldesk.com wrote:
using courier-imap, users are allowed to create folders under their
inbox. i am thinking how delivering directly into these folders could
be done (to implement user-defined mail filters). somehow, the folder
information must be accessible to the delivery agent (maildrop,
qmail-local...). is this the way to go?
I don't know what your problem is, so I'll try the "shotgun approach" at
1. When a user creates a folder using Courier IMAP a Maildir is made
normally under $HOME/Maildir/ with the name of the folder prefixed with a
2. As a valid Maildir all you have to tell an MDA like Maildrop to do is
deliver mail that passes a specific filter to that Maildir. For example in
my $HOME/.mailfilter I have (aside from DEFAULT=$HOME/Maildir):
if ( /^Sender: cour...@lists.sourceforge.net/ ) to "Maildir/.linux Courier"
3. I don't know if qmail-local has filtering capabilities. The
$HOME/.qmail can be modified not to delivery to "./Maildir/", though. I
suspect it can be edited to read "./Maildir/.linux Courier/". I'd go with
making QMail use Maildrop as your MDA, though. That way you get to filter.
Federico Sevilla III
THE LEATHER COLLECTION, INC.
#15 Don Mariano Lim Industrial Complex, Alabang-Zapote Road
beside Toyota - Alabang, Las Pinas City 1740 PHILIPPINES