Hi Sebastian, As you know I am just a beginner in this qmail matters. So, I follow any tutorial in the net that I thought were reliable. I may fail sometimes, but they worth me a lot of learning that I finally know what should or should not be done.
Regarding tcp or qmail-smtpd.rules, I chose to utilize the qmail-smtpd.rulesand it "half" work. The simscan was working, either spamassassin, but clamav was not (it did not scan email thoug I'd configured it in /etc/clamd.conf). I can say that because the header of the email said Received: by simscan 1.1.0 ppid: 4019, pid: 4021, t: 8.1738s scanners:none X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on mail.domain2.co.id X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED,AWL autolearn=ham version=3.1.8 Now I've changed the user of simscan from clamav to simscan but it failed with An error accured while sending email. The mail server responded: mail server temporarily rejected message (#4.3.0). Please check the message and try again. I'll do some checking now. Thank you for your suggestion. Best regards, sato On 3/16/07, Sebastian Benoit <[EMAIL PROTECTED]> wrote:
sato x([EMAIL PROTECTED]) on 2007.03.16 15:35:45 +0000: > I want some explenation from people who understand the recipe of qmail-ldap > about : > 1. Does qmail-smtpd.rules replaces /service/smtpd/tcp? I mean, if there is a > qmail-smtpd.rules in the control directory then qmail will utilize it instead > of /service/smtpd/tcp. Which one should I choose: tcp or qmail-smtpd.rules? The contents of /service/smtpd/tcp and qmail-smtpd.rules are stored in a cdb database file using the 'tcprules' command like this: /usr/local/bin/tcprules tcp.cdb tcp.tmp < tcp This file is then used by tcpserver in /service/smtpd/run: /usr/local/bin/tcpserver ... -xtcp.cdb ... Which source file you use to create the tcp.cdb (or even if you name it that or where you store it) is entirely dependend on your setup, your taste of naming convention and what you like. The best thing to do ist to keep it simple and consistent. > 2. This time about simscan. I don't have a simscan user, instead I use clamav > as the user when compile simscan-1.1 via > --enable-user=clamav > Is this OK? It depends on the permissions that user already has, ie. which directories are writeable by that user, etc. When you install software like that the first time, its generally advisable to follow the documentation and first learn how it works before playing around with the installation procedure. And you violate the principle of least surprise by running simscan as user clamav... /B. -- Sebastian Benoit <[EMAIL PROTECTED]>
