[Mimedefang] Sendmail, MIMEDefang and ClamAV

Adam Lanier adam at krusty.madoff.com
Thu Aug 26 15:26:14 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matthew.van.Eerde at hbinc.com wrote:
| NFN Smith wrote:
|
|>define(`_FFR_MILTER', `true')dnl
|>
|>INPUT_MAIL_FILTER(`mimedefang',`S=unix:/var/spool/MIMEDefang/mimedefang.sock,F=T,T=S:2m;R:2m')dnl
|>
|>INPUT_MAIL_FILTER(`clmilter',`S=local:/var/milter/clmilter.sock, F=,
T=S:4m;R:4m')dnl
|>define(`confINPUT_MAIL_FILTERS', `clmilter')
|>
|
|
| This is wrong.  See
| http://www.sendmail.org/m4/adding_mailfilters.html
|
| "Note that setting `confINPUT_MAIL_FILTERS' after any
INPUT_MAIL_FILTER() commands will clear the list created by the prior
INPUT_MAIL_FILTER() commands."
|
| Take out your "define(`confINPUT_MAIL_FILTERS', `clmilter')" line and
you should be OK.

Alternately, you could define both filters as in:
	define(`confINPUT_MAIL_FILTERS', `mimedefang, clmilter')dnl

Note that there is probably no benefit to doing this rather than just
removing the confINPUT_MAIL_FILTERS entry unless you have a lot of
filters and simply want to redefine the order in which they are called.


- --
Adam Lanier
Bernard L. Madoff Investment Securities LLC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBLjlWyiJGTGcJL0cRAlpMAKC4Eqymtf2Xj32GTCytK0IYwlR00QCgi9ym
HjTf1BIkkm+KFUSgSq6mdpI=
=TSFU
-----END PGP SIGNATURE-----



More information about the MIMEDefang mailing list