1 |
########################## |
########################## |
2 |
# Accounts and mailboxes # |
# Accounts and mailboxes # |
3 |
########################## |
########################## |
4 |
|
# |
5 |
|
# Each account has a number of folders/mailboxes which are grouped under |
6 |
|
# an alias name. Folders belong to the last preceding account. A mailbox |
7 |
|
# can belong to many mailbox groups. |
8 |
|
# |
9 |
|
|
10 |
# |
# |
11 |
# Connects to "imap1.mail.server" at port 143, as "user1" and |
# Connects to "imap1.mail.server" at port 143, as "user1" and |
12 |
# using password "secret1". |
# using password "secret1". |
13 |
# |
# |
14 |
account user1:secret1@imap1.mail.server:143 |
# Mailboxes that exist at "imap1.mail.server" include: "INBOX", "woody", |
15 |
|
# "linux-mailist", etc. and are grouped in various ways. |
16 |
# |
# |
17 |
# Several groups of mailboxes that are part of the last |
account user1:secret1@imap1.mail.server:143 |
18 |
# preceding account. In other words all these folders are |
folder inbox1 INBOX |
19 |
# located at "imap1.mail.server", as part of the "user1" user |
folder friends Woody,Buzz |
20 |
# account. |
folder bsd bsd-mailist |
21 |
# |
folder linux linux-mailist |
22 |
# The same mailbox can belong to many mailbox groups. |
folder lists linux-mailist,bsd-mailist |
23 |
# |
folder all INBOX,woody,buzz,linux-mailist,bsd-mailist |
|
folder inbox1 INBOX |
|
|
folder friends Woody,Buzz |
|
|
folder bsd bsd-mailist |
|
|
folder linux linux-mailist |
|
|
folder lists linux-mailist,bsd-mailist |
|
|
folder all INBOX,woody,buzz,linux-mailist,bsd-mailist |
|
24 |
|
|
25 |
# |
# |
26 |
# Another account and it's folder settings. |
# Another account and it's folder settings. |
27 |
# |
# |
28 |
account user2:secret2@imap2.mail.server |
account user2:secret2@imap2.mail.server |
29 |
folder inbox2 INBOX |
folder inbox2 INBOX |
30 |
folder games nethack,koules |
folder games nethack,koules |
31 |
|
|
32 |
|
|
33 |
########### |
########### |
34 |
# Filters # |
# Filters # |
35 |
########### |
########### |
|
|
|
36 |
# |
# |
37 |
# Filters are completely independent from any account or |
# Filters are completely independent from any account or folder settings. |
38 |
# folder settings. Also, the mask command may be ommited. |
# The mask command may be ommited. If no masks are declared inside |
39 |
|
# a filter entry, then all messages are matched. |
40 |
# |
# |
41 |
|
|
42 |
# |
# |
50 |
# then delete |
# then delete |
51 |
# |
# |
52 |
filter spam or |
filter spam or |
53 |
mask from marketing@company.junk |
mask from marketing@company.junk |
54 |
mask from advertising@annoying.promotion |
mask from advertising@annoying.promotion |
55 |
mask subject new great products |
mask subject new great products |
56 |
action delete |
action delete |
57 |
|
|
58 |
# |
# |
65 |
# "and" is used. |
# "and" is used. |
66 |
# |
# |
67 |
filter bsdlist or |
filter bsdlist or |
68 |
header sender bsd-mailist@mailist.bsd |
header sender bsd-mailist@mailist.bsd |
69 |
action move bsd-mailist |
action move bsd-mailist |
70 |
|
|
71 |
# |
# |
77 |
# it will be automatically created). |
# it will be automatically created). |
78 |
# |
# |
79 |
filter patch and |
filter patch and |
80 |
subject [patch] |
subject [patch] |
81 |
smaller 50000 |
smaller 50000 |
82 |
action copy patches |
action copy patches |
83 |
|
|
84 |
# |
# |
85 |
# One can also display some of the headers of messages that match |
# One can also display some of the headers of messages that match |
86 |
# a filter. |
# a filter. |
87 |
# |
# |
88 |
# This filter prints the "From", "Subject" and "Date headers of |
# This filter prints the "From", "Subject" and "Date" headers of |
89 |
# recent, unread messages, that come from "tux@penguin.land" or |
# recent, unread messages, that come from "tux@penguin.land" or |
90 |
# "beastie@daemon.land" but not with a subject containing the |
# "beastie@daemon.land" but not with a subject containing the |
91 |
# phrase "all work and no play". |
# phrase "all work and no play". |
94 |
# accomplished with "new" or even "not old". |
# accomplished with "new" or even "not old". |
95 |
# |
# |
96 |
filter display |
filter display |
97 |
recent |
recent |
98 |
unseen |
unseen |
99 |
from tux@penguin.land |
from tux@penguin.land |
100 |
or from beastie@daemon.land |
or from beastie@daemon.land |
101 |
not subject all work and no play |
not subject all work and no play |
102 |
action list from,subject,date |
action list from,subject,date |
103 |
|
|
104 |
|
|
105 |
######## |
######## |
106 |
# Jobs # |
# Jobs # |
107 |
######## |
######## |
|
|
|
108 |
# |
# |
109 |
# Last there is the definition of the jobs where user combines |
# Last, there is the definition of the jobs where user combines |
110 |
# folders and filters _already_ defined, and specifies which filters |
# folders and filters _already_ defined, and specifies which filters |
111 |
# should be applied to which folders. |
# should be applied to which folders. |
112 |
# |
# |
113 |
|
|
114 |
job spam,display inbox1,inbox2 |
job spam,display inbox1,inbox2 |
115 |
job patches lists |
job patch lists |
116 |
job bsdlist inbox1 |
job bsdlist inbox1 |