On Thu, 9 Jan 2003 03:18:15 +0100 Henning Brauer <[EMAIL PROTECTED]> wrote:
> On Wed, Jan 08, 2003 at 07:10:09PM +0100, Marc wrote: > > On Wed, 8 Jan 2003 19:03:04 +0100 > > Henning Brauer <[EMAIL PROTECTED]> wrote: > > > On Wed, Jan 08, 2003 at 06:44:01PM +0100, Marc wrote: > > > > Hope somebody can give me some advice on this (I think Henning > > > > Brauer is the autor of smtp-auth patch and he often reads this > > > > list) > > > yeah, but I'm a slacker and go having beer now ;-) > > Hey, thanks for your prompt response, and have a nice "beering" > > session;-) > > yup, was nice. I like local BSD users groups ;-) > > > > > Qmail with ldap seems to work perfect, but when I try to use > > > > smtp-auth it doesn't. > > > have this running here and works just fine. show your > > > /service/qmail-smtpd/run file (or whatever it is for you) > > -u "$QMAILDUID" -g "$NOFILESGID" 0 smtp > > /var/qmail/bin/qmail-smtpd > > add /var/qmail/auth_smtp /nonexistant > at the end (I'm not sure wether I finally removed teh requirement for > the 2nd unused arg) > First of all, thanks a lot for your replies. However, I would need a bit more help. I've checked that /var/qmail/bin/auth_smtp and /usr/bin/true exist and are 755 and they indeed are. I tried to add the /nonexistant instead of /usr/bin/true and still doesn't work but now it produces a different error, here's the log : ESMTP< 250-PIPELINING ESMTP< 250-AUTH=LOGIN PLAIN ESMTP< 250-AUTH LOGIN PLAIN ESMTP< 250-STARTTLS ESMTP< 250-SIZE 0 ESMTP< 250 8BITMIME ESMTP> AUTH LOGIN SMTP< 334 VXNlcm5hbWU6 ESMTP> [USERID] SMTP< 334 UGFzc3dvcmQ6 ESMTP> [PASSWORD] SMTP< 535 auth failure I'm 100% sure that I entered the correct login/pass when prompted for them, what I'm not sure of is that they're setup correctly in the LDAP database. I've exported in LDIF format the entry and this is how it looks like : dn: uid=dummy, ou=students, dc=uni, dc=org mailMessageStore: /var/qmail/maildirs/dummy/Maildir/ sn: dummy userPassword:: e1NTSEF9YlFnUjZnYTNhbXI0WE95WHBsclNGemtleU4wblVvVDY= mailAlternateAddress: [EMAIL PROTECTED] mail: [EMAIL PROTECTED] objectClass: top objectClass: person objectClass: inetOrgPerson objectClass: qmailUser uid: dummy cn: dummy homeDirectory: /var/qmail/maildirs/dummy Any ideas ? Best Regards, M
