Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-27, 11:47:35

Author Topic: Simscan notworking in latest upload  (Read 11610 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Simscan notworking in latest upload
« on: 2013-05-06, 17:20:32 »
There should be something like this inside mail headers, but it does not exist !

Code: [Select]
Received: by simscan 1.4.0 ppid: 26896, pid: 26897, t: 0.0125s
         scanners: attach: 1.4.0 clamav: 0.97.6/m:54/d:16608

Why ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Simscan notworking in latest upload
« Reply #1 on: 2013-05-06, 17:54:40 »
When I do this:

Code: [Select]
> echo "This is a test message" > mailtest.txt
> env QMAILQUEUE=/var/qmail/bin/simscan SIMSCAN_DEBUG=2 /var/qmail/bin/qmail-inject user@yourdomain.net < mailtest.txt

Then it's working ok:

Code: [Select]
Received: by simscan 1.4.0 ppid: 17542, pid: 17543, t: 0.0077s
         scanners: attach: 1.4.0 clamav: 0.97.8
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Simscan notworking in latest upload
« Reply #2 on: 2013-05-06, 17:57:47 »
Have you run 'qmailctl restart' (this is the same as 'service qmail restart') before?.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Simscan notworking in latest upload
« Reply #3 on: 2013-05-06, 18:20:30 »
Quote from: "MRatWork"
Have you run 'qmailctl restart' (this is the same as 'service qmail restart') before?.

Yes. All working ok but no evidence od simscan running:

Code: [Select]
authlib: up (pid 6077) 3000 seconds
clamd: up (pid 10093) 1119 seconds
imap4: up (pid 6074) 3000 seconds
imap4-ssl: up (pid 6059) 3000 seconds
pop3: up (pid 6071) 3000 seconds
pop3-ssl: up (pid 6088) 3000 seconds
send: up (pid 6068) 3000 seconds
smtp: up (pid 6089) 3000 seconds
spamd: up (pid 6070) 3000 seconds
submission: up (pid 6065) 3000 seconds
authlib/log: up (pid 6093) 3000 seconds
clamd/log: up (pid 6072) 3000 seconds
imap4/log: up (pid 6076) 3000 seconds
imap4-ssl/log: up (pid 6063) 3000 seconds
pop3/log: up (pid 6090) 3000 seconds
pop3-ssl/log: up (pid 6075) 3000 seconds
send/log: up (pid 6058) 3000 seconds
smtp/log: up (pid 6066) 3000 seconds
spamd/log: up (pid 6073) 3000 seconds
submission/log: up (pid 6067) 3000 seconds

Code: [Select]
ps aux | grep clamd
root      4055  0.0  0.0  63780   808 pts/4    S+   13:20   0:00 grep clamd
root      6037  0.0  0.0   3720   256 ?        S    12:30   0:00 supervise clamd
qmaill    6072  0.0  0.0   3736   164 ?        S    12:30   0:00 /usr/bin/multilog t s1000000 n100 /var/log/qmail/clamd
clamav   10093  0.8  0.5 229216 192776 ?       Sl   13:01   0:09 /usr/sbin/clamd
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Simscan notworking in latest upload
« Reply #4 on: 2013-05-06, 18:26:16 »
Just tested on clean Kloxo installation and it happens too.

It started just before April, so please check all your changes related to simscan at this time.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Simscan notworking in latest upload
« Reply #5 on: 2013-05-06, 18:40:28 »
Try 'yum list installed *-toaster' to know simscan installed or not. And then compare with 'yum list *-toaster'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Simscan notworking in latest upload
« Reply #6 on: 2013-05-06, 18:45:03 »
Quote from: "MRatWork"
Try 'yum list installed *-toaster' to know simscan installed or not. And then compare with '.

yum list installed *-toaster

Code: [Select]
Installed Packages
autorespond-toaster.x86_64                  2.0.5-1.4.0.mr.el5                 installed
clamav-toaster.x86_64                       0.97.8-1.4.4.mr.el5                installed
courier-authlib-toaster.x86_64              0.59.2-1.3.10.mr.el5               installed
courier-imap-toaster.x86_64                 4.1.2-1.3.10.mr.el5                installed
daemontools-toaster.x86_64                  0.76-1.3.6.mr.el5                  installed
ezmlm-toaster.x86_64                        0.53.324-1.3.7.mr.el5              installed
libdomainkeys-toaster.x86_64                0.68-1.3.6.mr.el5                  installed
libsrs2-toaster.x86_64                      1.0.18-1.3.6.mr.el5                installed
maildrop-toaster.x86_64                     2.0.3-1.3.8.mr.el5                 installed
qmail-pop3d-toaster.x86_64                  1.03-1.3.22.mr.el5                 installed
qmail-toaster.x86_64                        1.03-1.3.22.mr.el5                 installed
ripmime-toaster.x86_64                      1.4.0.6-1.3.6.mr.el5               installed
simscan-toaster.x86_64                      1.4.0-1.4.0.mr.el5                 installed
spamassassin-toaster.x86_64                 3.3.2-1.4.3.mr.el5                 installed
ucspi-tcp-toaster.x86_64                    0.88-1.3.9.mr.el5                  installed
vpopmail-toaster.x86_64                     5.4.33-1.4.1.mr.el5                installed

yum list *-toaster

Code: [Select]
Installed Packages
autorespond-toaster.x86_64                  2.0.5-1.4.0.mr.el5                 installed
clamav-toaster.x86_64                       0.97.8-1.4.4.mr.el5                installed
courier-authlib-toaster.x86_64              0.59.2-1.3.10.mr.el5               installed
courier-imap-toaster.x86_64                 4.1.2-1.3.10.mr.el5                installed
daemontools-toaster.x86_64                  0.76-1.3.6.mr.el5                  installed
ezmlm-toaster.x86_64                        0.53.324-1.3.7.mr.el5              installed
libdomainkeys-toaster.x86_64                0.68-1.3.6.mr.el5                  installed
libsrs2-toaster.x86_64                      1.0.18-1.3.6.mr.el5                installed
maildrop-toaster.x86_64                     2.0.3-1.3.8.mr.el5                 installed
qmail-pop3d-toaster.x86_64                  1.03-1.3.22.mr.el5                 installed
qmail-toaster.x86_64                        1.03-1.3.22.mr.el5                 installed
ripmime-toaster.x86_64                      1.4.0.6-1.3.6.mr.el5               installed
simscan-toaster.x86_64                      1.4.0-1.4.0.mr.el5                 installed
spamassassin-toaster.x86_64                 3.3.2-1.4.3.mr.el5                 installed
ucspi-tcp-toaster.x86_64                    0.88-1.3.9.mr.el5                  installed
vpopmail-toaster.x86_64                     5.4.33-1.4.1.mr.el5                installed
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Simscan notworking in latest upload
« Reply #7 on: 2013-05-07, 01:31:13 »
Any ideas ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Simscan notworking in latest upload
« Reply #8 on: 2013-05-07, 02:09:57 »
Still investigate why after update sometimes have a 'problem' with qmail. No qmail-toaster update and just little bit modified for qmail configs. No reason for running cleanup/cleanup-simple will be 'break' qmail configs.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Simscan notworking in latest upload
« Reply #9 on: 2013-05-07, 02:21:10 »
Quote from: "MRatWork"
Still investigate why after update sometimes have a 'problem' with qmail. No qmail-toaster update and just little bit modified for qmail configs. No reason for running cleanup/cleanup-simple will be 'break' qmail configs.

Qmail works normally for me, sending and receiving works fine, spamd works fine, spamdyke too, but why it does not scan mail using clamav ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Simscan notworking in latest upload
« Reply #10 on: 2013-05-07, 03:44:53 »
Quote from: "Spacedust"
Quote from: "MRatWork"
Still investigate why after update sometimes have a 'problem' with qmail. No qmail-toaster update and just little bit modified for qmail configs. No reason for running cleanup/cleanup-simple will be 'break' qmail configs.

Qmail works normally for me, sending and receiving works fine, spamd works fine, spamdyke too, but why it does not scan mail using clamav ?
Try disable and then enable 'Enable Virus Scan' on 'Server Mail Settings'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Simscan notworking in latest upload
« Reply #11 on: 2013-05-07, 03:59:01 »
Quote from: "MRatWork"
Quote from: "Spacedust"
Quote from: "MRatWork"
Still investigate why after update sometimes have a 'problem' with qmail. No qmail-toaster update and just little bit modified for qmail configs. No reason for running cleanup/cleanup-simple will be 'break' qmail configs.

Qmail works normally for me, sending and receiving works fine, spamd works fine, spamdyke too, but why it does not scan mail using clamav ?
Try disable and then enable 'Enable Virus Scan' on 'Server Mail Settings'

Tried many times. It does not help.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Simscan notworking in latest upload
« Reply #12 on: 2013-05-09, 04:02:59 »
I found it does not work since upgrading from LxCenter Qmail to Qmailtoaster.

Just tested old Kloxo-MR 6.5.1.a-2013033003 and it does not work:

Code: [Select]
Return-Path: <admin@nowosci.org>
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on xxx.pl
X-Spam-Level: ****
X-Spam-Status: No, score=4.3 required=5.0 tests=BAYES_95,DKIM_SIGNED,
HTML_MESSAGE,MIME_HTML_MOSTLY,RDNS_NONE autolearn=no version=3.3.2
Delivered-To: xxx.pl-admin@xxx.pl
Received: (qmail 14234 invoked by uid 0); 8 May 2013 21:00:40 -0000
Received: from unknown (HELO nowosci.org) (62.21.xx.xx)
  by onlinecity.pl with (DHE-RSA-AES256-SHA encrypted) SMTP; 8 May 2013 21:00:40 -0000
Received-SPF: none (xxx.pl: domain at nowosci.org does not designate permitted sender hosts)
Received: (qmail 5479 invoked by uid 7797); 8 May 2013 21:00:04 -0000
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
  s=private; d=nowosci.org;
  b=lez6xVtjLNK9c9hpxwa5iQ7rfIiNa9W1wEybz7AAs4ID8h2qLs/RsQbyRJi8wBfM;
Received: from unknown (HELO MacPro) (admin@nowosci.org@62.21.xx.xx)
  by nowosci.org with ESMTPA; 8 May 2013 21:00:04 -0000
From: "test test" <admin@nowosci.org>
To: "'XXX.pl'" <admin@xxx.pl>
Subject: test
Date: Wed, 8 May 2013 23:00:39 +0200
Message-ID: <B71A635672F74085852794BD46EAFC1D@MacPro>
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0004_01CE4C3F.DC1EF4F0"
X-Mailer: Microsoft Office Outlook 11
Thread-Index: Ac5MLvmvRI1GZ9soQAS2mbqpn9fLhw==
X-MimeOLE: Produced By Microsoft MimeOLE V6.1.7601.17609

« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Simscan notworking in latest upload
« Reply #13 on: 2013-05-09, 04:35:07 »
We are missing whole /var/qmail/simscan folder !
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline Spacedust

  • Super Grand Master
  • ****
  • Posts: 4,050
  • Karma: +1/-0
    • View Profile
Re: Simscan notworking in latest upload
« Reply #14 on: 2013-05-09, 04:36:52 »
Code: [Select]
SimScan Configuration

    Making ClamAV and SimScan Play Nice

The clamdscan program needs to have permission to scan directories. By default, the /var/qmail/simscan directory is owned by simscan and grouped to root. This means that only simscan and root can access this directory. We don't want to open this directory up to the world, that might allow an unauthorized user to see someone else's email. So, the easiest way to do this is to change the group ownership of the directory and set a sticky bit.
rootshell> chgrp clamav /var/qmail/simscan
rootshell> chmod g+s /var/qmail/simscan

    Qmail Queue Setup

In order to have qmail send all emails through simscan, you must place the appropriate setting in the tcp.smtp file. For each netblock you want to use Simscan, add the following :

QMAILQUEUE="/var/qmail/bin/simscan"

For our setup, we want to do the following :
rootshell> echo ':allow,QMAILQUEUE="/var/qmail/bin/simscan"' >> /home/vpopmail/etc/tcp.smtp
rootshell> cd ~vpopmail/etc
rootshell> tcprules tcp.smtp.cdb tcp.smtp.tmp < tcp.smtp

    simcontrol configuration file

The simcontrol file is used to set per-domain settings, as well as the site-wide defaults. The format of the file is as follows :
shell> cat /var/qmail/control/simcontrol

postmaster@example.com:clam=yes,spam=no,attach=.txt:.com
example.com:clam=no,spam=yes,attach=.mp3
:clam=yes,spam=yes,trophie=yes,spam_hits=20.1

This file is relatively self explanatory. See the simscan README for more information on settings. For now, set up this file as follows :
rootshell> echo ":clam=yes,spam=yes" > /var/qmail/control/simcontrol
rootshell> /var/qmail/bin/simscanmk
« Last Edit: 1970-01-01, 01:00:00 by Guest »

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.07 seconds with 18 queries.

web stats analysis