Sameer N I wrote:

Sameer N I wrote:

Hi,

How do I create a new email account in qmail-ldap. I have ldap and qmail-ldap
running. I tried adding new entry to ldap under ou: qmail_users, but that just adds
the entry to ldap.
Do I have to create the Maildirectory using /var/qmail/bin/maildirmake?
I also have created /var/qmail/bin/dirmaker.sh (as in LWQ) made it executable
and echoed path in /var/qmail/control/dirmaker
Because of this I am getting #4.2.1 error (deferral: Warning: ...).



What are the possible values of deliveryMode in ldap schema for qmail?

Also for the sake information, does anyone know in detail how the user directories are created
in qmail-ldap setup? Please explain the process in brief.


Here is my /var/qmail/bin/qmail-ldaplookup output
-------------------8<--------------------
quark:/home/sam# /var/qmail/bin/qmail-ldaplookup -u admin
Searching ldap for: (&(objectClass=qmailUser)(uid=admin))
under dn: ou=qmail_users,dc=beekeycorp,dc=in
Found 1 entry:

dn: cn=Beekeycorp.in Sameer,ou=qmail_users,dc=beekeycorp,dc=in
-------------------------------------------------------
objectClass: top
objectClass: person
objectClass: inetOrgPerson
objectClass: qmailUser
mail: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
mailAlternateAddress: [EMAIL PROTECTED]
uid: admin
accountStatus: active
mailHost: secure.beekeycorp.in
homeDirectory: /var/vmail/admin
aliasEmpty: using default
qmailDotMode: both
qmailUID: 1013
qmailGID: 1006
mailQuotaSize: 10000000
mailQuotaCount: 1000
mailSizeMax: 0 (unlimited)
qmail-ldaplookup: warning: undefined mail delivery mode: normal (ignored).
deliveryMode: normal
mailReplyText: undefined
quark:/home/sam#
------------------->8--------------------
Here is my log snippet.
-------------------8<--------------------
quark:/home/sam# tail -n 10 /var/log/qmail/current | tai64nlocal
2005-05-11 18:09:54.243554500 starting delivery 36: msg 5800452 to local [EMAIL PROTECTED]
2005-05-11 18:09:54.243560500 status: local 1/10 remote 0/20
2005-05-11 18:09:55.219881500 delivery 36: deferral: Warning:_undefined_mail_delivery_mode:_normal_(ignored)./Unable_to_chdir_to_maildir._(#4.2.1)/


2005-05-11 18:09:55.219888500 status: local 0/10 remote 0/20
2005-05-11 18:21:34.113162500 starting delivery 37: msg 5800452 to local [EMAIL PROTECTED]
2005-05-11 18:21:34.113168500 status: local 1/10 remote 0/20
2005-05-11 18:21:34.981483500 delivery 37: deferral: Warning:_undefined_mail_delivery_mode:_normal_(ignored)./Unable_to_chdir_to_maildir._(#4.2.1)/


2005-05-11 18:21:34.981490500 status: local 0/10 remote 0/20
2005-05-11 18:25:48.942416500 starting delivery 38: msg 5800482 to local [EMAIL PROTECTED]
2005-05-11 18:25:48.942422500 status: local 1/10 remote 0/20
2005-05-11 18:25:49.747741500 delivery 38: deferral: Warning:_undefined_mail_delivery_mode:_normal_(ignored)./Unable_to_chdir_to_maildir._(#4.2.1)/


2005-05-11 18:25:49.747747500 status: local 0/10 remote 0/20
quark:/home/sam#
------------------->8--------------------

Any guesses?

Sameer N. Ingole





--
Sameer N. I.
/****************************************************************/
/ The early bird gets the coffee left over from the night before./
/****************************************************************/



Reply via email to