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