File: example.sv

package info (click to toggle)
mailutils 1%3A3.15-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 36,672 kB
  • sloc: ansic: 181,539; sh: 110,509; yacc: 7,458; cpp: 3,834; makefile: 3,152; lex: 1,972; python: 1,617; exp: 1,562; awk: 152; lisp: 132; sed: 31
file content (21 lines) | stat: -rw-r--r-- 310 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Example sieve script.

require [ "fileinto", "redirect" ];
  
if size :over 20
  {
    fileinto "/home/sam/p/gnu/mailutils/cmu-sieve/sv/inbox";
  }
  
if address :domain :is "to" "uwaterloo.ca"
  {
    redirect "dom@is.uw";
  }
  
if header :is "Status" "RO"
  {
    redirect "status@is.ro";
  }
  
keep;