procmail
[Top] [All Lists]

Good evening :) Have a recipe question..

2005-01-15 18:19:40
New to the list, and have been using procmail for a few years now. I am, however, new at trying to do some ramore advanced things in procmail...

I'm running FreeBSD v4.11, and v3.22 of procmail, using a Maildir format mailbox--and I have the following recipe in my .procmailrc that I'm trying to get to work:

:0:
* ^X-Original-To:(_dot_)*account+lj(_at_)wingfoot(_dot_)org$
{
LOG="(Account-LJ) "
:0
$MAILDIR/.LJ/
}

:0:
* ^X-Original-To:(_dot_)*account+otheraccount(_at_)wingfoot(_dot_)org$
{
LOG="(OtherAccount-LJ) "
:0
$MAILDIR/.OtherAccount-LJ/
}

These recipes never match (procmail: No match on "^X-Original-To:(_dot_)*account+lj(_at_)wingfoot(_dot_)org$" in my logs). I'm hoping this is just a "oh you have a : where a ; should be" or something similar. I've tried the matches with: ^X-Original-To: account+lj(_at_)wingfoot(_dot_)org and ^X-Original-To:(_dot_)*account+lj(_at_)wingfoot(_dot_)org with the exact same results. There most certainly *is* an X-Original-To: header in the emails in question:

Subject: Testing 22
From: Glenn Sieb <ges(_at_)wingfoot(_dot_)org>
Date: Sat, 15 Jan 2005 19:19:36 -0500
To: account(_at_)livejournal(_dot_)com
X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Return-Path: <ges(_at_)wingfoot(_dot_)org>
X-Original-To: account+lj(_at_)wingfoot(_dot_)org
Delivered-To: account+lj(_at_)wingfoot(_dot_)org

I'd really appreciate any help you all could provide with this. :-/ I feel like I'm beating my head against a brick wall here.. :-\

Thanks in advance,
Best,
Glenn

--
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." ~Benjamin Franklin, Historical Review of Pennsylvania, 1759


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail