LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-19-2007, 03:42 AM   #1
bipinkdas
Member
 
Registered: Aug 2004
Location: India
Distribution: Redhat,Trustix,Fedora
Posts: 52

Rep: Reputation: 15
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.
 
Old 11-19-2007, 04:27 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
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...
 
Old 11-19-2007, 10:29 PM   #3
bipinkdas
Member
 
Registered: Aug 2004
Location: India
Distribution: Redhat,Trustix,Fedora
Posts: 52

Original Poster
Rep: Reputation: 15
Unhappy 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.
 
Old 11-20-2007, 02:05 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
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.
 
Old 11-20-2007, 02:43 AM   #5
bipinkdas
Member
 
Registered: Aug 2004
Location: India
Distribution: Redhat,Trustix,Fedora
Posts: 52

Original Poster
Rep: Reputation: 15
Wink Thanks

Dear List,
I did a blunder,compile sendmail without LDAP. I had recompile it again. Now SMTP daemon is UP.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sendmail and cyrus andrewfeberwee Linux - Software 0 10-29-2007 08:53 PM
Problem with mail delivery procmail>cyrus imap (using sendmail,procmail,cyrus,imap) bwana Linux - Software 2 03-24-2005 07:01 PM
Cyrus with LDAP dsiemens2 Linux - Software 1 02-24-2005 12:29 AM
Fedora, cyrus imap / sasl, Kerberos, LDAP rhoekstra Linux - Security 0 01-26-2005 03:48 AM
Cyrus, pam_ldap, ldap postfix installation mayankjohri Linux - Software 0 07-18-2002 06:09 AM


All times are GMT -5. The time now is 10:01 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration