On Thu, 22 Apr 2004 15:25:02 -0700, [EMAIL PROTECTED] wrote:

>
>
>In the message dated: Thu, 22 Apr 2004 16:35:01 EDT,
>The pithy ruminations from "Don Levey" on 
><RE: [Clamav-users] Re: clam-av/milter, segmentation fault> were:
>=> [EMAIL PROTECTED] wrote:
>=> 
>       [SNIP!]
>
>=> Yes, it does - thanks!
>=> Running that permitted the milter to start without incident or error.
>=> 
>=> Of course now (you just knew there had to be something else), trying to
>=> start sendmail with the example lines included in sendmail.mc gives me the
>=> following:
>=> 
>
>RTFEM (Read The Fine Error Message):
>
>=> Starting sendmail: 451 4.0.0 InputFilter clmilter not defined: No such file
>                                            ^^^^^^^^
>
>OK, sendmail is looking for an InputFilter named clmilter, and complaining when 
>it doesn't exist.
>
>
>=> or directory
>=> WARNING: Xclamav: local socket name /var/run/clamav/clamav-milter.sock
>=> missing
>=> 
>=> The lines in sendmail.mc are:
>=> INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clamav/clamav-milter.sock, F=,
>                      ^^^^^^
>You've named your filter "clamav".
>
>=> T=S:4m;R:4m')dnl
>=> define(`confINPUT_MAIL_FILTERS', `clmilter')dnl
>                                     ^^^^^^^^
>Then you tell sendmail to use a filter named "clmilter". No wonder the poor 
>thing is confused.
>
>=> 
>=> I had thought that the order might affect the execution, and reversed them,
>=> but the results were the same.  What might I have forgotten?
>
>In fact, the confINPUT_MAIL_FILTERS probably isn't necessary in this case
>(depending on your version onf sendmail).
>


The two need to match. You define the term clmilter as a mail filter and
define clmilter itself. This is from my sendmail.mc (lines are wrapped):

INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clamav-milter.sock,F=,
T=S:4m;R:4m')dnl
define(`confINPUT_MAIL_FILTERS', `clmilter')


--
   Steve
   


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg297
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to