forked from codemac/config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fdm.conf
71 lines (58 loc) · 2.45 KB
/
fdm.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# ~/.fdm.conf
#
# Copyright Jeff Mickey
#
# The following strings are replaced in pipe commands and maildir/mbox
# paths:
# %a: account name
# %s: account-specific string
# %h: user's home directory
# %n: user's uid
# %t: action name if performing action
# %u: name of user
# %H: current hour (00-23)
# %M: current minute (00-59)
# %S: current second (00-59)
# %d: current day of the month (00-31)
# %m: current month (01-12)
# %y: current year
# %W: current day of the week (0-6, Sunday is 0)
# %Y: current day of the year (000-365)
# %Q: current quarter (1-4)
# Default locations for root level mailboxes and mailing lists
$mail = "%h/.mail"
$list_pre = "${mail}/dl."
action "drop" drop
# mailboxen
action "inbox" maildir "${mail}/default"
action "spam" maildir "${mail}/spam"
# Mailing Lists
action "l-arch" maildir "${list_pre}.arch"
action "l-arch-dev" maildir "${list_pre}.arch-dev"
action "l-arch-tur" maildir "${list_pre}.arch-tur"
action "l-gtd" maildir "${list_pre}.gtd"
action "l-gtd-ana" maildir "${list_pre}.gtd-ana"
action "l-gtd_palm" maildir "${list_pre}.gtd_palm"
action "l-ion" maildir "${list_pre}.ion"
action "l-pacman-dev" maildir "${list_pre}.pacman-dev"
action "l-vim-dev" maildir "${list_pre}.vim-dev"
action "l-zsh" maildir "${list_pre}.zsh"
# My mail accounts ( right now everything is forwarded to gmail for spam-filtering that is above and beyond.
account "netapp" pop3s server "tahoe.netapp.com" port 995 user "jmickey" pass ""
# Mail matching and sorting rules
# spam away!
match "^X-Spam-Status: Yes" in headers action "spam"
# move files that have *.exe to spam as well
match attachment any-name "*.exe" action "spam"
# mailing lists
match "^(To|Cc):.*[email protected]" in headers action "l-gtd"
match "^(To|Cc):.*[email protected]" in headers action "l-gtd-ana"
match "^(To|Cc):.*[email protected]" in headers action "l-gtd_palm"
match "^(To|Cc):.*[email protected]" in headers action "l-arch"
match "^(To|Cc):.*[email protected]" in headers action "l-arch-tur"
match "^(To|Cc):.*[email protected]" in headers action "l-arch-dev"
match "^(To|Cc):.*[email protected]" in headers action "l-pacman-dev"
match "^(To|Cc):.*ion-general" in headers action "l-ion"
match "^(To|Cc):.*[email protected]" in headers action "l-vim-dev"
match "^(To|Cc):.*zsh-(workers|users)@sunsite\.dk" in headers action "l-zsh"
match all action "inbox"