In your message dated Sat, 20 Aug 2005 21:50:43 +0200, Dallman said that ...
In your message dated Sat, 20 Aug 2005 21:50:43 +0200, Dallman said that
..
Well, what do the verbose logs say?
Log below, I now see that the recipe is passing and tagging all mail *not*
in the whitelist. The log below is from an address IN the whitelist. That
mail is getting sent to a newly created (-xreply-To:) folder.
procmail: Skipped "$id: PANIC: you do not have set the PMSRC variable to
point"
procmail: Skipped "directory"
procmail: Skipped ". E.g $HOME/procmail/lib"
procmail: Skipped
"****************************************************"*********************"
procmail: Skipped """
procmail: [45664] Sun Aug 21 06:54:55 2005
procmail: Unexpected EOL
procmail: Executing "formail,-xFrom:,-xSender:"
procmail: Match on "formail -xFrom: -xSender:"
procmail: Skipped "-xReturn-Path: "
procmail: Assigning "LASTFOLDER=-xReply-To:"
procmail: Opening "-xReply-To:"
procmail: Acquiring kernel-lock
From tim(_at_)seal-superyachts(_dot_)com Sun Aug 21 10:54:55 2005
Subject: Test 2
Folder: -xReply-To: 1829
:0
* ?formail -x"From:" -x"Sender:" \
-x"Reply-To:" -x"Return-Path:" \
| fgrep -is -f $HOME/whitelist
That is rather nonsense, I'm afraid, Tim. :-(
First of all, the formail statement gives multi-word output.
Then,
the fgrep statement seems bogus. Here:
9:46pm [~/Mail] 677[1]> formail -x"From:" -x"Sender:"
\
-x"Reply-To:" -x"Return-Path:" < $SPAMPLE
\
| fgrep -is -f ~/.login
<Danielsijie(_at_)wanadoo(_dot_)fr>
"Carrie Becquart" <Danielsijie(_at_)wanadoo(_dot_)fr>
What is that spammer's forged header information doing in my .login?
:-)
(Hint: it's not there. So your fgrep syntax is messed
up.)
Well, I'm really getting confused now because this has always worked for
me:
:0
* ?formail -x"From:" -x"Sender:" \
-x"Reply-To:" -x"Return-Path:" \
| fgrep -is -f $USERDIR/whitelist
{
:0 hif
| formail -A"X-Puremail: User Whitelist"
:0:
$DELIVER
}
The only thing I've changed is removing the deliver portion
I'd test the syntax in the shell before trying to stuff it
into
procmail.
Dallman
____________________________________________________________
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