File: clamav-milter.m4

package info (click to toggle)
clamav 0.101.4+dfsg-0+deb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 29,564 kB
  • sloc: ansic: 158,978; sh: 8,178; cpp: 5,173; makefile: 2,088; yacc: 1,351; lex: 714; python: 120; perl: 17
file content (28 lines) | stat: -rw-r--r-- 790 bytes parent folder | download | duplicates (5)
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
dnl
dnl		clamav-milter.m4
dnl
dnl configure sendmail to use clamav-milter
dnl
dnl written by Elrond <elrond@samba-tng.org> 2004
dnl
dnl
INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clamav/clamav-milter.ctl, F=, T=S:4m;R:4m')dnl
dnl
dnl INPUT_MAIL_FILTER usually already does the right thing
dnl to confINPUT_MAIL_FILTERS, but to be sure, we do it
dnl again, if necessary.
dnl
dnl 	if confINPUT_MAIL_FILTERS set:
dnl 		if it contains clamav
dnl			do nothing
dnl		else
dnl			append ", clamav"
dnl	else
dnl		set it to "clamav"
dnl
ifdef(`confINPUT_MAIL_FILTERS',
  `ifelse(regexp(`,'defn(`confINPUT_MAIL_FILTERS')`,', `, *clamav *,'),
          `-1',
    `define(`confINPUT_MAIL_FILTERS',
      defn(`confINPUT_MAIL_FILTERS')`, clamav')')',
  `define(`confINPUT_MAIL_FILTERS', `clamav')')dnl