procmail
[Top] [All Lists]

Re: Check whitelist file and if not there add to whitelist

2005-08-21 12:47:11
On Sun, Aug 21, 2005 at 10:25:56PM +0700, Tim Rice wrote:
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 """ 

This comes from a missing close-quote or close-paren somewhere up
above.  That would also explain why you can't figure out why it's
stopped working.


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:

Okay, it could be that fgrep on your system is different.
Check your punctuation (quote marks and parens) up above, before
this recipe.

Or comment out the entire recipe and look at your verbose logs.
I'll bet you'll still see those "skipped" things.

Note: I had something like that happen last month, and it took
me about an hour of exasperated testing to figure out where it
was.  I could not see the missing punctuation for the life of me.
It was oddly hidden most of the time, because only a certain
condition that evaluated true seldomly made it happen.

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