From: Miguel! [mailto:miguelalbores(_at_)yahoo(_dot_)com]
Miguel, please write the list, not me personally. I suspect
that was not on purpose. (Also, please don't top-post!)
This is the shell of procmail,
procmail: [28991] Sat May 7 16:18:19 2005
procmail: Assigning "LOGABSTRACT=all"
procmail: Match on "< 102400"
procmail: Locking "spamassassin.lock"
procmail: Executing "/usr/bin/spamassassin"
procmail: [28991] Sat May 7 16:18:25 2005
procmail: Unlocking "spamassassin.lock"
procmail: No match on "^X-Spam-Status: Yes"
procmail: Assigning
"LASTFOLDER=/home/e-smith/files/users/malbores/Maildir/new/1
115500699.28991_3.xelha"
Subject: Test EMail
Folder:
/home/e-smith/files/users/malbores/Maildir/new/1115500699.28
1811
Looking more, I see now a couple of things that weren't apparent
to me the first time I responded. One, "malbores"
is your username, so now I understand how the mail got to
that path. Two, it seems that when saving to maildir, the From
does not show up. So you are right about that!
procmail: Assigning
"LASTFOLDER=newmail/new/1115504138.27680_0.panix5.panix.com"
Subject: (fwd) As they used to say on "Homicide"...
Folder: newmail/new/1115504138.27680_0.panix5.panix.com
3785
That is another test of mine saving to a maildir folder. Funny, but I
never noticed this before. I suppose procmail's code might be looking
for a From_ header in order to parse this info, but maildir saves
do not include a From_ header. That's my theory, anyway.
Okay, the way to solve it is to write your own log entry.
For example, this works:
LOGABSTRACT = off
:0 c
your_current_maildir_destination/
REALLASTFOLDER = $LASTFOLDER
MYABSTRACT=`formail -l $REALLASTFOLDER | head -2`
LOG = "$MYABSTRACT
$REALLASTFOLDER
"
I just tested it, and it works:
12:13am [~/Mail] 991[0]> procmail -m rc.test <
$MAIL/cur/1115481119.23567_1.panix3.panix.com:2,S
From dman(_at_)panix(_dot_)com Sun May 8 00:13:35 2005
Subject: (fwd) As they used to say on "Homicide"...
newmail/new/1115504015.18351_0.panix5.panix.com
____________________________________________________________
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