|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Maildir in virtual scenario!
From: Alex aka Magobin (magobin
gmail.com)
Date: Fri May 12 2006 - 03:04:56 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, after reading victor's link I succesfully configured postfix with
LDAP (basic configuration).
Now before continuing to configure with sasl ecc...I have few question:
1) It seems that I don't understand where put / to have maildir format,
according with VIRTUAL_README....
The Postfix virtual(8) mailbox delivery agent looks up the user mailbox
pathname, uid and gid via separate tables that are searched with the
recipient's mail address. Maildir style delivery is turned on by
terminating the mailbox pathname with "/".
So..since I have ldap table I put / at end of homedir in ldap entry,
but it doesn't work.
This is my entry in ldap:
[root
test ~]# ldapsearch -x "(uid=user1)"
# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: (uid=user1)
# requesting: ALL
#
# user1, Utenti_LAN, domain.example.com
dn: uid=user1,ou=Utenti_LAN,dc=domain,dc=example,dc=com
homeDirectory: /home/user1/
gidNumber: 1000
uidNumber: 1000
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetorgperson
objectClass: posixAccount
loginShell: /bin/bash
givenName: User1
sn: Test
telephoneNumber: 49435
mail: user1
domain.example.com
facsimileTelephoneNumber: *******
uid: user1
cn: User1 Test
2) I configured postfix to use a static uid and gid number (5000)...I
would to know if I safety ignore a warning on log about user's ownership
3) To avoid this behavior what is the way to map uid and gid number to
ldap ?
thanks in advance
Alex
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]