procmail
[Top] [All Lists]

Re: Invisible To/From

2006-03-22 15:31:35
On Wed, 22 Mar 2006, Ruud H.G. van Tol wrote:

fleet(_at_)teachout(_dot_)org schreef:

grep found three messages in the "spam" file:
[~/spamtest]$ grep "^To: <\[%to(_at_)]>" ~/mail/spam
   To: <[%to(_at_)]>
   To: <[%to(_at_)]>
   To: <[%to(_at_)]>


First use

  grep -n "^To: <\[%to(_at_)]>" ~/mail/spam

to get the line numbers reported.

126:To: <[%to(_at_)]>
7843:To: <[%to(_at_)]>
13247:To: <[%to(_at_)]>
17170:To: <[%to(_at_)]>
23054:To: <[%to(_at_)]>
26282:To: <[%to(_at_)]>
30398:To: <[%to(_at_)]>

Then run

  less ~/mail/spam

and use the / key to search %to@, and see what those matches look like.


Every last one of them is in the header (and less found all of them).

They don't need to be in the mail header, for example. And to run a
mailbox through procmail, you need formail -s.

formail -s procmail ~/spamtest/garbage.rc < ~/mail/spam

is the first line (commented) in all of my test scripts.  I always use
cut/paste (because I'm lazy and prone to typing errors) to put it in the
command line.

For some reason, procmail will NOT find two of those mails.

                                - fleet -


____________________________________________________________
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

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