2 messages in net.sourceforge.lists.courier-maildrop[maildropl] maildroprc
FromSent OnAttachments
DukeMar 17, 2003 9:29 pm 
Sam VarshavchikMar 18, 2003 4:39 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:[maildropl] maildroprcActions...
From:Duke (list@spacebox.net)
Date:Mar 17, 2003 9:29:49 pm
List:net.sourceforge.lists.courier-maildrop

In /etc/maildrop/maildroprc, I've got

import SENDER DEFAULT="$HOME/.maildir/"

Yet it seems I need to specify a full path in my .mailfilter when I use the "to" directive. I've got an imap directory called "spacebox", and I'm trying to use the following:

if (/^From:.*spacebox\.net/) { to .spacebox }

I've also tried "to spacebox" with similar results - the email is dumped to a plaintext file in my homedir named "spacebox" or ".spacebox". Is the DEFAULT that I specify in maildroprc only to tell maildrop where my inbox is? Does it not specify a default path prefix that directives in my filter file (such as "to") would refer to?

If not, then can I specify a variable in maildroprc like MAILDIR=~/.maildir/, and then use MAILDIR in my filter file, like "to $MAILDIR/.spacebox/"? Are variables in maildroprc available to the user's filter file, is what I'm asking.

Thanks,