Gentoo Archives: gentoo-dev

From: Martin Lesser <gentoo@××××××××××.de>
To: Gentoo Developers <gentoo-dev@g.o>
Subject: Re: [gentoo-dev] vpopmail's emerge directory structure
Date: Sun, 02 Nov 2003 07:44:21
Message-Id: 87d6cbi5be.fsf@nb-acer.bettercom.de
In Reply to: Re: [gentoo-dev] vpopmail's emerge directory structure by Corey Crawford
1 "Corey Crawford" <ccrawford@×××××××.net> writes:
2
3 > What other program than tcpserver/tcprules uses /etc/tcp.smtp?
4
5 None. Only the tcpserver which invokes qmail-smtpd uses
6 /etc/tcp.smtp.cdb (not tcp.smtp)
7
8 /etc/tcp.smtp is only used by tcprules for building the cdb-file.
9
10 > I still don't see why vpopmail's ebuild can't use
11 > /var/vpopmail/etc/tcp.smtp.
12
13 vpopmail can (and probably does) use it only for writing the
14 IP-addresses of the pop3'ing clients to it and afterwards invokes
15 tcprules to build the cdb file.
16
17 > Or, I suppose, it could link to /etc/tcp.smtp but build it's own
18 > tcp.smtp.cdb file in /var/vpopmail/etc/ (since it doesn't actually
19 > edit tcp.smtp but rather updates tcp.smtp.cdb).
20
21 Yes. And if this tcp.smtp.cdb (*not* tcp.smtp) would be used by the
22 tcpserver which invokes qmail-smtpd SMTP-after-POP would work for a
23 limited period for each IP-address which was recorded by vpopmail.
24
25 > You yourself say you don't want arbitrary users to be able to write to
26 > config files in /etc, but then why does the now-default ebuild of vpopmail
27 > require this?
28
29 In this point I agree with Daniel. But I don't understand why the
30 tcpserver which invokes qmail-smtpd should not use the cdb-file which was
31 built by vpopmail. Simply replacing the -x option would archive this.
32
33 Martin
34
35 --
36 gentoo-dev@g.o mailing list