[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

6.5

Postfix + Cyrus SASL MySQL

Asked by anoyes in Postfix, Linux Setup, Email Servers

I've been banging my head against the desk for weeks on this one...

I'm trying to get Postfix set up to use Cyrus SASL to authenticate against MySQL on CentOS 5.3.  I'm also running Courier for IMAP and POP3 access.  These are authenticating against MySQL no problem, and Postfix works as long as I have SASL authentication disabled.

Although it's a little outdated (CentOS 5.1) I used this tutorial for most of the setup: http://www.howtoforge.com/virtual-users-and-domains-postfix-courier-mysql-centos5.1

I also took a look at this: https://www.linuxquestions.org/questions/linux-server-73/how-to-setup-mysql-and-saslauthd-with-postfix-centos-5.3-720383/

I couldn't get cyrus-sasl-sql to install using YUM because it had a dependency with an older version of MySQL, and when it tried to resolve that dependency I got all kinds of conflicts.  I ended up grabbing the source and rebuilding the RPM, which went OK (i.e. I didn't get any errors) and I was able to install the RPMs cyrus-sasl-lib, cyrus-sasl-devel, and cyrus-sasl-sql.

If I enable SASL authentication in Postfix and try to telnet localhost 25, it dies and I see this in my log file:

Jun  6 22:26:12 web01 postfix/smtpd[4438]: warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
Jun  6 22:26:12 web01 postfix/smtpd[4438]: fatal: no SASL authentication mechanisms
Jun  6 22:26:13 web01 postfix/master[4279]: warning: process /usr/libexec/postfix/smtpd pid 4438 exit status 1
Jun  6 22:26:13 web01 postfix/master[4279]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling

I suspect it has something to do with the Cyrus SQL library not loading; if I do saslauthd -v SQL isn't listed:

[root@web01 ~]# saslauthd -v
saslauthd 2.1.22
authentication mechanisms: getpwent kerberos5 pam rimap shadow ldap

Can anyone shed any light on this?  Anyone run into this before?

Thanks in advance!
[+][-]06/06/09 07:55 PM, ID: 24565113Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/06/09 08:20 PM, ID: 24565153Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/07/09 01:10 AM, ID: 24565715Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/07/09 09:52 AM, ID: 24567170Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/07/09 10:11 AM, ID: 24567239Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/07/09 10:21 AM, ID: 24567287Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/07/09 03:48 PM, ID: 24568358Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/07/09 03:57 PM, ID: 24568372Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/07/09 04:08 PM, ID: 24568393Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/07/09 04:11 PM, ID: 24568400Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/07/09 04:14 PM, ID: 24568405Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/07/09 04:24 PM, ID: 24568424Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/07/09 04:25 PM, ID: 24568427Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/07/09 04:36 PM, ID: 24568448Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/07/09 04:46 PM, ID: 24568474Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/08/09 04:59 PM, ID: 24577270Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/08/09 05:12 PM, ID: 24577326Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06/08/09 07:47 PM, ID: 24577903Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/09/09 09:43 PM, ID: 24588035Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/09/09 10:46 PM, ID: 24588276Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Postfix, Linux Setup, Email Servers
Sign Up Now!
Solution Provided By: marmata75
Participating Experts: 2
Solution Grade: A
 
[+][-]06/10/09 08:40 AM, ID: 24592923Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06/10/09 09:59 AM, ID: 24593728Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06/11/09 09:51 AM, ID: 24604400Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625