procmail
[Top] [All Lists]

Stupid question about external file

2002-09-10 10:22:32
I have the following .procmailrc

<<< Begin

MLDIR=$HOME/Library/Mail/Mailboxes
LOGFILE=$HOME/.procmail_log
LOGABSTRACT=ALL

:0 Wh: msgid.lock
| formail -D 16384 msgid.cache

FAMILY=`cat $HOME/.familylist`
:0:
* $^TO.*${FAMILY}
$MLDIR/\(Personal\)/Family

<<< END

in the file .familylist I have a list of email addresses.

The recipe doesn't work, and even with the high log level I am not seeing anything useful in the procmail_log. All I see in the a line like this:

From kreme(_at_)kreme(_dot_)com  Tue Sep 10 01:49:36 2002
 Subject: Family Test
Folder: /var/mail/kreme 1567

instead of Folder /Users/kreme/Library/Mail/Mailboxes/\(Personal\)Family

I've tried the .familylist file both with each address on a separate line and with all the addresses on a single line. Does the .family list need to be a grep expression like:

user1(_at_)aol(_dot_)com | user2(_at_)mindspring(_dot_)com | 
user7(_at_)localisp(_dot_)net

??

(I searched the archives and google extensively, and though I found various discussions of this type of recipe I never found anything that talked about the format of the source file)


--
You are responsible for your rose.
"Rule 5: Get Kirsten Dunst wet" (p 74 of Time 20-05-02)

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>