| To: | qmail-ldap@qmail-ldap.org |
|---|---|
| Subject: | Adding clamav, spamassassin and simscan to qmail-ldap. |
| From: | "sato x" <gladiol4@gmail.com> |
| Date: | Mon, 19 Mar 2007 15:32:18 +0700 |
| Delivered-to: | sp-com-lists@consult.net |
| Delivered-to: | qmail-ldap-list@securepoint.com |
| Delivered-to: | mailing list qmail-ldap@qmail-ldap.org |
| Dkim-signature: | a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=p87Pzg3Sp84D4n/hVPaqEzr2BwZlLgkQAXqrE5/OUMBlMbFPYjHfrqxzTicZBa8nWEeU7HyPuqkQYejFqehTgOewLtaKFq+oEhWJMwBIY+oI8wVvgpV4sS9LTlsXyCm6nohmsA5CVLIJp6QSXkZwB7SpiRbfkiLw0kASn9kfZkE= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=dDXtChiz2E6wqgLCOb3Nq7EbcH6h7//eFgHNypi7gtTDtj41qSLxCnHIZhJsBFUpWjcMmz14CUvo1AEfoZk7u+psJCIx4YtXT0sV1s76uUvu6mbjItP6Ld6kmuFlk4JaW1PiBpuFhmTUgxJlFrl9KHK+CrpFNSAefi94rqGbO0M= |
| Mailing-list: | contact qmail-ldap-help@qmail-ldap.org; run by ezmlm |
|
Hi guys, This is to help people out there who's still trying to install clamav, spamassassin and simscan but failed. As you know from my last email, I was confused where to put the QMAILQUEUE, should it be in qmail-smtpd.rules or /service/smtpd/tcp. A half hour ago I still failed to use clamav to scan emails, but after I reinstalled clamav to use simscan user, instead of clamav user, simscan can cooperate well with clamav and spamassassin. This is what I did that make simscan succeed to work with spamassassin and clamav. 1. clamav installation Add user simscan and join simscan user into qmail group configur clam anti-virus with --with-user=simscan and --with-group=qmail and installed it into the /var/lib/clamav. Then chown the directory chown -R simscan.qmail /var/lib/clamav Configure /etc/clamd.conf, change User simscan 2. spamassassin installation Nothing special with spamassassin installation since I used the same installation procedure in qmailrocks.org (installation for QMAIL server - not qmail-ldap) 3. simscan installation Configure simscan with #./configure --disable-ripmime --enable-spam=y --enable-spam-passthru=y \ --enable-custom-smtp-reject=n --enable-clamdscan=/usr/bin/clamdscan --enable-custom-smtp-reject=n \ --enable-dropmsg=n --enable-qmaildir=/var/qmail --enable-qmail-queue=/var/qmail/bin/qmail-queue \ --enable-clamavdb-path=/var/lib/clamav/db --enable-sigtool-path=/usr/bin/sigtool \ --enable-per-domain=y --enable-received=y # make && make install # vi /var/qmail/control/simcontrol :clam=yes,spam=yes,spam_passthru=no # /var/qmail/bin/simscanmk # cd /var/qmail/control/ ; vi qmail-smtpd.rules 127.:allow,RELAYCLIENT="",SMTPAUTH="",AUTHREQUIRED="" 172.168.:allow,RELAYCLIENT="",SMTPAUTH="",AUTHREQUIRED="",QMAILQUEUE="/var/qmail/bin/simscan" # make # svc -t /service/smtpd Now I can have this in the email's header Received: by simscan 1.1.0 ppid: 18782, pid: 18784, t: 5.4558s scanners: clamav: 0.90.1/m:42/d:2691 spam: 3.1.8 That's all, guys. Any comments or suggestions are welcome. Thanx for all your help. Best regards, sato |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | qmail with ldap-backup, satish patel |
|---|---|
| Next by Date: | Re: qmail with ldap-backup, sato x |
| Previous by Thread: | qmail with ldap-backup, satish patel |
| Next by Thread: | Qmailadmin and qmail-ldap - is it possible?, sato x |
| Indexes: | [Date] [Thread] [Top] [All Lists] |