On 9/7/2013 5:22 PM, Rich Shepard wrote:
>    I've read the U. Del. web page on procmail, and a couple of others,
> without finding a definitive answer whether a recipe can start with FROM_
> rather than TO_.

You can use any header you want to in your recipes. For example, I use
the List-Id header in filtering email from PLUG as it's much more
reliable than using To and CC.

:0:
* ^List-Id: Portland Linux/Unix Group <plug\.lists\.pdxlinux\.org>
.ML.PLUG/

That places all PLUG email into the PLUG mail subfolder of the ML
folder. More information on recipes can be found in the procmailrc man
page with the procmailex man page showing various examples of recipes.

>
>    Almost all entried in my recipes.rc file are used to sort mail list
> messages to their proper mbox file. But, there are a couple of individuals
> whose incoming mail I want to direct to a file in ~/mail/. I use the FROM_
> keyword but all the messages are placed in the default INBOX.
>
>    Is there a way to have procmail use FROM_ rather than TO_ or SUBJECT_?
>
> Rich
>
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug
>


-- 
Loren M. Lang
[email protected]
http://www.north-winds.org/


Public Key: ftp://ftp.north-winds.org/pub/lorenl_pubkey.asc
Fingerprint: 10A0 7AE2 DAF5 4780 888A  3FA4 DCEE BB39 7654 DE5B


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to