On Mon, Jun 27, 2005 at 08:58:25PM +0530, Amit wrote:
> MessageHi Russ/Hardik.,
>
> Thanx so much for lending a helping ear to my problem..I am posting the
> outputs of user ldif export, /var/qmail/bin/qmail-showctl, the permissions I
> have in /var/qmail/control and the log file for
> /var/qmail/log/qmail-send/current....
>
> 1. outputs of user Amit's ldif export
>
> dn: uid=amit,ou=Users,dc=mydomain,dc=com
> cn: amit
> sn: amit
> uid:amit
> uidNumber: 1003
> gidNumber: 1000
> homeDirectory: /home/amit
^^^^^^^^^^^^^^
> loginShell: /bin/bash
> gecos: System User
> description: System User
> sambaLogonTime: 0
> sambaLogoffTime: 2147483647
> sambaKickoffTime: 2147483647
> sambaPwdCanChange: 0
> displayName: System User
> sambaSID:S-1-5-21-1033752373-4158422787-2430110392-3006
> sambaPrimaryGroupSID:S-1-5-21-1033752373-4158422787-2430110392-3001
> sambaLogonScript: amit.cmd
> objectClass: top
> objectClass: inetOrgPerson
> objectClass: posixAccount
> objectClass: shadowAccount
> objectClass: sambaSAMAccount
> objectClass: qmailUser
> mail: [EMAIL PROTECTED]
> mailHost: mailserver.intranet.mydomain.com
> accountStatus: active
> mailMessageStore: /var/qmail/maildirs/amit/
^^^^^^^^^^^^^^^^^^
> mailAlternateAddress: [EMAIL PROTECTED]
> mailAlternateAddress: [EMAIL PROTECTED]
> mailAlternateAddress: [EMAIL PROTECTED]
> mailAlternateAddress: [EMAIL PROTECTED]
> mailAlternateAddress: [EMAIL PROTECTED]
> mailAlternateAddress: [EMAIL PROTECTED]
> sambaLMPassword: 860CFB1391773F06AAD3B435B51404EE
> sambaAcctFlags: [U]
> sambaNTPassword: 6E175C051DAFFC138BD5078A922D2668
> sambaPwdLastSet: 1119643965
> sambaPwdMustChange: 1128197565
> userPassword: {CRYPT}vNvW98tPUp7tU
>
QLDAPINSTALL has a nice section about the use of homeDirectory and
mailMessageStore:
LDAP_MAILSTORE (default: "mailMessageStore")
and
LDAP_HOMEDIR (default: "homeDirectory")
Path to the maildir/mbox on the mail system is extracted from those fields.
If LDAP_HOMEDIR is found this field is used as $HOME, using aliasempty or
mailMessagestore if defined as default delivery method.
If only LDAP_MAILSTORE is defined this will be used as $HOME and aliasempty
as default delivery method.
If neither LDAP_MAILSTORE nor LDAP_HOMEDIR is defined, ~alias (qmails alias
user homedir) will be used as $HOME and ALIASDEVNULL (defined in qmail-ldap.h)
as default delivery method. Also the delivery mode is set to ldap only and
forward only (LDAP_DOTMODE and LDAP_MODE).
Example: /home/jdoe/
Note: LDAP_MAILSTORE can be written relative in a virtual users environment
ldapmailstore will be prefixed to make the path absolute.
For more info have a look at the QLDAPNEWS file.
If you use "homeDirectory" in an incompatible way then redefine it in
qldap-ldap.h to something not used, like "noHomeDirectory".
Especially the last line could be of interest.
--
:wq Claudio