1 message in net.sourceforge.lists.courier-maildrop[maildropl] automatic maildir creation
FromSent OnAttachments
Eivind NordbyeApr 18, 2002 6:54 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] automatic maildir creationActions...
From:Eivind Nordbye (mlis@broadpark.no)
Date:Apr 18, 2002 6:54:05 am
List:net.sourceforge.lists.courier-maildrop

Hi

I'm using maildrop with postfix, and all user infomation are in a ldap directory.

I've read somewhere that it should be possible to get the users maildir automatically created when the very first mail is recieved. It would make my adminstration easier if I didn't have to create maildirs on the filesystem whenever I added new users.

I've tried to configure this, but maildrop returs "Unable to create dot-lock" when the users maildir is non-existing.

My maildropldap.config looks like this: basedn ou=broadpark,ou=no,o=nextgentel default_gidnumber 2000 default_uidnumber 2000 filter &(ngtservices=mail) gidnumber_attr not_existing homedirectory_attr ngtmailbase hostname 217.13.14.28 mail_attr mail maildir_attr ngtmaildirectory quota_attr ngtmailquota search_method mail timeout 5 uid_attr uid uidnumber_attr not_existing

LDAP entries look like this: uid=P99033,ou=broadpark,ou=no,o=nextgentel cn=Truls Test Tulling gidnumber=60001 givenname=Truls Test homedirectory=/home/ftp/P99/P99033 loginshell=/bin/sh mail=ttt@broadpark.no ngtdomain=broadpark.no ngtmailbase=/mail/broadpark.no/ ngtmailboxwarningcounter=0 ngtmaildirectory=./P99/P99033/ ngtmailquota=40240000S,1000C ngtservices=billing ngtservices=mail ngtservices=web objectclass=OrganizationalPerson objectclass=Person objectclass=inetOrgPerson objectclass=ngtPerson objectclass=posixAccount objectclass=top sn=Tulling uid=P99033 uidnumber=60001

master.cf: maildrop unix - n n - - pipe flags=R user=vmail argv=/data/maildrop/bin/maildrop -d ${recipient}

# ls -la /mail/broadpark.no/P99 drwxrwxr-x 5 vmail vmail 512 Apr 15 10:33 . drwxrwxr-x 43 vmail vmail 1024 Apr 11 13:01 .. drwx------ 2 vmail vmail 512 Apr 14 14:43 P99032

# id vmail uid=2000(vmail) gid=2000(vmail)

Any ideas?