|
[SMS] - Superb Mini Server Project Support Forum |
 |
|
 |
View previous topic :: View next topic |
Author |
Message |
central Junior Member
Joined: 11 Nov 2007 Posts: 5
|
Posted: Mon Apr 14, 2008 9:12 am Post subject: setting up mail server with: ldap, Dovecot, Postfix |
|
|
(I have no ldap experience, but some about mail servers)
Q:
- is [ldap, Dovecot, Postfix] full configured to working together?
- Or i need change anythings in config files for "multi domain" seting up?
- why use ldap to add email accounts?
thanks |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Mon Apr 14, 2008 3:19 pm Post subject: |
|
|
Dovecot, ldap, postfix are already configured with sasl authentication.
Configuration is more than an example how ldap works, but it works if you want to use it.
I don't know what your config will be, so it depends from your configuration if ldap it's the best solution for you.
You can alternative use mysql or hash databases.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
central Junior Member
Joined: 11 Nov 2007 Posts: 5
|
Posted: Tue Apr 15, 2008 9:37 am Post subject: howto create some email account with phpLDAPadmin using sms |
|
|
i dos not understand the relation beetwen dovecot, ldap and schemas & hierarchies. howto put email account into ldap records? What level & what schemas & What fields to fill out? (like adresse@domain.org) |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Tue Apr 15, 2008 6:14 pm Post subject: |
|
|
An example of Administrator user...
Code: | dn: uid=Administrator,ou=virtualusers,o=virtualmail,dc=sms,dc=org
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
gidNumber: 1004
homeDirectory: /home
uidNumber: 1004
uid: Administrator
sn: Administrator
userPassword: {SSHA}kWwFuLC0yLIQfUdGquQVIGogKKkPTAo0
cn: Administrator
mail: Administrator@sms.virtual |
Dovecot and postfix are using SASL authentication.
If you type 'testsaslauthd -u administrator -p toor' you will get
Code: | root@sms:~# testsaslauthd -u administrator -p toor
0: OK "Success." |
You might also want to look at
/etc/postfix/main.cf
/etc/postfix/ldap-aliases.cf
/etc/postfix/ldap-mailists.cf
/etc/postfix/ldap-users.cf
/etc/dovecot-ldap.conf
/etc/dovecot.conf
/etc/saslauthd.conf
to see how they are configured.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
 |
 |
SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional
|
 |
|
|