On Tuesday 02 July 2002 3:18 am, david wrote:
> hi,
> i need help in qmail+netscape directory
> now qmail start up ok, send mail ok 
> but get mail NOT ok ,neither using outlook ,etc, nor using telnet.
> it gave me '-ERR error in server configuration'
> 
> i send a mail to the qmail server and get 'Sorry, no mailbox here by that
> name. (#5.1.1)',
 but i had set rc using './Maildir/'.
> 
> i run './qmail-ldaplookup -u tua' and get the following msg:
> init_ldap:      passwords are not compared via rebind
>                 localdelivery:   off
>                 clustering:      off
>                 ldapobjectclass:
>                 homedirmaker:
>                 defaultDotMode:  ldaponly
>                 defaultQuota:
>                 QuotaWarning: 
> how to configure the server ? what can i do ?
> how to add/change object/field in netscape directory server, is there any
> qmail.schema for netscape directory ?
 
> Thanks a lot.

Hi David,

It looks like you have loads of problems :-(

Your first problem, is cross posting. This is a qmail-ldap problem, and I am 
sure the qmail mailing list won't be too pleased with you posting it there.

Secondly, you will need the qmail.schema for anything to work with the LDAP server....

....however, the error you are describing here is due to the fact that your user 
doesn't have a mailbox - this bit gave it away :

'Sorry, no mailbox here by that name. (#5.1.1)'

So the problem is that qmail can't find a mailbox.... in my setup qmail 
creates the users mailbox the first time a mail is sent to the user. I hate replied 
that say "RTFM" but I do have to ask, did you RTFM? :)

Take note of these sections :

http://www.lifewithqmail.org/ldap/#Installation

Specifically :

  AUTOMAILDIRMAKE
    Turns the auto-MAILdirmake-patch on. No external script needed.
  AUTOHOMEDIRMAKE
    Compiles the auto-HOMEdirmake-patch in. You need to specify an external
    script in ~/control/dirmaker which creates the homedir. It gets the dir
    as first (and only) parameter. Note: this script runs under the affected
    user's permissions, so, if the homedir for a system user "joe" should be
    created in /home, joe must have write permissions in /home.

and also :

http://www.lifewithqmail.org/ldap/#Basic%20Setup

Specifically this bit :

8.1.1.25. dirmaker

If you compiled the autohomedirmake-feature, this contains the FULL path to your 
script which creates missing homedirs. The scrpit is executed under the 
affected user's uid/gid, so if your homedirs are in /home and the homdir for 
joe (system uid joe) should be created, joe MUST have write permissions to /home. This 
feature is most usefull in virtual user environments where all users are mapped to an 
single system uid/gid pair, let's say virtual/virtual. 
Then only virtual needs write permissions in /home. The script gets the path 
for the to be created homedir as first parameter and aliasempty as second one. A 
sample script:


  #!/bin/sh
  mkdir -m 700 -p $1


...but to be honest, if you haven't got the qmail.schema set up on your LDAP 
server, thats probably not going to do any good.

I hope this will help!

-- 
Thanks

Andrew McCall
Internet System Administrator
I.C.T. Division
Oldham MBC
Civic Centre
West Street
Oldham
OL1 1UU

Tel : 0161 911 3990
Fax : 0161 911 3998
Email : [EMAIL PROTECTED]




??????????????????????????????????????????????????????????????????????


?????????????????????????????????????????????????????????????????


????????????????????????????????????????????????????????????????????


?????????????????????????????????????????????????????????????????????


???????????????????



?????????????????????????????????????????????????????????????????????


?????????????????????????????????????????????????




?????????????????

??????????????????????????????????????????????????????????????????????





Reply via email to