Postfix Virtual Hosting With LDAP Backend And With Dovecot As IMAP/POP3 Server On Ubuntu Kamic Koala 9.10 - Page 7
Want to support HowtoForge? Become a subscriber!
Step 9: Install and configure proftpdFirst we will install proftpd and its requirements: aptitude install proftpd proftpd-mod-ldap Depending on your load you can decide between stand alone and inet.d. Edit /etc/proftpd/proftpd.conf: vi /etc/proftpd/proftpd.conf And change from: # Use this to jail all users in their homes # DefaultRoot ~ To: # Use this to jail all users in their homes DefaultRoot ~ Now edit /etc/proftpd/modules.conf: vi /etc/proftpd/modules.conf And change from: # Install proftpd-mod-ldap to use this #LoadModule mod_ldap.c To: # Install proftpd-mod-ldap to use this LoadModule mod_ldap.c And from: # Install proftpd-mod-ldap to use this # LoadModule mod_quotatab_ldap.c To: # Install proftpd-mod-ldap to use this LoadModule mod_quotatab_ldap.c No edit /etc/proftpd/ldap.conf and set the following: <IfModule mod_ldap.c> AuthOrder mod_ldap.c AuthPAM off LDAPUseTLS off PersistentPasswd off LDAPServer 127.0.0.1 LDAPDNInfo cn=abook,dc=webhabitat,dc=be readonly LDAPDoAuth on "dc=webhabitat,dc=be" # (&(uid=%u)(objectclass=posixAccount)) </IfModule> Now restart postfix and your domain postmasters created in phamm can login to their home directories. Note not the email accounts. /etc/init.d/proftpd restart This concludes the complete how to.
|



Recent comments
2 days 23 hours ago
3 days 8 hours ago
3 days 10 hours ago
3 days 12 hours ago
3 days 13 hours ago
3 days 15 hours ago
3 days 16 hours ago
3 days 17 hours ago
4 days 9 hours ago
4 days 10 hours ago