RE: [qmailtoaster] SpamAssassin and ClamAV dont work.
Yes, I already do this without success. Anyway, I will upgrade to latest version and see if the problem persists. I will let you know if it don't work. Thanks. -Original Message- From: Erik Espinoza [mailto:[EMAIL PROTECTED] Sent: August 2, 2006 6:05 PM To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work. n/p ES On 8/2/06, Eric Shubes [EMAIL PROTECTED] wrote: I think Erik nailed your problem in his previous post. Good call, EE. Kaven Gagnon wrote: Yes. I think it's ok because if I try to do this on an non-root account, I can see the outputted error: [EMAIL PROTECTED] ~]$ qmailctl cdb tcprules: fatal: unable to create /etc/tcprules.d/tcp.smtp.tmp: access denied chmod: changing permissions of `/etc/tcprules.d/tcp.smtp': Operation not permitt chmod: changing permissions of `/etc/tcprules.d/tcp.smtp.bak': Operation not per chmod: changing permissions of `/etc/tcprules.d/tcp.smtp.cdb': Operation not per Reloaded /etc/tcprules.d/tcp.smtp So when I do qmailctl cdb it make more than just reload tcp.smtp file. Thanks. -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: August 2, 2006 5:35 PM To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work. Kaven Gagnon wrote: Yes, I used qmailctl cdb. [EMAIL PROTECTED] ~]# qmailctl cdb Reloaded /etc/tcprules.d/tcp.smtp Is this the only Reloaded message? Mine shows many, including simcontrol, as shown below. Thanks. -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: August 2, 2006 4:37 PM To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work. Kaven Gagnon wrote: Hi, Yes, header show that they are received by simscan, but no scanners are invoked: Received: by simscan 1.2.0 ppid: 26675, pid: 26713, t: 0.1096s scanners:none The scanners:none seems to be where your problem lies. It should say scanners: attach: 1.2.0 clamav: 0.88.3/m:39/d:1628 spam: 3.1.3 or some such. So I think it's safe to say that simscan isn't invoking the other scanners. Earlier you said: Everything seems to be correct in the /var/qmail/control/simcontrol file: :clam=yes,spam=yes,spam_hits=5,attach=.exe:.src:.bat:.pif That sure looks ok to me. You said you regenerated the simcontrol.cdb file. What command did you use? # qmailctl cdb Reloaded /etc/tcprules.d/tcp.smtp Reloaded /var/qmail/control/badmimetypes.cdb Reloaded /var/qmail/control/badloadertypes.cdb Reloaded /var/qmail/control/simversions.cdb Reloaded /var/qmail/control/simcontrol.cdb Did you get the last simcontrol message? -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] SpamAssassin and ClamAV dont work.
Kaven Gagnon wrote: Yes, I already do this without success. Anyway, I will upgrade to latest version and see if the problem persists. I will let you know if it don't work. Thanks. Please let us know if it does, too. :) In case you missed it, see http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg05517.html It should make your upgrade a breeze. -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] SpamAssassin and ClamAV dont work.
I had a similar problem when I first set mine up, and it had to do with my tcp.smtp file not correctly having QMAILQUEUE=/var/qmail/bin/simscan The way I understand it is that simscan passes the mail through spamassassin and clamav. Check your tcp.smtp file for the relevant queue settings. Or possibly simscan is not working properly. Regards Craig From: Kaven Gagnon [mailto:[EMAIL PROTECTED] Sent: 01 August 2006 22:35To: qmailtoaster-list@qmailtoaster.comSubject: [qmailtoaster] SpamAssassin and ClamAV dont work. Hi,I got a problem with SpamAssassin and Qmail. Spam is only filtered by blocking list contained in blacklists txt file but not SpamAssassin. If I try to test SpamAssassin in terminal by typing spamassassin-D/root/sample-spam.txt it work. If I try by mail using the GTUBE test, it doesnt work. I also checked the spamd log file and I cant see any message like this: simscan:[4654]:SPAM REJECT.Same problem for ClamAV.Any help is welcome!Thanks in advance.Regards,Kaven G.
RE: [qmailtoaster] SpamAssassin and ClamAV dont work.
Hi, about my last post, yes, it is a fresh install. SpamAssassin ClamAV work well on my other mail server (running older version of QmailToaster). I do my test from another mail server and from a Hotmail account. Packages are correctly installed: [EMAIL PROTECTED] control]# rpm -qa | grep toaster daemontools-toaster-0.76-1.2.11 qmail-toaster-1.03-1.3.2 ezmlm-toaster-0.53.324-1.2.11 maildrop-toaster-1.8.1-1.2.11 squirrelmail-toaster-1.4.6-1.2.15 simscan-toaster-1.2-1.2.8 ucspi-tcp-toaster-0.88-1.2.11 qmail-pop3d-toaster-1.03-1.3.2 autorespond-toaster-2.0.4-1.2.9 send-emails-toaster-0.5-1.2.9 ezmlm-cgi-toaster-0.53.324-1.2.11 qmailmrtg-toaster-4.2-1.2.11 maildrop-toaster-devel-1.8.1-1.2.11 vqadmin-toaster-2.3.4-1.2.13 spamassassin-toaster-3.1.1-1.2.14 ripmime-toaster-1.4.0.6-1.0.1 vpopmail-toaster-5.4.13-1.2.12 courier-imap-toaster-3.0.8-1.2.10 control-panel-toaster-0.5-1.2.9 qmailadmin-toaster-1.2.9-1.2.13 isoqlog-toaster-2.1-1.2.10 clamav-toaster-0.88.2-1.2.15 [EMAIL PROTECTED] control]# All process are up running: [EMAIL PROTECTED] control]# qmailctl stat clamd: up (pid 13465) 2565390 seconds imap4: up (pid 13477) 2565390 seconds imap4-ssl: up (pid 13449) 2565390 seconds pop3: up (pid 13444) 2565390 seconds pop3-ssl: up (pid 13436) 2565390 seconds send: up (pid 13440) 2565390 seconds smtp: up (pid 13469) 2565390 seconds spamd: up (pid 13473) 2565390 seconds clamd/log: up (pid 13467) 2565390 seconds imap4/log: up (pid 13484) 2565390 seconds imap4-ssl/log: up (pid 13451) 2565390 seconds pop3/log: up (pid 13446) 2565390 seconds pop3-ssl/log: up (pid 13456) 2565390 seconds send/log: up (pid 13442) 2565390 seconds smtp/log: up (pid 13471) 2565390 seconds spamd/log: up (pid 13475) 2565390 seconds [EMAIL PROTECTED] control]# This server run CentOS 4.3. If I take a look at mail headers of a test from Hotmail account, no ClamAV of SpamAssassin is invoked. Everything seems to be correct in the /var/qmail/control/simcontrol file: :clam=yes,spam=yes,spam_hits=5,attach=.exe:.src:.bat:.pif Let me know if you need more informations. Thanks a lot. -Original Message- From: fuzzy [mailto:[EMAIL PROTECTED] Sent: August 1, 2006 8:08 PM To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work. Kaven Gagnon wrote: Hi, I got a problem with SpamAssassin and Qmail. Spam is only filtered by blocking list contained in blacklists txt file but not SpamAssassin. If I try to test SpamAssassin in terminal by typing spamassassin -D /root/sample-spam.txt it work. If I try by mail using the GTUBE test, it doesn't work. I also checked the spamd log file and I can't see any message like this: simscan:[4654]:SPAM REJECT. Same problem for ClamAV. can you provide a little more detail? fresh install? has it ever worked? have you upgraded lately? why do you think it is not working...send an email to yourself on a domain hosted on the toaster? default setup: local deliveries are not scanned Any help is welcome! do this: #qmailctl stat does spamd and clamd show as up and logging? then they are installed and working. send an email from yahoo/hotmail/gmail to a domain account...does the header of that message show scanning by clam and spam? then it is working. if you make changes to the scanning tools you need to manually update simscan to let it be aware of installed tools do this: # qmailctl stop # /var/qmail/bin/simscanmk -g # qmailctl start then check again by sending a mail from the outside (yahoo/hotmail/gmail/..whatever) in (your hosted domain). help us help you by providing more detail, like: distro your are using the output of qmailctl stat # yum list installed | grep toaster or # rpm -qa | grep toaster - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] SpamAssassin and ClamAV dont work.
Hi, Yes, this server is not running latest version for now because it is a large cluster server and I install latest version in a test environment before updating my production server. (I was invacation... that's the reason why it's not done yet ;)) Yes, the cdb file has been regenerated. Yes, header show that they are received by simscan, but no scanners are invoked: Received: by simscan 1.2.0 ppid: 26675, pid: 26713, t: 0.1096s scanners:none This is my tcp.smtp file: 127.:allow,RELAYCLIENT=,DKSIGN=/var/qmail/control/domainkeys/%/priv ate 206.162.187.253:allow,RELAYCLIENT= 206.162.187.240:allow,RELAYCLIENT= 207.134.96.190:allow,RELAYCLIENT= 207.134.96.187:allow,RELAYCLIENT= 206.162.187.232:allow,RELAYCLIENT= :allow,BADMIMETYPE=,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT=50,CHKUSER _WRONGRCPTLIMIT=10,DKVERIFY=DEGIJKfh,QMAILQUEUE=/var/qmail/bin/si mscan,DKQUEUE=/var/qmail/bin/qmail- queue.orig,DKSIGN=/var/qmail/control/domainkeys/%/private Thanks again! -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: August 2, 2006 1:15 PM To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work. Kaven, unrelated I notice that your toaster versions aren't the latest. Is there a reason for this? /unrelated If you changed your simcontrol file, did you remember to # qmailctl cdb to regenerate the .cdb file(s)? I have an intermittent problem with simscan/sa/clam too (I'll be posting details in a while - may or may not be related to your problem). Do your message headers show Received: by simscan ...? If so, please post results. If not, please post your /etc/tcprules.d/tcp.smtp file. Kaven Gagnon wrote: Hi, about my last post, yes, it is a fresh install. SpamAssassin ClamAV work well on my other mail server (running older version of QmailToaster). I do my test from another mail server and from a Hotmail account. Packages are correctly installed: [EMAIL PROTECTED] control]# rpm -qa | grep toaster daemontools-toaster-0.76-1.2.11 qmail-toaster-1.03-1.3.2 ezmlm-toaster-0.53.324-1.2.11 maildrop-toaster-1.8.1-1.2.11 squirrelmail-toaster-1.4.6-1.2.15 simscan-toaster-1.2-1.2.8 ucspi-tcp-toaster-0.88-1.2.11 qmail-pop3d-toaster-1.03-1.3.2 autorespond-toaster-2.0.4-1.2.9 send-emails-toaster-0.5-1.2.9 ezmlm-cgi-toaster-0.53.324-1.2.11 qmailmrtg-toaster-4.2-1.2.11 maildrop-toaster-devel-1.8.1-1.2.11 vqadmin-toaster-2.3.4-1.2.13 spamassassin-toaster-3.1.1-1.2.14 ripmime-toaster-1.4.0.6-1.0.1 vpopmail-toaster-5.4.13-1.2.12 courier-imap-toaster-3.0.8-1.2.10 control-panel-toaster-0.5-1.2.9 qmailadmin-toaster-1.2.9-1.2.13 isoqlog-toaster-2.1-1.2.10 clamav-toaster-0.88.2-1.2.15 [EMAIL PROTECTED] control]# All process are up running: [EMAIL PROTECTED] control]# qmailctl stat clamd: up (pid 13465) 2565390 seconds imap4: up (pid 13477) 2565390 seconds imap4-ssl: up (pid 13449) 2565390 seconds pop3: up (pid 13444) 2565390 seconds pop3-ssl: up (pid 13436) 2565390 seconds send: up (pid 13440) 2565390 seconds smtp: up (pid 13469) 2565390 seconds spamd: up (pid 13473) 2565390 seconds clamd/log: up (pid 13467) 2565390 seconds imap4/log: up (pid 13484) 2565390 seconds imap4-ssl/log: up (pid 13451) 2565390 seconds pop3/log: up (pid 13446) 2565390 seconds pop3-ssl/log: up (pid 13456) 2565390 seconds send/log: up (pid 13442) 2565390 seconds smtp/log: up (pid 13471) 2565390 seconds spamd/log: up (pid 13475) 2565390 seconds [EMAIL PROTECTED] control]# This server run CentOS 4.3. If I take a look at mail headers of a test from Hotmail account, no ClamAV of SpamAssassin is invoked. Everything seems to be correct in the /var/qmail/control/simcontrol file: :clam=yes,spam=yes,spam_hits=5,attach=.exe:.src:.bat:.pif Let me know if you need more informations. Thanks a lot. -Original Message- From: fuzzy [mailto:[EMAIL PROTECTED] Sent: August 1, 2006 8:08 PM To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work. Kaven Gagnon wrote: Hi, I got a problem with SpamAssassin and Qmail. Spam is only filtered by blocking list contained in blacklists txt file but not SpamAssassin. If I try to test SpamAssassin in terminal by typing spamassassin -D /root/sample-spam.txt it work. If I try by mail using the GTUBE test, it doesn't work. I also checked the spamd log file and I can't see any message like this: simscan:[4654]:SPAM REJECT. Same problem for ClamAV. can you provide a little more detail? fresh install? has it ever worked? have you upgraded lately? why do you think it is not working...send an email to yourself on a domain hosted on the toaster? default setup: local deliveries are not scanned Any help is welcome! do this: #qmailctl stat does spamd and clamd
Re: [qmailtoaster] SpamAssassin and ClamAV dont work.
Kaven Gagnon wrote: Hi, Yes, header show that they are received by simscan, but no scanners are invoked: Received: by simscan 1.2.0 ppid: 26675, pid: 26713, t: 0.1096s scanners:none The scanners:none seems to be where your problem lies. It should say scanners: attach: 1.2.0 clamav: 0.88.3/m:39/d:1628 spam: 3.1.3 or some such. So I think it's safe to say that simscan isn't invoking the other scanners. Earlier you said: Everything seems to be correct in the /var/qmail/control/simcontrol file: :clam=yes,spam=yes,spam_hits=5,attach=.exe:.src:.bat:.pif That sure looks ok to me. You said you regenerated the simcontrol.cdb file. What command did you use? # qmailctl cdb Reloaded /etc/tcprules.d/tcp.smtp Reloaded /var/qmail/control/badmimetypes.cdb Reloaded /var/qmail/control/badloadertypes.cdb Reloaded /var/qmail/control/simversions.cdb Reloaded /var/qmail/control/simcontrol.cdb Did you get the last simcontrol message? -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] SpamAssassin and ClamAV dont work.
Yes, I used qmailctl cdb. [EMAIL PROTECTED] ~]# qmailctl cdb Reloaded /etc/tcprules.d/tcp.smtp Thanks. -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: August 2, 2006 4:37 PM To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work. Kaven Gagnon wrote: Hi, Yes, header show that they are received by simscan, but no scanners are invoked: Received: by simscan 1.2.0 ppid: 26675, pid: 26713, t: 0.1096s scanners:none The scanners:none seems to be where your problem lies. It should say scanners: attach: 1.2.0 clamav: 0.88.3/m:39/d:1628 spam: 3.1.3 or some such. So I think it's safe to say that simscan isn't invoking the other scanners. Earlier you said: Everything seems to be correct in the /var/qmail/control/simcontrol file: :clam=yes,spam=yes,spam_hits=5,attach=.exe:.src:.bat:.pif That sure looks ok to me. You said you regenerated the simcontrol.cdb file. What command did you use? # qmailctl cdb Reloaded /etc/tcprules.d/tcp.smtp Reloaded /var/qmail/control/badmimetypes.cdb Reloaded /var/qmail/control/badloadertypes.cdb Reloaded /var/qmail/control/simversions.cdb Reloaded /var/qmail/control/simcontrol.cdb Did you get the last simcontrol message? -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] SpamAssassin and ClamAV dont work.
http://devel.qmailtoaster.com/faq.html#clamv The old version of the QmailToaster does not do this for you. Erik On 8/2/06, Kaven Gagnon [EMAIL PROTECTED] wrote: Yes, I used qmailctl cdb. [EMAIL PROTECTED] ~]# qmailctl cdb Reloaded /etc/tcprules.d/tcp.smtp Thanks. -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: August 2, 2006 4:37 PM To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work. Kaven Gagnon wrote: Hi, Yes, header show that they are received by simscan, but no scanners are invoked: Received: by simscan 1.2.0 ppid: 26675, pid: 26713, t: 0.1096s scanners:none The scanners:none seems to be where your problem lies. It should say scanners: attach: 1.2.0 clamav: 0.88.3/m:39/d:1628 spam: 3.1.3 or some such. So I think it's safe to say that simscan isn't invoking the other scanners. Earlier you said: Everything seems to be correct in the /var/qmail/control/simcontrol file: :clam=yes,spam=yes,spam_hits=5,attach=.exe:.src:.bat:.pif That sure looks ok to me. You said you regenerated the simcontrol.cdb file. What command did you use? # qmailctl cdb Reloaded /etc/tcprules.d/tcp.smtp Reloaded /var/qmail/control/badmimetypes.cdb Reloaded /var/qmail/control/badloadertypes.cdb Reloaded /var/qmail/control/simversions.cdb Reloaded /var/qmail/control/simcontrol.cdb Did you get the last simcontrol message? -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] SpamAssassin and ClamAV dont work.
Kaven Gagnon wrote: Yes, I used qmailctl cdb. [EMAIL PROTECTED] ~]# qmailctl cdb Reloaded /etc/tcprules.d/tcp.smtp Is this the only Reloaded message? Mine shows many, including simcontrol, as shown below. Thanks. -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: August 2, 2006 4:37 PM To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work. Kaven Gagnon wrote: Hi, Yes, header show that they are received by simscan, but no scanners are invoked: Received: by simscan 1.2.0 ppid: 26675, pid: 26713, t: 0.1096s scanners:none The scanners:none seems to be where your problem lies. It should say scanners: attach: 1.2.0 clamav: 0.88.3/m:39/d:1628 spam: 3.1.3 or some such. So I think it's safe to say that simscan isn't invoking the other scanners. Earlier you said: Everything seems to be correct in the /var/qmail/control/simcontrol file: :clam=yes,spam=yes,spam_hits=5,attach=.exe:.src:.bat:.pif That sure looks ok to me. You said you regenerated the simcontrol.cdb file. What command did you use? # qmailctl cdb Reloaded /etc/tcprules.d/tcp.smtp Reloaded /var/qmail/control/badmimetypes.cdb Reloaded /var/qmail/control/badloadertypes.cdb Reloaded /var/qmail/control/simversions.cdb Reloaded /var/qmail/control/simcontrol.cdb Did you get the last simcontrol message? -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [qmailtoaster] SpamAssassin and ClamAV dont work.
Yes. I think it's ok because if I try to do this on an non-root account, I can see the outputted error: [EMAIL PROTECTED] ~]$ qmailctl cdb tcprules: fatal: unable to create /etc/tcprules.d/tcp.smtp.tmp: access denied chmod: changing permissions of `/etc/tcprules.d/tcp.smtp': Operation not permitt chmod: changing permissions of `/etc/tcprules.d/tcp.smtp.bak': Operation not per chmod: changing permissions of `/etc/tcprules.d/tcp.smtp.cdb': Operation not per Reloaded /etc/tcprules.d/tcp.smtp So when I do qmailctl cdb it make more than just reload tcp.smtp file. Thanks. -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: August 2, 2006 5:35 PM To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work. Kaven Gagnon wrote: Yes, I used qmailctl cdb. [EMAIL PROTECTED] ~]# qmailctl cdb Reloaded /etc/tcprules.d/tcp.smtp Is this the only Reloaded message? Mine shows many, including simcontrol, as shown below. Thanks. -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: August 2, 2006 4:37 PM To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work. Kaven Gagnon wrote: Hi, Yes, header show that they are received by simscan, but no scanners are invoked: Received: by simscan 1.2.0 ppid: 26675, pid: 26713, t: 0.1096s scanners:none The scanners:none seems to be where your problem lies. It should say scanners: attach: 1.2.0 clamav: 0.88.3/m:39/d:1628 spam: 3.1.3 or some such. So I think it's safe to say that simscan isn't invoking the other scanners. Earlier you said: Everything seems to be correct in the /var/qmail/control/simcontrol file: :clam=yes,spam=yes,spam_hits=5,attach=.exe:.src:.bat:.pif That sure looks ok to me. You said you regenerated the simcontrol.cdb file. What command did you use? # qmailctl cdb Reloaded /etc/tcprules.d/tcp.smtp Reloaded /var/qmail/control/badmimetypes.cdb Reloaded /var/qmail/control/badloadertypes.cdb Reloaded /var/qmail/control/simversions.cdb Reloaded /var/qmail/control/simcontrol.cdb Did you get the last simcontrol message? -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] SpamAssassin and ClamAV dont work.
I think Erik nailed your problem in his previous post. Good call, EE. Kaven Gagnon wrote: Yes. I think it's ok because if I try to do this on an non-root account, I can see the outputted error: [EMAIL PROTECTED] ~]$ qmailctl cdb tcprules: fatal: unable to create /etc/tcprules.d/tcp.smtp.tmp: access denied chmod: changing permissions of `/etc/tcprules.d/tcp.smtp': Operation not permitt chmod: changing permissions of `/etc/tcprules.d/tcp.smtp.bak': Operation not per chmod: changing permissions of `/etc/tcprules.d/tcp.smtp.cdb': Operation not per Reloaded /etc/tcprules.d/tcp.smtp So when I do qmailctl cdb it make more than just reload tcp.smtp file. Thanks. -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: August 2, 2006 5:35 PM To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work. Kaven Gagnon wrote: Yes, I used qmailctl cdb. [EMAIL PROTECTED] ~]# qmailctl cdb Reloaded /etc/tcprules.d/tcp.smtp Is this the only Reloaded message? Mine shows many, including simcontrol, as shown below. Thanks. -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: August 2, 2006 4:37 PM To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work. Kaven Gagnon wrote: Hi, Yes, header show that they are received by simscan, but no scanners are invoked: Received: by simscan 1.2.0 ppid: 26675, pid: 26713, t: 0.1096s scanners:none The scanners:none seems to be where your problem lies. It should say scanners: attach: 1.2.0 clamav: 0.88.3/m:39/d:1628 spam: 3.1.3 or some such. So I think it's safe to say that simscan isn't invoking the other scanners. Earlier you said: Everything seems to be correct in the /var/qmail/control/simcontrol file: :clam=yes,spam=yes,spam_hits=5,attach=.exe:.src:.bat:.pif That sure looks ok to me. You said you regenerated the simcontrol.cdb file. What command did you use? # qmailctl cdb Reloaded /etc/tcprules.d/tcp.smtp Reloaded /var/qmail/control/badmimetypes.cdb Reloaded /var/qmail/control/badloadertypes.cdb Reloaded /var/qmail/control/simversions.cdb Reloaded /var/qmail/control/simcontrol.cdb Did you get the last simcontrol message? -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [qmailtoaster] SpamAssassin and ClamAV dont work.
n/p ES On 8/2/06, Eric Shubes [EMAIL PROTECTED] wrote: I think Erik nailed your problem in his previous post. Good call, EE. Kaven Gagnon wrote: Yes. I think it's ok because if I try to do this on an non-root account, I can see the outputted error: [EMAIL PROTECTED] ~]$ qmailctl cdb tcprules: fatal: unable to create /etc/tcprules.d/tcp.smtp.tmp: access denied chmod: changing permissions of `/etc/tcprules.d/tcp.smtp': Operation not permitt chmod: changing permissions of `/etc/tcprules.d/tcp.smtp.bak': Operation not per chmod: changing permissions of `/etc/tcprules.d/tcp.smtp.cdb': Operation not per Reloaded /etc/tcprules.d/tcp.smtp So when I do qmailctl cdb it make more than just reload tcp.smtp file. Thanks. -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: August 2, 2006 5:35 PM To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work. Kaven Gagnon wrote: Yes, I used qmailctl cdb. [EMAIL PROTECTED] ~]# qmailctl cdb Reloaded /etc/tcprules.d/tcp.smtp Is this the only Reloaded message? Mine shows many, including simcontrol, as shown below. Thanks. -Original Message- From: Eric Shubes [mailto:[EMAIL PROTECTED] Sent: August 2, 2006 4:37 PM To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] SpamAssassin and ClamAV dont work. Kaven Gagnon wrote: Hi, Yes, header show that they are received by simscan, but no scanners are invoked: Received: by simscan 1.2.0 ppid: 26675, pid: 26713, t: 0.1096s scanners:none The scanners:none seems to be where your problem lies. It should say scanners: attach: 1.2.0 clamav: 0.88.3/m:39/d:1628 spam: 3.1.3 or some such. So I think it's safe to say that simscan isn't invoking the other scanners. Earlier you said: Everything seems to be correct in the /var/qmail/control/simcontrol file: :clam=yes,spam=yes,spam_hits=5,attach=.exe:.src:.bat:.pif That sure looks ok to me. You said you regenerated the simcontrol.cdb file. What command did you use? # qmailctl cdb Reloaded /etc/tcprules.d/tcp.smtp Reloaded /var/qmail/control/badmimetypes.cdb Reloaded /var/qmail/control/badloadertypes.cdb Reloaded /var/qmail/control/simversions.cdb Reloaded /var/qmail/control/simcontrol.cdb Did you get the last simcontrol message? -- -Eric 'shubes' - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[qmailtoaster] SpamAssassin and ClamAV dont work.
Hi, I got a problem with SpamAssassin and Qmail. Spam is only filtered by blocking list contained in blacklists txt file but not SpamAssassin. If I try to test SpamAssassin in terminal by typing spamassassin-D/root/sample-spam.txt it work. If I try by mail using the GTUBE test, it doesnt work. I also checked the spamd log file and I cant see any message like this: simscan:[4654]:SPAM REJECT.Same problem for ClamAV.Any help is welcome!Thanks in advance.Regards,Kaven G.
Re: [qmailtoaster] SpamAssassin and ClamAV dont work.
Hi, I got a problem with SpamAssassin and Qmail. Spam is only filtered by blocking list contained in blacklists txt file but not SpamAssassin. sorry, the snippet above was all my mind processed of your original post...completely blocked out the rest. i searched the mail archive for something to shed light on your problem...something on simscan, since that is the tool used to tie in spam/clam scanning. found this gem. http://www.mail-archive.com/qmailtoaster-list%40qmailtoaster.com/msg04776.html snip From: George Sweetnam [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 06, 2006 6:07 PM snip Anytime I make updates to the mailserver settings I also using qmail-inject to send a message through (great for showing what is failing): echo mail test message /tmp/mailtest.txt env QMAILQUEUE=/var/qmail/bin/simscan SIMSCAN_DEBUG=2 /var/qmail/bin/qmail-inject emailaddy-at-domain-dot-com /tmp/mailtest.txt George. perhaps that is the test you need to run to check whether clam/spam are doing their jobs respectively. - QmailToaster hosted by: VR Hosted http://www.vr.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]