Matteo, thanks for the help.
Haven't changed versions. Here's what I note:
When I run the adddomain program for "testq.com", a directory
/var/qmail/vpopmail/domains/testq.com is created, with subdirs like
postmaster/Maildir. Yet qmail as currently configured will auto-create a directory
structure for the user when an email gets sent to them as
/var/qmail/vpopmail/maildirs/{uid}.
Here's what I did:
touch /tmp/reference
sleep 60
find /var -newer /tmp/reference
and I got this result:
/var/qmail/control
/var/qmail/control/locals
/var/qmail/control/rcpthosts
/var/qmail/control/rcpthosts.lock
/var/qmail/control/virtualdomains.lock
/var/qmail/control/locals.lock
/var/qmail/control/virtualdomains
/var/qmail/users
/var/qmail/users/assign
/var/qmail/users/assign.lock
/var/qmail/users/cdb
/var/qmail/vpopmail/domains
/var/qmail/vpopmail/domains/testq.com
/var/qmail/vpopmail/domains/testq.com/.qmail-default
/var/qmail/vpopmail/domains/testq.com/postmaster
/var/qmail/vpopmail/domains/testq.com/postmaster/Maildir
/var/qmail/vpopmail/domains/testq.com/postmaster/Maildir/cur
/var/qmail/vpopmail/domains/testq.com/postmaster/Maildir/new
/var/qmail/vpopmail/domains/testq.com/postmaster/Maildir/tmp
>From what I understand, these files should have been modified:
/var/qmail/control/locals
/var/qmail/control/rcpthosts
And everything else should have been left alone, though virtualdomains is probably ok.
From what I understand, having the rcpthosts, locals entry, and a corresponding ldap
record is all that's needed for qmail-ldap to pick up an email. Why all these changed
files?
-Ben
Matteo Ridolfi <[EMAIL PROTECTED]> wrote :
> Scrive Benjamin Smith :&lang=en">[EMAIL PROTECTED]>:
>
> > Over the past several days, I've painstakingly installed QMail 1.03,
> OpenLDAP
> > 2.0.x, qmail-scanner, SpamAssassin, and f-prot onto a mail server. It's
> all
> > working as it sits. I'm using ldap only for authentication. (either
> plaintext
> > or MD5 passwords in the LDAP DB)
> >
> > Now the game is to get vpopmail and sqwebmail to work, and this project
> will
> > be DONE. =)
> >
> > However, installing vpopmail with the ldap option fails on the first test,
> > that of vadddomain, as per the instructions README.ldap, fails. =(
> >
> > Doing some searching resulted in this page that indicates the problem is
> an
> > incorrect qmail.schema:
> >
> > http://www.mail-archive.com/vchkpw@;inter7.com/msg07584.html
> but he doesn't
> > give the qmail schema that works! Also, this guy indicates that he's close
> to
> > the solution, but it doesn't work.
> > http://www.mail-archive.com/vchkpw@;inter7.com/msg07587.html
> >
> > Has anybody come up with a fix for this? Am I just stuck?
> >
>
> Mmm, you don't have to use the qmail.schema if you use vpopmail, but the
> qmailUser.schema, if I well remember you can find it into the vpopmail
> sources.
> If you can't find it I'll paste it in ml...
> Then, you don't have to use the latest stable release of vpopmail, but the
> 5.3.9
> version, that works great.
> Remember to put the line
> schemacheck off
> in your slapd.conf file
>
> Think that's quite all...
>
>
> /speza
>
> --------------------------------
> home: http://speza.com
> icq#: 11471656
> home2: http://porzia.esoul.it/~speza
>
>
>
> --------------------------------------------------------------
> This mail sent trough IMP from http://segfault.notebook.locale
- The best way to predict the future is to invent it. -