procmail
[Top] [All Lists]

Re: formail problems from ~/.procmailrc - Thanks David!

2001-11-09 19:02:14
On 11/09/01 05:17 PM, David W. Tamkin sat at the `puter and typed:
I don't see Louis's posts because he always sends them multipart and
I don't read multipart mail, but Justin quoted him as saying,

I thought  MS LookOut would have  been able to read  multipart by now?
I'll take  a look at  my client's settings and  see how this  could be
fixed to  make it easier  for MS clients  to read. I'll  forgo signing
this message to see  if you can get it this time -  feel free to reply
off list if you can, which will help me narrow down the problem.

It's working fine.  The problem, Louis, is that you omitted the `f'
flag to make the formail call a filter, so procmail delivers the
message to the formail command for final handling.  Since you didn't
redirect formail's standard output anywhere, it goes into the ether.
Try this instead:

 :0
 * ^From:.*XXX
 {
   :0fhw # /usr/local/bin should be in .procmailrc's $PATH already
   | formail -fA "X-Spammer: Bogus From: header"

   EXTENSION=spam
 }

or

 :0fhw
 * ^From:.*XXX
 | formail -fA "X-Spammer: Bogus From: header"
 :0A
 { EXTENSION=spam }

I don't know if you'll be able to  read this, but you've hit it on the
head. I was just goofing up the filter flag. Thanks!

Lou
-- 
Louis LeBlanc               leblanc(_at_)keyslapper(_dot_)org
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org                     Ô¿Ô¬

A man either lives life as it happens to him, meets it head-on and
licks it, or he turns his back on it and starts to wither away.
    -- Dr. Boyce, "The Menagerie" ("The Cage"), stardate unknown

_______________________________________________
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>