On Wed, 2004-04-14 at 10:21, [EMAIL PROTECTED] wrote:

> WOOHOO, or so I thought because when I do cat ./test/test1 | mail root -s "Testing" 
> I get the one line and nothing has been flagged and nothing in the header has 
> changed.

ps auxwww | grep "clamav-milter" | grep -v grep

This will show us the commandline that you're calling clamav-milter
with.  Chances are you need to add the -l option.  Here's what mine
looks like:

[EMAIL PROTECTED] root]# ps auxwww | grep "clamav-milter" | grep -v grep
clamav   15832  0.0  0.0 191696 1248 ?       S    09:40   0:20
clamav-milter --onfig-file=/etc/clamav.conf --max-children=20 --quiet
-ol local:/var/clamav/clmilter.socket

If you want to adjust those options, typically it's set in an
environment variable in /etc/rc.d/init.d/clamav-milter, but only if it's
not previously set in /etc/sysconfig/clamav-milter.  Here's my
/etc/sysconfig/clamav-milter:

[EMAIL PROTECTED] root]# cat /etc/sysconfig/clamav-milter
### Simple config file for clamav-milter, you should
### read the documentation and tweak it as you wish.
#
# No longer used, 3000 emails a day is a bit much for my blood
#       [EMAIL PROTECTED]
#       --postmaster-only

CLAMAV_FLAGS="
        --config-file=/etc/clamav.conf
        --max-children=20
        --quiet
        -ol local:/var/clamav/clmilter.socket
"

Note the lone double-quote on the last line.  It's legitimate to set
environment variables this way because the carriage returns are stripped
when stored in an environment variable (as per the ps command above).

Blue skies...                   Todd



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to