Re: [qmailtoaster] qmail not using spamassassin?
On 8/20/2012 12:13 PM, Kelly Cobean wrote: Hello, I have a functioning Qmailtoaster install and everything seems to be working well with one exception. When I look at the full headers of all the messages I receive, I see no indication that spam checking/scoring is being applied. I've been all over the net trying to figure out why spamassassin doesn't appear to be scanning mail but am striking out. When I run qmailctl stat, I see spamd and spamd/log all running. Can anyone tell me how to check if qmail is even piping messages through spamassassin? Thank you! Kelly - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com 1) Check /var/qmail/control/simscan and make sure 'spam=yes' 2) examine /etc/tcprules.d/tcp.smtp make sure: QMAILQUEUE=/var/qmail/bin/simscan appears on the line that starts 127:blahblahblah (comma separated items) 3) qmailctl restart all from my faulty memory, the wiki appears unreachable at this time. nice site, only the bumblebee gallery images are available in apache :( david - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] qmail not using spamassassin?
On 8/20/2012 12:13 PM, Kelly Cobean wrote: Hello, I have a functioning Qmailtoaster install and everything seems to be working well with one exception. When I look at the full headers of all the messages I receive, I see no indication that spam checking/scoring is being applied. I've been all over the net trying to figure out why spamassassin doesn't appear to be scanning mail but am striking out. When I run qmailctl stat, I see spamd and spamd/log all running. Can anyone tell me how to check if qmail is even piping messages through spamassassin? Thank you! Kelly - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com 1) Check /var/qmail/control/simscan and make sure 'spam=yes' 2) examine /etc/tcprules.d/tcp.smtp make sure: QMAILQUEUE=/var/qmail/bin/simscan appears on the line that starts 127:blahblahblah (comma separated items) 3) qmailctl restart all from my faulty memory, the wiki appears unreachable at this time. nice site, only the bumblebee gallery images are available in apache :( david Thanks David. For #1, do you mean /var/qmail/control/simcontrol? If so, that file reads: :clam=yes,spam=yes,spam_hits=12,attach=.mp3:.src:.bat:.pif this is the default configuration of this file. I did add the QMAILQUEUE line as mentioned in #2 above and restarted qmail via qmailctl. Unfortunately, I still don't see any spam headers in received email. Any other thoughts? If it matters, this is a recent install of qmailtoaster on CentOS 5 and my /var/qmail/bin/qmail-queue is sym-linked to /var/qmail/bin/qmail-dk for domain keys support. Not sure if that is relevant? Thanks again. - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] qmail not using spamassassin?
On 8/20/2012 3:05 PM, Kelly Cobean wrote: I did add the QMAILQUEUE line as mentioned in #2 above and restarted qmail via qmailctl. Unfortunately, I still don't see any spam headers in received email. doh, issue a 'qmailctl cdb' command (after editing the tcp.smtp file, forgot that one), then do the 'qmailctl restart', then check the header of a fresh message. if that doesn't do the trick, post the output of 'qmailctl stat | sort' and the contents of the tcp.smtp file.(esp. the 127:blah line) to make sure everything is up and running and typo-free. when it is all working, you should see something like this: Received: (qmail 27878 invoked by uid 89); 20 Aug 2012 20:06:24 - Received: by simscan 1.4.0 ppid: 27861, pid: 27863, t: 14.1495s scanners: attach: 1.4.0 clamav: 0.97.5/m:54/d:15278 spam: 3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.ntcb.com X-Spam-Level: * X-Spam-Status: No, score=1.6 required=5.0 tests=DKIM_SIGNED,RDNS_NONE, SARE_SUB_OBFU_Q1 shortcircuit=no autolearn=no version=3.3.2 -- david - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] qmail not using spamassassin?
On 8/20/2012 3:52 PM, David Good wrote: On 8/20/2012 3:05 PM, Kelly Cobean wrote: I did add the QMAILQUEUE line as mentioned in #2 above and restarted qmail via qmailctl. Unfortunately, I still don't see any spam headers in received email. sorry, the QMAILQUE bit needs to be on the line that just starts with a colon, that is the default processing instruction line. the default tcp.smtp file has 2 lines 127:blah :blah,blah, blah,QMAILQUE(---move it to here) qmailctl cdb qmailctl restart - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] qmail not using spamassassin?
On 8/20/2012 3:05 PM, Kelly Cobean wrote: I did add the QMAILQUEUE line as mentioned in #2 above and restarted qmail via qmailctl. Unfortunately, I still don't see any spam headers in received email. doh, issue a 'qmailctl cdb' command (after editing the tcp.smtp file, forgot that one), then do the 'qmailctl restart', then check the header of a fresh message. if that doesn't do the trick, post the output of 'qmailctl stat | sort' and the contents of the tcp.smtp file.(esp. the 127:blah line) to make sure everything is up and running and typo-free. when it is all working, you should see something like this: Received: (qmail 27878 invoked by uid 89); 20 Aug 2012 20:06:24 - Received: by simscan 1.4.0 ppid: 27861, pid: 27863, t: 14.1495s scanners: attach: 1.4.0 clamav: 0.97.5/m:54/d:15278 spam: 3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.ntcb.com X-Spam-Level: * X-Spam-Status: No, score=1.6 required=5.0 tests=DKIM_SIGNED,RDNS_NONE, SARE_SUB_OBFU_Q1 shortcircuit=no autolearn=no version=3.3.2 -- david Thanks David. I ran the 'qmailctl cdb' command and restarted qmail and still no joy. Here's a header from a message after this was done: eturn-Path: kcob...@gmail.com Delivered-To: kcob...@vipercrazy.com Received: (qmail 5964 invoked by uid 89); 20 Aug 2012 20:56:05 - Received: from unknown (HELO mail-wi0-f170.google.com) (209.85.212.170) by www.novagunrunners.com with (RC4-SHA encrypted) SMTP; 20 Aug 2012 20:56:05 - Received-SPF: pass (www.novagunrunners.com: SPF record at _spf.google.com designates 209.85.212.170 as permitted sender) Received: by wibhq12 with SMTP id hq12so3486056wib.3 for kcob...@vipercrazy.com; Mon, 20 Aug 2012 13:56:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=lPq6DQPgu4WZy9vCqIr3b3rDBoJWuZP6+6BS3H5LC6s=; b=Aou8Jwv5gNYBjriK/zqMJvPJh8LHd9rpucXa9IhVZ7MiIOLQiD4657+MRqoBGO5HHf BRDzHMqM+i0QVI+bxPUt/e85643T3vb/Cq539d0oXTmvYAbKWam8d4K8znUp90NkF6XB nULFwxLXxiIPuYqbupizbLVkC/tMdhKy7peiif6sMTFdEglhDr47flZYRD0yGI6YHbqM gFfC26hJ16I6/1D3Dv4/Udas8uMZ2VQdkjjM8/HFT04NzmQ4zGzVDOCoH/Lk/I7EA2QK PwDVcGPHIOTwQ2Z1paVWb5jkugk/C/MBYlgr0MUZ69sNmWBCFYD5QWQAJ8QmYeQTznG+ F6Hg== MIME-Version: 1.0 Received: by 10.216.167.135 with SMTP id i7mr7632748wel.97.1345496164633; Mon, 20 Aug 2012 13:56:04 -0700 (PDT) Received: by 10.194.63.202 with HTTP; Mon, 20 Aug 2012 13:56:04 -0700 (PDT) Date: Mon, 20 Aug 2012 16:56:04 -0400 Message-ID: CANzmTRrQJWFON=7qhe-qokl5fjaaf6vas_2rw-vkbricjdd...@mail.gmail.com Subject: Spamassassin Test Message From: Kelly Cobean kcob...@gmail.com To: kcob...@vipercrazy.com Content-Type: multipart/alternative; boundary=0016e6541f94f08bef04c7b8bcc4 And here is the output of my tcp.smtp file: 127.:allow,QMAILQUEUE=/var/qmail/bin/simscan,RELAYCLIENT=,DKSIGN=/var/qmail/control/domainkeys/%/private :allow,BADMIMETYPE=,BADLOADERTYPE=M,CHKUSER_RCPTLIMIT=50,CHKUSER_WRONGRCPTLIMIT=10,DKSIGN=/var/qmail/control/domainkeys/%/private Thanks again for your help! - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com
Re: [qmailtoaster] qmail not using spamassassin?
On 8/20/2012 3:52 PM, David Good wrote: On 8/20/2012 3:05 PM, Kelly Cobean wrote: I did add the QMAILQUEUE line as mentioned in #2 above and restarted qmail via qmailctl. Unfortunately, I still don't see any spam headers in received email. sorry, the QMAILQUE bit needs to be on the line that just starts with a colon, that is the default processing instruction line. the default tcp.smtp file has 2 lines 127:blah :blah,blah, blah,QMAILQUE(---move it to here) qmailctl cdb qmailctl restart THAT did the trick David. Thank you so much! Headers now look good: Return-Path: kcob...@gmail.com Delivered-To: kcob...@vipercrazy.com Received: (qmail 6114 invoked by uid 89); 20 Aug 2012 21:03:20 - Received: by simscan 1.4.0 ppid: 6107, pid: 6108, t: 0.4058s scanners: attach: 1.4.0 clamav: 0.97.5/m:54/d:15278 spam: 3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on www.novagunrunners.com X-Spam-Level: * X-Spam-Status: No, score=1.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RDNS_NONE autolearn=no version=3.3.2 Received: from unknown (HELO mail-we0-f172.google.com) (74.125.82.172) by www.novagunrunners.com with (RC4-SHA encrypted) SMTP; 20 Aug 2012 21:03:19 - Received-SPF: pass (www.novagunrunners.com: SPF record at _spf.google.com designates 74.125.82.172 as permitted sender) Received: by weyu54 with SMTP id u54so4297707wey.3 for kcob...@vipercrazy.com; Mon, 20 Aug 2012 14:03:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=b+nE1Xj2e4WxnsSlynyX2lv+7Q/gOJ1IpcMPXRt9XIg=; b=FtOV+wl4a0v2P2ATCTkO2Rxu1Aup14TVDjI6T+nPtP3CbCVMBx979CnegnsjSURSu5 FlCsbZcxkGn2akjjPM2uBEoXtBsXatnyYkxrXe4aUwJFQPaxRElB6KZ8xpP9PzoMMEvR p0ukH/wHJ9T5e0h9uRY+U3O9GVmKmzFpQJ1Q6U2L+HmrKmoxCYaZsIJEWpnidLY1qxTu dEhoKzDjMEDksa6CbjhFegsyb9m4QwUVHciCBk8+21ys+ypIG0t903IDjJgUaSY/3gU8 aB65mKd1PzhdznkMKwduDVSvs704Jage8agHFdezIh6VA2Ebyi5ZVhioVgkmFqVafOD3 dFzg== MIME-Version: 1.0 Received: by 10.180.105.6 with SMTP id gi6mr31857704wib.4.1345496598574; Mon, 20 Aug 2012 14:03:18 -0700 (PDT) Received: by 10.194.63.202 with HTTP; Mon, 20 Aug 2012 14:03:18 -0700 (PDT) Date: Mon, 20 Aug 2012 17:03:18 -0400 Message-ID: CANzmTRq9gkAWEx-=__d8dt5puuunuoz3wv8nfiwunrwvgvk...@mail.gmail.com Subject: One more time! From: Kelly Cobean kcob...@gmail.com To: kcob...@vipercrazy.com Content-Type: multipart/alternative; boundary=f46d04428cc8cdf67104c7b8d6f2 I reallly appreciate your help! - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com - To unsubscribe, e-mail: qmailtoaster-list-unsubscr...@qmailtoaster.com For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com