[EMAIL PROTECTED] wrote:
> What do you mean "isn't enough"? Are you saying you get an error
> message? If so what is the message? If not, what do you mean?
>
> On Tuesday 29 Jun 2004 16:06, Don Levey wrote:
>> I know the answer is out there somewhere, I just can't seem to find
>> it. When my system restarts, clamd starts right up, just like it's
>> supposed to. However, I need to manually start clamav-milter, and
>> specify all options on the command-line.  Even specifying the config
>> file isn't enough.
>>
>> What is the approved method for:
>> 1) Starting the milter automatically upon system startup, and
>> 2) Making sure the config file is read when this happens?
>>
>> TIA,
>>  -Don
>>

Whether or not I specify the file (-c /etc/sysconfig/clamav-milter) I get an
error:
        clamav-milter: No socket-addr given
If I specify the socket address on the command-line also, I get:
        ERROR: Parse error at line 10: Unknown option CLAMAV_FLAGS=".
        clamav-milter: Can't parse the config file /etc/sysconfig/clamav-milter

The contents of the config file are:

        ### Simple config file for clamav-milter, you should
        ### read the documentation and tweak it as you wish.

        # CLAMAV_FLAGS="
        #       --config-file=/etc/clamav.conf
        #       --max-children=2
        #       -obl local:/var/run/clamav/clmilter.socket
        #"

        CLAMAV_FLAGS="
                --config-file=/etc/clamav.conf
                --headers --noreject --outgoing
                --quarantine-dir=/var/clamav/quarantine
                --max-children=10 --force-scan --local
                [EMAIL PROTECTED]
                --postmaster-only
                --server=localhost
                local:/var/run/clamav/clamav-milter.sock
        "

My additions are modeled after the default config commented out above.
My assumption is that the default specified is in fact valid.

I'll check out the rc.d stuff someone else mentioned - I was blanking on
that and couldn't find it anywhere.

Thanks,
 -Don



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to