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: Sat, 01 Nov 2003 08:52:45
Message-Id: 874qxowjvq.fsf@nb-acer.bettercom.de
In Reply to: Re: [gentoo-dev] vpopmail's emerge directory structure by "Robin H. Johnson"
1 "Robin H. Johnson" <robbat2@g.o> writes:
2
3 > The file doesn't belong to vpopmail exclusively. It really belongs to
4 > qmail, and vpopmail wants to add and remove items from it for it's
5 > misguiding implementation of relaying.
6
7 What do you mean with misguiding? vpopmail - like others - only tries to
8 record the REMOTEIP for SMTP after POP purposes.
9
10 > Qmail looks at /etc/tcp.smtp via tcpserver, which only allows a single
11 > file to be specified, so there is also a tcp.smtp is in
12 > /var/vpopmail/etc, then qmail NEVER looks at it, as it really needs
13 > /etc/tcp.smtp.
14
15 Just for clarifying: tcpserver (and not qmail) looks into a cdb-file
16 which you define as option for tcpserver with -x /path/to/file.cdb. In
17 case of qmail-smtpd tcpserver sets additional environment vars if
18 REMOTEIP is found in the cdb-file - e.g. RELAYCLIENT, on which
19 qmail-smtpd decides whether the remote-client may send mail for
20 non-local domains. You may run qmail-smtpd without any cdb-file if you
21 don't want to relay any mails.
22
23 tcpserver (package ucspi-tcp) at least is "only" a reliable and stable
24 replacement for [x]inetd with extended possibilities so one may run
25 qmail-smtpd also under control of [x]inetd but this is really not the
26 recommended way.
27
28 So if one uses vpopmail the run-file for qmail-smtpd could be changed in
29 a way that tcpserver looks in another cdb-file for which vpopmail has
30 write access. The vanilla vpopmail suggests this IIRC.
31
32 > A much better overall solution is to use the relay-ctrl package (see my
33 > notes in the latest qmail conf-smtpd and courier-imap stuff about it).
34
35 Ack.
36
37 Martin
38
39 --
40 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] vpopmail's emerge directory structure "Robin H. Johnson" <robbat2@g.o>