mharc-users

Re: lib/lists.def filter by Subject?

2003-07-11 17:15:55
On July 11, 2003 at 14:44, "David Mathog" wrote:

I want to shuffle all messages for "SOMELIST" (case sensitive,
anywhere in the subject line) into a mailing list archive.

How can this be accomplished?

% man procmailex 

shows that procmail supports ^Subject  filtering but

% bin/mk-procmailrc -man

doesn't indicate any method to trigger that sort of
procmail filter through lib/lists.def.

Is there some method to do something like the following?

PROCMAILCONDITION: * ^Subject:.*SOMELIST.*

Already exists.

See
<http://www.mhonarc.org/mharc/doc/bin/mk-procmailrc.html#list_definition_file>
and the Procmail-Condition option (i.e. read the manpage more
carefully).  Note, this is addition to an Address or From-Address
option.  Currently, you cannot base filtering exclusively on
Procmail-Condition.

A possible hack if you do not want to have Address or From-Address
have a read effect on the filtering, you could define Address or
From-Address with Procmail-Condition as follows:

  Address: .
  Procmail-Condition: * ^Subject:.*SOMELIST.*

--ewh

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHARC-USERS

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