re:[Mimedefang] problem clamav failed with testvirus.org ? solved
I'm sorry for the previous messages. I use the laster mimdefang.example from mimdefang2.42 and now hexadecimal test were stopped by mimedefang. Maybe md_copy_orig_msg_to_work_dir_as_mbox_file(); change something ? ___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
[Mimedefang] Problem with clamav 0.70 /tmp full of directories
On fedora core B using mimedefang 2.42 clamav-0.70 or last from cvs I am not sure the problem coming from MD but I have /tmp full of directories drwx-- 2 defang defang 4096 avr 29 10:28 clamav-cf15fe6738d54335 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-628ab4bef9112b1d drwx-- 2 defang defang 4096 avr 29 10:28 clamav-8857c8b5861df0cb drwx-- 2 defang defang 4096 avr 29 10:28 clamav-c7b1de517aa4da1d drwx-- 2 defang defang 4096 avr 29 10:28 clamav-e21fffe5cfd6cd71 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-790919150bd147ae drwx-- 2 defang defang 4096 avr 29 10:28 clamav-8de99ad727552066 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-b8d9d48a30d7b776 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-9ed97da3e284ea86 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-23233323612fa989 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-be8ed231e65d1ebd drwx-- 2 defang defang 4096 avr 29 10:28 clamav-a87aed47b663d439 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-5a3e39480f3f1bb6 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-c7d4e26429093066 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-e4bb63b13645c536 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-955beceaddd2c2c7 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-8c8b445896fa1d55 - Ignored: drwx-- 2 defang defang 4096 avr 29 10:28 clamav-8c1c22436fe364e2 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-09e18be16db1a926 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-0d5506f41a9c94b0 . In it there are pieces of files to be scanned I supposed clamav-13ebdb3e9fcf2c4c: total 64 -rw--- 1 defang defang 59838 avr 29 10:29 18_0340013E.pdfrIRTqf clamav-8cc0f61bce8f9e9f: total 108 -rw--- 1 defang defang 1329 avr 29 10:30 unknown7S9Ek5 -rw--- 1 defang defang 100353 avr 29 10:30 Groupe action doc avril 2004.docrCptfV These directories never disapeared Do yo have the same problem ? Thanks Sujet: Problem with clamav.0.70 /tmp full De: jean-marc pouchoulon [EMAIL PROTECTED] Date: Thu, 29 Apr 2004 10:32:44 +0200 Pour: [EMAIL PROTECTED] Hi On fedora core B using mimedefang 2.42 clamav-0.70 or last from cvs I am not sure the problem coming from MD but I have /tmp full of directorys drwx-- 2 defang defang 4096 avr 29 10:28 clamav-cf15fe6738d54335 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-628ab4bef9112b1d drwx-- 2 defang defang 4096 avr 29 10:28 clamav-8857c8b5861df0cb drwx-- 2 defang defang 4096 avr 29 10:28 clamav-c7b1de517aa4da1d drwx-- 2 defang defang 4096 avr 29 10:28 clamav-e21fffe5cfd6cd71 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-790919150bd147ae drwx-- 2 defang defang 4096 avr 29 10:28 clamav-8de99ad727552066 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-b8d9d48a30d7b776 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-9ed97da3e284ea86 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-23233323612fa989 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-be8ed231e65d1ebd drwx-- 2 defang defang 4096 avr 29 10:28 clamav-a87aed47b663d439 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-5a3e39480f3f1bb6 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-c7d4e26429093066 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-e4bb63b13645c536 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-955beceaddd2c2c7 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-8c8b445896fa1d55 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-8c1c22436fe364e2 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-09e18be16db1a926 drwx-- 2 defang defang 4096 avr 29 10:28 clamav-0d5506f41a9c94b0 . In it there are pieces of files to be scanned I supposed clamav-13ebdb3e9fcf2c4c: total 64 -rw--- 1 defang defang 59838 avr 29 10:29 18_0340013E.pdfrIRTqf clamav-8cc0f61bce8f9e9f: total 108 -rw--- 1 defang defang 1329 avr 29 10:30 unknown7S9Ek5 -rw--- 1 defang defang 100353 avr 29 10:30 Groupe action doc avril 2004.docrCptfV These directorys never disapeared Do yo have the same problem ? Thanks ___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
[Mimedefang] ***SPAM-POURRIEL*** Re: search perl code perl-ldap to see if a user exist + how use bogofilter + problem clamav failed with testvirus.org ?
thanks for you your previous answer: I have one for bogofilter I use : my $bogo = ; $bogo = `/usr/bin/bogofilter -tu ./INPUTMSG`; if ( $bogo =~ m/Y\s[0|1]\.[0-9]*/ ) { action_change_header('Subject', ***SPAM-POURRIEL*** $Subject); action_change_header(X-Bogo-Score, $bogo); } in filter_end it seems to work. Please be more explicit in giving information regarding your questions. system : fedora What versions of mimedefang/clamav. mimedefang 2.42 clamav 0.68 or last from cvs What testviruss tests failed. test5, 8, ,12, 19,20,21,22,23,25 what clamav.conf configuration, etc. ## ## Example config file for the Clam AV daemon ## Please read the clamav.conf(5) manual before editing this file. ## # Comment or remove the line below. #Example #Foreground # Uncomment this option to enable logging. # LogFile must be writable for the user running the daemon. # Full path is required. #LogFile /tmp/clamd.log LogFile /var/log/clamav/clamd.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 #LogFileMaxSize 0 # Log time with an each message. #LogTime 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/clamd.pid PidFile /var/run/clamav/clamd.pid # Optional path to the global temporary directory. # Default is system specific - usually /var/tmp or /tmp. #TemporaryDirectory /var/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 #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 /var/spool/MIMEDefang/clamd.sock # Remove stale socket after unclean shutdown. #FixStaleSocket # TCP port address. #TCPSocket 3310 #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 #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 7M # 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 300 # 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 defang # Initialize the supplementary group access (for all groups in /etc/group # user is added in. clamd must be started by root). #AllowSupplementaryGroups
[Mimedefang] search perl code perl-ldap to see if a user exist + how use bogofilter + problem clamav failed with testvirus.org ?
Bonjour, Does anyone use bogofilter with mimedefang and of course how ? or simply with milter ( bogofilter-milter don't seem to work on a mail gateway). I 'd like also to ask our ldap server with perl-ldap , if a user exist before accepting mail. If someone did it I have also some problems with mimedefang and clamav. A lots of test from www.testvirus.org failed. I saw in the archive that the problem wa referenced without clear answers( or I don't understand) . It works correctly with clamav-milter. no more answers ? thanks jean-marc. ___ Visit http://www.mimedefang.org and http://www.canit.ca MIMEDefang mailing list [EMAIL PROTECTED] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang