Please Help : Sendmail/Cyrus/LDAP howto ??
Dear Team,
One of my client needs to setup a mail server with the following components 1.Sendmail --->Sending mail 2.Cyrus-IMAP --->POP3/IMAP 3.LDAP --->AccessDB,Virtuser,User authentication 4.Squirrelmail --->Webmail 5.Saslauth -->Authentication. I had made a wild search on google,unfortunately didnt found a good howto. Can anybody come across the same environment,if yes please share your experience. Thanks in advance. |
we can't recite documentation on such a large area, just break it down piece by piece and ask if you have specific problems. start with ldap maybe, an ldap instance has nothing to do with email services at all in terms of making it run. once it's up you can then use it for whatever you want. also sendmail (might prefer postfix or something else nicer to configure) will deliver mail to a file, and Cyrus will read mail from a file. they have nothing to do with each other, only the common files in between. so get an smtp server running as your next step...
|
Yes..Starting with sendmail
Dear Sir,
I had made the following changes in the sendmail.mc file for authenticating with LDAP ------------------------------------------------------------------------ FEATURE(`ldap_routing')dnl LDAPROUTE_DOMAIN(`xxx.xx.xx.xxx')dnl define(confLDAP_DEFAULT_SPEC,`-h xxx.xx.xx.xxx -b "dc=example,dc=com" -d "cn=example,dc=com,dc=org" -P /etc/mail/ldap') FEATURE(`access_db', `LDAP') FEATURE(`virtusertable', `LDAP') ------------------------------------------------------------------------- After that I had created the sendmail.cf and tried to start the sendmail,but it gives the following error -------------------------------------------------------------------------- Warning: Option: LDAPDefaultSpec requires LDAP support (-DLDAPMAP) 554 5.0.0 /etc/mail/sendmail.cf: line 174: readcf: map ldapmh: class ldap not available 554 5.0.0 /etc/mail/sendmail.cf: line 176: readcf: map ldapmra: class ldap not available 554 5.0.0 /etc/mail/sendmail.cf: line 179: readcf: map access: class ldap not available 554 5.0.0 /etc/mail/sendmail.cf: line 182: readcf: map virtuser: class ldap not available -------------------------------------------------------------------------- Here I am stuck first time,what does it mean ?I think if the sendmail get up,we will be in the right track. |
looks like your version of sendmail isn't built with ldap support, either recompile it, find a binary version with support, or use an alternative to sendmail.
|
Thanks
Dear List,
I did a blunder,compile sendmail without LDAP. I had recompile it again. Now SMTP daemon is UP. |
All times are GMT -5. The time now is 03:54 PM. |