Re: [Clamav-users] milter errors

2004-08-22 Thread Scott Grayban

--- Joe Maimon <[EMAIL PROTECTED]> wrote:

> 
> 
> 
> >INPUT_MAIL_FILTER(`clamav-milter',
> >`S=local:/clamav/clmilter.sock,F=, T=S:4m;R:4m')dnl
> >define(`confINPUT_MAIL_FILTERS',
> `clamav-milter')dnl
> >  
> >
> >  
> >
> You need to pass the proper socket path to the
> milter as its startup 
> arguments
> 
> 
> 
> >LocalSocket /clamav/clmilter.sock
> >
> >  
> >
> Sendmail need one socket to talk to the
> clamav-milter
> 
> The clamav-milter uses ANOTHER socket to talk to
> clamd
> 
> They cannot be set to the same one
> 
A ok I got it..

I have to start the milter with its own socket and the
socket listed in the milter conf should be the same as
the one for the clamd.

People should actually say that instead of what you
said.



---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] milter errors

2004-08-22 Thread Scott Grayban

--- Joe Maimon <[EMAIL PROTECTED]> wrote:

> 
> 
> 
> >INPUT_MAIL_FILTER(`clamav-milter',
> >`S=local:/clamav/clmilter.sock,F=, T=S:4m;R:4m')dnl
> >define(`confINPUT_MAIL_FILTERS',
> `clamav-milter')dnl
> >  
> >
> >  
> >
> You need to pass the proper socket path to the
> milter as its startup 
> arguments
> 
> 
> 
> >LocalSocket /clamav/clmilter.sock
> >
> >  
> >
> Sendmail need one socket to talk to the
> clamav-milter
> 
> The clamav-milter uses ANOTHER socket to talk to
> clamd
> 
> They cannot be set to the same one


Uhh explain ?



---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] milter errors

2004-08-22 Thread Joe Maimon

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

 

You need to pass the proper socket path to the milter as its startup 
arguments


LocalSocket /clamav/clmilter.sock
 

Sendmail need one socket to talk to the clamav-milter
The clamav-milter uses ANOTHER socket to talk to clamd
They cannot be set to the same one

---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] milter errors

2004-08-22 Thread Scott Grayban

--- Nigel Horne <[EMAIL PROTECTED]> wrote:
> Version of operating system?
Mandrake 10
> output of clamav-milter --version?
ClamAV version 0.75.1, clamav-milter version 0.75c

> what runtime arguments are you giving to
-lo

> clamav-milter?
what about it?

> What did you put into sendmail.mc?
INPUT_MAIL_FILTER(`clamav-milter',
`S=local:/clamav/clmilter.sock,F=, T=S:4m;R:4m')dnl
define(`confINPUT_MAIL_FILTERS', `clamav-milter')dnl

> What's in your clamav.conf?
# Uncomment this option to enable logging.
# LogFile must be writable for the user running the
daemon.
# Full path is required.
LogFile /var/log/clamav/clamav.log

# By default the log file is locked for writing - the
lock protects against
# running clamd multiple times (if want to run another
clamd, please
# copy the configuration file, change the LogFile
variable, and run
# the daemon with --config-file option). That's why
you shouldn't uncomment
# this option.
#LogFileUnlock

# Maximal size of the log file. Default is 1 Mb.
# Value of 0 disables the limit.
# You may use 'M' or 'm' for megabytes (1M = 1m =
1048576 bytes)
# and 'K' or 'k' for kilobytes (1K = 1k = 1024 bytes).
To specify the size
# in bytes just don't use modifiers.
#LogFileMaxSize 2M

# Log time with an each message.
#LogTime

# Log also clean files. May be useful in debugging but
will drastically
# increase the log size.
#LogClean

# Use system logger (can work together with LogFile).
LogSyslog

# Enable verbose logging.
LogVerbose

# This option allows you to save the process
identifier of the listening
# daemon (main thread).
PidFile /var/run/clamav/clamd.pid

# Optional path to the global temporary directory.
# Default is system specific - usually /var/tmp or
/tmp.
TemporaryDirectory /tmp

# Path to the database directory.
# Default is the hardcoded directory (mostly
/usr/local/share/clamav,
# but it depends on installation options).
DatabaseDirectory /var/lib/clamav

# The daemon works in local or network mode. Currently
the local mode is
# recommended for security reasons.

# Path to the local socket. The daemon doesn't change
the mode of the
# created file (portability reasons). You may want to
create it in a directory
# which is only accessible for a user running daemon.
LocalSocket /clamav/clmilter.sock

# Remove stale socket after unclean shutdown.
FixStaleSocket

# TCP port address.
#TCPSocket 3310

# TCP address.
# By default we bind to INADDR_ANY, probably not wise.
# Enable the following to provide some degree of
protection
# from the outside world.
TCPAddr 127.0.0.1

# Maximum length the queue of pending connections may
grow to.
# Default is 15.
MaxConnectionQueueLength 30

# When activated, input stream (see STREAM command)
will be saved to disk before
# scanning - this allows scanning within archives.
StreamSaveToDisk

# Close the connection if this limit is exceeded.
# StreamMaxLength 2M

# Maximal number of a threads running at the same
time.
# Default is 5, and it should be sufficient for a
typical workstation.
# You may need to increase threads number for a server
machine.
MaxThreads 64

# Thread (scanner - single task) will be stopped after
this time (seconds).
# Default is 180. Value of 0 disables the timeout.
SECURITY HINT: Increase the
# timeout instead of disabling it.
# ThreadTimeout 500

# Maximal depth the directories are scanned at.
MaxDirectoryRecursion 15

# Follow a directory symlinks.
# SECURITY HINT: You should have enabled directory
recursion limit to
# avoid potential problems.
FollowDirectorySymlinks

# Follow regular file symlinks.
FollowFileSymlinks

# Do internal checks (eg. check the integrity of the
database structures)
# By default clamd checks itself every 3600 seconds (1
hour).
#SelfCheck 600

