1 |
On Sat, Mar 27, 2004 at 12:47:42PM +0100, Aiko Barz wrote: |
2 |
> On Fri, Mar 26, 2004 at 11:45:33PM -0500, Mike Frysinger wrote: |
3 |
> > i meant i thought the fact we have 'qmail-ldap' and 'qmail-mysq' instead of |
4 |
> > combining those features into the qmail ebuild is junk |
5 |
> |
6 |
> That reminds me of something: There is no qmail-ldap, at least no |
7 |
> working one. ;) |
8 |
> http://bugs.gentoo.org/show_bug.cgi?id=45875 |
9 |
|
10 |
Since there are wishes to start with the mainstream-qmail-line, I took |
11 |
the qmail-1.03-r15.ebuild as base. |
12 |
|
13 |
1. I removed all patches which didn't apply after using |
14 |
qmail-ldap-1.03-20040301a. Off course, a lot of patches are already |
15 |
part of the qmail-ldap patch. |
16 |
2. $(emerge qmail-ldap-1.03-r4.ebuild 2> /root/blabla) showed some |
17 |
missing files. I copied them from |
18 |
"/usr/portage/net-mail/qmail/files/" |
19 |
3. I added "ln -s ${pemfile} ${filedir}/cert.pem" to "mkservercert", |
20 |
because "telnet localhost 25" said: |
21 |
"454 TLS not available: missing RSA private key (#4.3.0)" |
22 |
4. I would like to see |
23 |
QMAIL_SMTP_POST="/var/qmail/bin/auth_smtp /usr/bin/true" |
24 |
as an default example in "conf-smtpd". |
25 |
5. /etc/tcprules.d/tcp.qmail-smtp.sample looks like: |
26 |
|
27 |
127.0.0.1:allow,RELAYCLIENT="",RBLSMTPD="" |
28 |
:allow |
29 |
|
30 |
I would like to kick out the last line and do it just like this: |
31 |
|
32 |
if use ssl; then |
33 |
echo ":allow,SMTPAUTH=\"TLSREQUIRED\"" >>${f} |
34 |
else |
35 |
echo ":allow" >>${f} |
36 |
fi |
37 |
|
38 |
This makes it possible to relay after smtpauth, after TLS. |
39 |
|
40 |
Right now, my qmail-ldap works almost out of the box. I made the first |
41 |
step. Maybe some gentoo-dev like sj7trunks could do the final-step: |
42 |
Test, improve and add it to the stable line. ;) |
43 |
|
44 |
ebuild: |
45 |
http://www.chroot.de/html-includes/ebuilds/qmail-ldap/qmail-ldap-1.03-r4.ebuild |
46 |
diff: |
47 |
http://www.chroot.de/html-includes/ebuilds/qmail-ldap/qmail-ldap-1.03-r4.diff |
48 |
|
49 |
Thanks, |
50 |
Aiko |
51 |
|
52 |
-- |
53 |
.~. Aiko Barz |
54 |
/v\ |
55 |
// \\ Mail: aiko@××××××.de |
56 |
/( _ )\ Web: http://www.chroot.de |
57 |
^^ ^^ PGP: http://www.chroot.de/index.php?navi=GnuPG |