- dagitRules :: Writer [CExp] ()
- dagitDefaultRule :: Writer [CExp] ()
- sarah :: Writer [CExp] ()
- nwn :: Writer [CExp] ()
- mom :: Writer [CExp] ()
- dad :: Writer [CExp] ()
- rogan :: Writer [CExp] ()
- lkm :: Writer [CExp] ()
- cvsupdates :: Writer [CExp] ()
- cdspaper :: Writer [CExp] ()
- bugs :: Writer [CExp] ()
- forms3Tech :: Writer [CExp] ()
- forms3 :: Writer [CExp] ()
- euses :: Writer [CExp] ()
- darcsUsers :: Writer [CExp] ()
- darcsDevel :: Writer [CExp] ()
- sbclDevel :: Writer [CExp] ()
- ogi :: Writer [CExp] ()
- clispDevel :: Writer [CExp] ()
- csGradTalk :: Writer [CExp] ()
- debian :: Writer [CExp] ()
- csmaillist :: Writer [CExp] ()
- classes :: Writer [CExp] ()
- spamc :: Writer [CExp] ()
- spamcheck :: Writer [CExp] ()
- momentum :: Writer [CExp] ()
- sharing :: Writer [CExp] ()
- fixReplyTo :: Writer [CExp] ()
- notTest :: Writer [CExp] ()
- alsoTest :: Writer [CExp] ()
- sarah' :: Writer [CExp] ()
- nwn' :: Writer [CExp] ()
- mom' :: Writer [CExp] ()
- dad' :: Writer [CExp] ()
- rogan' :: Writer [CExp] ()
- lkm' :: Writer [CExp] ()
- ogi' :: Writer [CExp] ()
- debian' :: Writer [CExp] ()
- cvsupdates' :: Writer [CExp] ()
- bugs' :: Writer [CExp] ()
- csmaillist' :: Writer [CExp] ()
- euses' :: Writer [CExp] ()
- forms3Tech' :: Writer [CExp] ()
- forms3' :: Writer [CExp] ()
- darcsUsers' :: Writer [CExp] ()
- darcsDevel' :: Writer [CExp] ()
- sbclDevel' :: Writer [CExp] ()
- clispDevel' :: Writer [CExp] ()
- csGradTalk' :: Writer [CExp] ()
- momentum' :: Writer [CExp] ()
- orTest :: Writer [CExp] ()
- notOrTest :: Writer [CExp] ()
Documentation
dagitRules :: Writer [CExp] ()Source
Any rules that you create need to end up in the rules list. Other than that, feel free to define your own rules using these rules an examples.
A rule is something of the form:
when condition action
Examples of condition might include:
(from (Addr "foo@bar")) (subject "Hi again")
And example actions are things like:
(insertMbox "steve")@, @(forward [Addr "friend@yahoo.com"])
I have created some aliases for commonly used constructions
For example, simpleSortByFrom joe
, is equivalent to:
when (from (Addr "joe")) (insertMbox "joe")
For a full list of what is possible, check the Autoproc.Classifier module.
dagitDefaultRule :: Writer [CExp] ()Source
I use this rule to make sure any mail that is not sorted goes into
my mail spool. It uses Autoproc.Classifier's defaultRule
cvsupdates :: Writer [CExp] ()Source
forms3Tech :: Writer [CExp] ()Source
darcsUsers :: Writer [CExp] ()Source
darcsDevel :: Writer [CExp] ()Source
clispDevel :: Writer [CExp] ()Source
csGradTalk :: Writer [CExp] ()Source
csmaillist :: Writer [CExp] ()Source
spamc :: Writer [CExp] ()Source
A filter is a special action that transforms the email for the benefit of future rules. This particular rule, hands the email off to spam assassin so that it can be checked for signs of spam.
fixReplyTo :: Writer [CExp] ()Source
This rules fixes the reply-to header of a mailing list. I don't recommend doing this unless you know what you are doing.
alsoTest :: Writer [CExp] ()Source
Sometimes we want just one condition, but we have multiple actions. In this case, use the also syntax. It allows multiple action for one rule.
cvsupdates' :: Writer [CExp] ()Source
csmaillist' :: Writer [CExp] ()Source
forms3Tech' :: Writer [CExp] ()Source
darcsUsers' :: Writer [CExp] ()Source
darcsDevel' :: Writer [CExp] ()Source
sbclDevel' :: Writer [CExp] ()Source
clispDevel' :: Writer [CExp] ()Source
csGradTalk' :: Writer [CExp] ()Source