# Execute a command when virus is found. In the
command string %v and %f will
# be replaced by the virus name and the infected file
name respectively.
#
# SECURITY WARNING: Make sure the virus event command
cannot be exploited,
#   eg. by using some special file
name when %f is used.
#   Always use a full path to the
command.
#   Never delete/move files with this
directive !
#VirusEvent /usr/local/bin/send_sms 123456789 "VIRUS
ALERT: %f: %v"

# Run as selected user (clamd must be started by
root).
# By default it doesn't drop privileges.
User clamav

# Initialize the supplementary group access (for all
groups in /etc/group
# user is added in. clamd must be started by root).
AllowSupplementaryGroups

# Don't fork into background. Useful in debugging.
#Foreground

# Enable debug messages in libclamav.
#Debug

##
## Mail support
##

# Uncomment this option if you are planning to scan
mail files.
ScanMail

##
## Archive support
##


# Comment this line to disable scanning of the
archives.
ScanArchive


# By default the built-in RAR unpacker is disabled by
default because the code
# terribly leaks, however it's probably a good idea to
enable it.
#ScanRAR


# Options below protect your system against Denial

Re: [Clamav-users] milter errors

2004-08-22 Thread Nigel Horne
Scott Grayban wrote:
Hi,
I installed clamav but I am getting errors with it.
Milter: data, reject=451 4.7.1 Please try again later
Any ideas?
TIA
 

Version of operating system?
output of clamav-milter --version?
what runtime arguments are you giving to clamav-milter?
What did you put into sendmail.mc?
What's in your clamav.conf?
Is clamd running?
Did clamav-milter start?
What are you seeing in /var/log/maillog?
-Nigel

---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] milter errors

2004-08-22 Thread Nigel Horne
Scott Grayban wrote:
I did see this in the syslog also...
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_header: Received: (from [EMAIL PROTECTED]) ^Iby
removed (8.12.11/8.12.11/Submit) id i7LM4E5M032621;
^ISat, 21 Aug 2004 15:04:14 -0700
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_header: Date: Sat, 21 Aug 2004 15:04:14 -0700
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_header: From: root <[EMAIL PROTECTED]>
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_header: MIME-Version: 1.0
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_header: To: [EMAIL PROTECTED]
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_header: Subject: testing
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_header: Message-ID:
<[EMAIL PROTECTED]>
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_header: Content-ID:
<[EMAIL PROTECTED]>
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_header: Content-type: text/plain
Aug 21 16:26:16 webcp clamav-milter[14068]: clamfi_eoh
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_envbody: 9 bytes
Aug 21 16:26:16 webcp clamav-milter[14068]: clamfi_eom
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_close
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_eom: read nothing from clamd
Aug 21 16:26:16 webcp sendmail[14154]: i7LNQGus014154:
Milter: data, reject=451 4.7.1 Please try again later
--- Scott Grayban <[EMAIL PROTECTED]> wrote:
 

Hi,
I installed clamav but I am getting errors with it.
Milter: data, reject=451 4.7.1 Please try again
later
   

Any ideas?
TIA
 

You have compiled with debug enabled.
-Nigel

---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] milter errors

2004-08-21 Thread Scott Grayban
I did see this in the syslog also...

Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_header: Received: (from [EMAIL PROTECTED]) ^Iby
removed (8.12.11/8.12.11/Submit) id i7LM4E5M032621;
^ISat, 21 Aug 2004 15:04:14 -0700
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_header: Date: Sat, 21 Aug 2004 15:04:14 -0700
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_header: From: root <[EMAIL PROTECTED]>
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_header: MIME-Version: 1.0
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_header: To: [EMAIL PROTECTED]
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_header: Subject: testing
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_header: Message-ID:
<[EMAIL PROTECTED]>
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_header: Content-ID:
<[EMAIL PROTECTED]>
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_header: Content-type: text/plain
Aug 21 16:26:16 webcp clamav-milter[14068]: clamfi_eoh
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_envbody: 9 bytes
Aug 21 16:26:16 webcp clamav-milter[14068]: clamfi_eom
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_close
Aug 21 16:26:16 webcp clamav-milter[14068]:
clamfi_eom: read nothing from clamd
Aug 21 16:26:16 webcp sendmail[14154]: i7LNQGus014154:
Milter: data, reject=451 4.7.1 Please try again later

