cats2procmailrc iconcats2procmailrc 2011-02-19

cats2procmailrc can generate a procmail recipe from my mail categories file.
cats2procmailrc can generate a procmail recipe from my mail categories file. The intent is to have an extremely succinct file of easily editable one line rules, generally of the form:

folder tag pattern

I build my .procmailrc like this:

cats2procmailrc
-a 'announce-email "+%"'
-t maildir -L
-m cskk.homeip.net
$HOME/.procmailrc

Options:

-a alert

Specify a shell command to run as the alert function (see FILE FORMAT below), such as mailblink(1). The character percent ('%') is replaced by the folder name.

-D

Insert a variation on the standard formail(1) recipe for deleting duplicates on a per-folder basis. For MH and Maildir folders, use a .msgid.cache file within the folder, otherwise use the file MAILDIR/.msgid.cache-folder.

-L

Put the tag into the X-Label header field instead of as a prefix to the subject line.

-m maildomains

Specify the default mail domain for rule addresses lacking an @domain. The default comes from the environment variable $MAILDOMAIN. In fact this may be a list of domains if you have some equvalents, separated by commas.

-t type

Specify the default mailbox type. If the mailbox exists the type is deduced automatically, but otherwise uses this default, which may be one of unix, maildir or mh. The default is unix.

-T

Don't track rule matches. Normally a X-Cats2Procmailrc-Matching-Rule header is inserted describing the match rule. This is done with formail and so can incur a noticable penalty if slow machines with lots of messages. If you're using the -L option the labels will mostly track stuff for you anyway.

What's New in This Release:

· Broken mutli-folder rule parsing was fixed.

last updated on:
February 21st, 2011, 11:43 GMT
price:
FREE!
developed by:
Cameron Simpson
license type:
Freeware 
category:
ROOT \ Communications \ Email Filters

FREE!

In a hurry? Add it to your Download Basket!

user rating 18

UNRATED
2.9/5
 

0/5

Add your review!

SUBMIT