You should have as the 2nd line in tcp.smtp: :allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="50",CHKUSER_WRONGRCPTLIMIT="10",QMAILQUEUE="/var/qmail/bin/simscan",NOP0FCHECK="1"
Change it, then run # service qmail cdb -- -Eric 'shubes' On 10/23/2012 12:01 AM, Giuseppe Perna wrote:
Thanks eric for you replay, this output: cat /var/qmail/control/simcontrol :clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif cat /etc/tcprules.d/tcp.smtp 127.:allow,RELAYCLIENT="",DKSIGN="/var/qmail/control/domainkeys/%/private" :allow,BADMIMETYPE="",BADLOADERTYPE="M",CHKUSER_RCPTLIMIT="50",CHKUSER_WRONGRCPTLIMIT="10",DKSIGN="/var /qmail/control/domainkeys/%/private" i have test the configuration but not fuction. thanks i have run /etc/init.d/qmail cdb 2012/10/22 Eric Shubert <e...@shubes.net <mailto:e...@shubes.net>> Looks as though clamd's running ok. Next thing to check would be simscan. Let's have a look at: # cat /var/qmail/control/simcontrol # cat /etc/tcprules.d/tcp.smtp Have you run "service qmail cdb" recently? This needs to be run whenever the above 2 (and a few others) are changed. -- -Eric 'shubes' On 10/22/2012 12:09 PM, Giuseppe Perna wrote: thanks for your replay. i have upgrade the server with qtp-newmodel. i read this : # qmlog -t 50 clamd 10-22 19:19:26 MaxQueue set to: 100 10-22 19:29:26 No stats for Database check - forcing reload 10-22 19:29:26 Reading databases from /usr/share/clamav 10-22 19:29:30 Database correctly reloaded (1316654 signatures) 10-22 19:34:32 Waiting for all threads to finish 10-22 19:34:59 Limits: Global size limit set to 104857600 bytes. 10-22 19:34:59 Limits: File size limit set to 26214400 bytes. 10-22 19:34:59 Limits: Recursion level limit set to 16. 10-22 19:34:59 Limits: Files limit set to 10000. 10-22 19:34:59 Limits: Core-dump limit is 0. 10-22 19:34:59 Archive support enabled. 10-22 19:34:59 Algorithmic detection enabled. 10-22 19:34:59 Portable Executable support enabled. 10-22 19:34:59 ELF support enabled. 10-22 19:34:59 Mail files support enabled. 10-22 19:34:59 OLE2 support enabled. 10-22 19:34:59 PDF support enabled. 10-22 19:34:59 HTML support enabled. 10-22 19:34:59 Self checking every 600 seconds. 10-22 19:34:59 Listening daemon: PID: 19817 10-22 19:34:59 MaxQueue set to: 100 10-22 19:44:59 No stats for Database check - forcing reload 10-22 19:44:59 Reading databases from /usr/share/clamav 10-22 19:45:03 Database correctly reloaded (1316655 signatures) 10-22 19:55:03 SelfCheck: Database status OK. 10-22 20:05:03 SelfCheck: Database status OK. 10-22 20:05:34 Waiting for all threads to finish 10-22 20:06:54 Limits: Global size limit set to 104857600 bytes. 10-22 20:06:54 Limits: File size limit set to 26214400 bytes. 10-22 20:06:54 Limits: Recursion level limit set to 16. 10-22 20:06:54 Limits: Files limit set to 10000. 10-22 20:06:54 Limits: Core-dump limit is 0. 10-22 20:06:54 Archive support enabled. 10-22 20:06:54 Algorithmic detection enabled. 10-22 20:06:54 Portable Executable support enabled. 10-22 20:06:54 ELF support enabled. 10-22 20:06:54 Mail files support enabled. 10-22 20:06:54 OLE2 support enabled. 10-22 20:06:54 PDF support enabled. 10-22 20:06:54 HTML support enabled. 10-22 20:06:54 Self checking every 600 seconds. 10-22 20:06:54 Listening daemon: PID: 4101 10-22 20:06:54 MaxQueue set to: 100 10-22 20:16:54 No stats for Database check - forcing reload 10-22 20:16:54 Reading databases from /usr/share/clamav 10-22 20:16:58 Database correctly reloaded (1316655 signatures) 10-22 20:26:58 SelfCheck: Database status OK. 10-22 20:36:58 SelfCheck: Database status OK. 10-22 20:46:58 SelfCheck: Database status OK. 10-22 20:56:58 SelfCheck: Database status OK. thanks 2012/10/22 Eric Shubert <e...@shubes.net <mailto:e...@shubes.net> <mailto:e...@shubes.net <mailto:e...@shubes.net>>> On 10/22/2012 09:40 AM, Giuseppe Perna wrote: Yes, mysql is started. I solved vpommail creating the database and the user vpopmail. I then edited the file vpopmail.mysql. clamad that is now not working. I tried to send and receive email with virus test eicar but does not block anything. What does your clamd log show? # qmlog -t 50 clamd but this sceript QTP-newmodel work? The qtp-newmodel script is historically quite reliable. There's always a possibility of a situation though that could reveal a problem. There's a lot of code involved with that (>3000 lines if my memory serves). thanks -- -Eric 'shubes' ------------------------------____----------------------------__--__--------- To unsubscribe, e-mail: qmailtoaster-list-unsubscribe@____qmailtoaster.com <http://qmailtoaster.com> <mailto:qmailtoaster-list-__unsubscr...@qmailtoaster.com <mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com>> For additional commands, e-mail: qmailtoaster-list-help@__qmail__toaster.com <http://qmailtoaster.com> <mailto:qmailtoaster-list-__h...@qmailtoaster.com <mailto:qmailtoaster-list-h...@qmailtoaster.com>> -- ------------------------------__------------------------------__--------- To unsubscribe, e-mail: qmailtoaster-list-unsubscribe@__qmailtoaster.com <mailto:qmailtoaster-list-unsubscr...@qmailtoaster.com> For additional commands, e-mail: qmailtoaster-list-help@__qmailtoaster.com <mailto:qmailtoaster-list-h...@qmailtoaster.com> --
--------------------------------------------------------------------- To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com