--- Scott Grayban <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> I installed clamav but I am getting errors with it.
> 
> Milter: data, reject=451 4.7.1 Please try again
> later
> 

Any ideas?

TIA



---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] milter errors

2004-08-21 Thread Scott Grayban
Hi,

I installed clamav but I am getting errors with it.

Milter: data, reject=451 4.7.1 Please try again later

Any ideas?

TIA


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] Milter errors after upgrade of clamav from 0.68 to 0.70

2004-04-21 Thread Dan O'Brien
I attempted to upgrade my ClamAV from 0.68 to 0.70 this morning.  0.68 has 
been running flawlessly on Fedora Core 1 patched to reasonably current (I 
haven't put the latest kernel on, I'm still at 2.4.22-2174nptl).

The error I get is

Apr 21 10:57:27 sweep sendmail[1539]: i3LEvR8Z001539: SYSERR(root): out of 
memory: Cannot allocate memory
Apr 21 10:57:27 sweep sendmail[1542]: i3LEvR8Z001542: SYSERR(root): out of 
memory: Cannot allocate memory

I've got my configuration settings saved in a shell script, so 0.70 was 
config'd and compiled with the same options as 0.68.  I didn't update my 
startup scripts or the files in /etc/sysconfig.  I checked the paths of my 
socket files; they're identical in sendmail.(mc|cf) and the config files. 
Clamdscan works fine.  I did have to change the ThreadTimeout parameter in 
clamav.conf to ReadTimeout when I updated the version.

I finally had to revert back to 0.68, which worked "as is" (after changing 
the parm back to "ThreadTimeout").

Thoughts, anyone?

Dan O'Brien


__

Axon Solutions, Inc.   Telephone: 703-845-8400
5827 Columbia Pike #502Facsimile: 703-845-5568
Falls Church, VA  22041  www.axonsolutions.com
__

>From the Technology You Have to the Solutions You Need



---
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


Re: [Clamav-users] Milter errors...

2003-10-30 Thread Mihai Greavu
I change clamav-milter with ivs-milter (search Internet with Google) and
works very well !

- Original Message -
From: "Tobias Rice" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 30, 2003 4:13 PM
Subject: [Clamav-users] Milter errors...


> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Clam-users
> I downloaded clamav .60 and compiled with the milter option for use with
> sendmail on my redhat9 system. It worked for about a day and started to
> refuse connections to the socket giving mailog errors like this:
>
> Milter (clmilter): to error state: 64 Time(s)
> Milter (clmilter): error connecting to filter: Connection refused by
> /var/run/clmilter.sock: 64 Time(s)
>
>
> So I downloaded, compiled, and installed the latest development build
> (yesterday) and it *appears* to work. If I send a test virus, it refuses
> the connection and fires out an email stating so, but I'm STILL getting
> the same errors in my mailogs.
> Any ideas what's going on??
> Many thanks,
> Tobias
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.3 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQE/oRyQ8SyNUqEG5J0RAjxLAKCfgvFQM+8GcVNPN9tRXAZ62mTUeQCfb9zD
> qT79E3BZCvgrmqSMpni4EDI=
> =0wfF
> -END PGP SIGNATURE-
>
>
>
> ---
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive?  Does it
> help you create better code?   SHARE THE LOVE, and help us help
> YOU!  Click Here: http://sourceforge.net/donate/
> ___
> Clamav-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/clamav-users



---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


[Clamav-users] Milter errors...

2003-10-30 Thread Tobias Rice
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Clam-users
I downloaded clamav .60 and compiled with the milter option for use with
sendmail on my redhat9 system. It worked for about a day and started to
refuse connections to the socket giving mailog errors like this:
Milter (clmilter): to error state: 64 Time(s)
Milter (clmilter): error connecting to filter: Connection refused by
/var/run/clmilter.sock: 64 Time(s)
So I downloaded, compiled, and installed the latest development build
(yesterday) and it *appears* to work. If I send a test virus, it refuses
the connection and fires out an email stating so, but I'm STILL getting
the same errors in my mailogs.
Any ideas what's going on??
Many thanks,
Tobias
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQE/oRyQ8SyNUqEG5J0RAjxLAKCfgvFQM+8GcVNPN9tRXAZ62mTUeQCfb9zD
qT79E3BZCvgrmqSMpni4EDI=
=0wfF
-END PGP SIGNATURE-


---
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users