At 10:39 AM 12/21/2001 -0800, Jeff wrote:
Am?rico Rocha, 2001-Dec-21 00:55 +0000:
>
> Hi there,
> I'm trying to make a maildrop recipe, in order to get my email
> organized.. I want all email comming from [email protected],
> moved immediately to ~/Maildir/debian-user.
>
> I wrote a simple .mailfilter file, in order to accomplish this, that
states:
>
>
> if (/^From: [EMAIL PROTECTED]/ \
> {
> to "./Maildir/debian-user"
> }
>
> ..hum.. it didn't seem to work.
> I don't have maildrop running anywhere, should i invoke it somewhere, as a
> daemon or something ?
>
> TIA for any tips
Here's the one I've been using for a long time that works:
if ( /^(To|Cc):[EMAIL PROTECTED]/ )
{
to $MAILBOX/deb-user
}
Ya, the from won't work because the message is still going to be from each
individual that sends it.
But the best header to use for any of the mailing lists hosted
@lists.debian.org is 'X-Mailing-List:'