File: address-part.sieve

package info (click to toggle)
dovecot 1%3A1.2.15-7%2Bdeb6u1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 30,340 kB
  • ctags: 20,012
  • sloc: ansic: 191,443; sh: 21,091; makefile: 3,330; cpp: 526; perl: 108; xml: 44
file content (16 lines) | stat: -rw-r--r-- 290 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Address part errors
 *
 * Total errors: 2 (+1 = 3)
 */

# Duplicate address part (1)
if address :all :comparator "i;octet" :domain "from" "STEPHAN" {

	# Duplicate address part (2)
	if address :domain :localpart :comparator "i;octet" "from" "friep.example.com" {
		keep;
	}

	stop;
}