[Mimedefang] filter in sendmail
Albert E. Whale, CISSP
aewhale at ABS-CompTech.com
Tue Jun 10 14:41:02 EDT 2003
G. Roderick Singleton wrote:
>On Tue, 2003-06-10 at 12:11, Ramón Alvarez Rayo wrote:
>
>
>>hello,
>>
>>does any body can confirm if the following lines is ok for my sendmail.cf:
>>
>># Input mail filters
>>O InputMailFilters=mimedefang
>>
>>
>>
NO, it's not.
>>...
>>
>>#####################################################################
>>Xmimedefang, S=local:/var/spool/MIMEDefang/mimedefang.sock, F=T,
>>T=S:10m;R:10m;E:10m
>>
>>
>You really shouldn't be playing around in sendmail.cf unless you're a
>REAL expert, in which case you'd know the answer ;-)
>
True, but we all learned somehow.
>Please use sendmail.mc to setup your system. The lines you need for
>sendmail.cf are as follows:
>
>define(`MILTER', `1')dnl
>
>
I believe that this entry is no longer needed since 8.12.x, MILTER has
become a fully recognized component of sendmail.
However, the devtools/Site/site.config.m4 will incorporate the MILTER
component in the compilation. Read the Documentation several times.
However this file will include the following:
more site.config.m4
dnl Milter
APPENDDEF(`conf_sendmail_ENVDEF', `-DMILTER')
APPENDDEF(`conf_libmilter_ENVDEF', `-D_FFR_MILTER_ROOT_UNSAFE')
>define(`confMILTER_LOG_LEVEL', 6)dnl
>
This will reduce the amount of details logged by MIMEDefang and the MILTER.
>INPUT_MAIL_FILTER(`mimedefang',`S=unix:/var/spool/MIMEDefang/mimedefang.sock,\ F=T, T=S:1m;R:1m;E:5m')dnl
>
>And watch for linefolding. e.g. the INPUT_* line is one line minus the \
>
>
>
HTH.
--
Albert E. Whale, CISSP
http://www.abs-comptech.com
----------------------------------------------------------------------
ABS Computer Technology, Inc. - ESM, Computer & Networking Specialists
Sr. Security, Network, and Systems Consultant
Founding Board of Directors of Pittsburgh FBI - InfraGard
More information about the MIMEDefang
mailing list