File: sample.sortmailrc

package info (click to toggle)
sortmail 1%3A2.4-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 628 kB
  • sloc: ansic: 8,496; makefile: 314
file content (47 lines) | stat: -rw-r--r-- 1,562 bytes parent folder | download | duplicates (4)
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
# @(#)sample.sortmailrc 1.5 02/03/11 falk
# $Id: sample.sortmailrc,v 1.1.1.1 2002/03/12 05:38:57 efalk Exp $
#
# This is a sample .sortmailrc file.
#
# The destination for unclassifiable mail is the +other folder.
# The directory containg the folders is Mail
# vacation mode is not currently enabled
#
# all mail from Mailer-Daemon goes to the +bounces folder.  (Case ignored.)
# all spam from cyberpromo gets junked.
# all mail from Alice goes to +alice *and* processing continues.
# all mail to me (Joe) larger than 2000 lines goes to +other
# all mail to me (Joe) or from my boss Fred goes directly to my mailbox.
# all mail to my building goes directly to my mailbox AND to my +B18 folder.
# all mail from my friend jim who never formats his mail goes through
#	my "fixjim" filter, which formats it and appends it to my mailbox.
# all mail to the scuba club or with "scuba" in the subject goes into
#	my +scuba folder.
# all mail to the testing alias is forwarded to my my account on another machine
# all probable spam goes to +spam
# all mail with "Precedence: junk" in the header goes to +other.
# all unclassified mail goes to +other.

set mailbox=/var/mail/joe
set default=+other
set folder='Mail'
#set vacation

/Mailer-Daemon/if:+bounces
/cyberpromo/f:j
/alice/f:+alice:c
(/joe/t && $lines > 2000):+other
/joe/t:m
/fred/f:m
/bldg18/t:m:+B18
/jim@apple/f:| /home/joe/bin/fixjim
/scubaclub/t:+scuba
/scuba/s:+scuba
/testing/t:m joe@lab

# Spam filters are in a seperate file.

set spamfolder=+spam
includerc sortmailrc.spam

/^Precedence: junk/h:+other