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]>

Attachment: pgp31kZ90KRCT.pgp
Description: PGP signature

Reply via email to