[SOLVED] Please Help : Sendmail/Cyrus/LDAP howto ??
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.