/[imapfilter]/imapfilter/sample.imapfilterrc
ViewVC logotype

Diff of /imapfilter/sample.imapfilterrc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by lefcha, Sun Sep 30 20:26:33 2001 UTC revision 1.9 by lefcha, Tue Oct 2 13:31:25 2001 UTC
# Line 1  Line 1 
1    
2    ###########
3    # Options #
4    ###########
5    #
6    # Some program options, such as log file.
7    #
8    logfile = /home/user/.imapfilter_log
9    
10    
11  ##########################  ##########################
12  # Accounts and mailboxes #  # Accounts and mailboxes #
13  ##########################  ##########################
# Line 52  account user2:secret2@imap2.mail.server Line 62  account user2:secret2@imap2.mail.server
62  filter spam or  filter spam or
63    mask from marketing@company.junk    mask from marketing@company.junk
64    mask from advertising@annoying.promotion    mask from advertising@annoying.promotion
65    mask subject new great products    mask subject "new great products"
66  action delete  action delete
67    
68  #  #
# Line 74  action move bsd-mailist Line 84  action move bsd-mailist
84  # This filter copies all messages with the "[patch]" word in  # This filter copies all messages with the "[patch]" word in
85  # the subject header and smaller that 50000 bytes, to a mailbox  # the subject header and smaller that 50000 bytes, to a mailbox
86  # named "patches" that may or may not exist (in the latter case  # named "patches" that may or may not exist (in the latter case
87  # it will be automatically created).  # it will be automatically created). Also, displays their "From" and
88    # "Subject" headers.
89  #  #
90  filter patch and  filter patch and
91    subject [patch]    subject [patch]
92    smaller 50000    smaller 50000
93  action copy patches  action copy patches from,subject
94    
95  #  #
96  # One can also display some of the headers of messages that match  # One can also display some of the headers of messages that match
97  # a filter.  # a filter.
98  #  #
99  # This filter prints the "From", "Subject" and "Date" headers of  # This filter displays and/or writes to logfile the "From", "Subject"
100  # recent, unread messages, that come from "tux@penguin.land" or  # and "Date" headers of recent, unread messages, that come from
101  # "beastie@daemon.land" but not with a subject containing the  # "tux@penguin.land" or "beastie@daemon.land" but not with a subject
102  # phrase "all work and no play".  # containing the phrase "all work and no play".
103  #  #
104  # Note that the "recent and unseen" functionality can also be  # Note that the "recent and unseen" functionality can also be
105  # accomplished with "new" or even "not old".  # accomplished with "new" or even "not old".
# Line 98  filter display Line 109  filter display
109    unseen    unseen
110    from tux@penguin.land    from tux@penguin.land
111    or from beastie@daemon.land    or from beastie@daemon.land
112    not subject all work and no play    not subject "all work and no play"
113  action list from,subject,date  action list from,subject,date
114    
115    

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26