procmail
[Top] [All Lists]

Recipe Woes

1996-09-26 12:50:26
This is probably really easy, but I'm must not getting the grasp of it.
I'm piping some junk mail to /dev/null.  The problem is that this junk
mail is coming from two or three sources.  What I would like to do is be
able to have a comment put in the $LOGFILE and have that appear when I
do a mailstat.

I've done the following

:0
* ^From.*junk
/dev/null

  :0 A
  LOG=junk1

That doesn't work

I've also done the following:

LOG=junk1

:0
* ^From.*junk
/dev/null


In the first case, nothing gets written to the logfile.  In the second
case, the comment gets written on the same line as the From: line and
mailstat just isn't too happy about that.

Is there anyway that I can send the mail to /dev/null and have the
Folder: line just contain the comment?

        --Jerry

8) Jerry Alexandratos          % - %   "Nothing inhabits my    (8 
8) alexandr(_at_)louie(_dot_)udel(_dot_)edu     % - %    thoughts, and oblivion 
(8
8) darkstar(_at_)strauss(_dot_)udel(_dot_)edu   % - %    drives my desires."    
(8

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