Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I keep reading everywhere that postfix must be compiled with sasl support to be able to use the sasl authentication.

I already have postfix instances running (Centos 6.4 and Fedora 18 machines). They were installed using the package manager (yum).

How can I check if postfix was compiled with sasl support?

share|improve this question
up vote 6 down vote accepted

postconf -a and postconf -A tell you what sasl plugin types are available. I would assume those would return errors or empty lists if sasl support was not enabled at build time (though possibly not).

You could also check the output of ldd /path/to/postfix and see if it links to a sasl library or not (though it might be possible for postfix to be built with sasl and not link to a sasl library if it supports it via a plugin or something, I don't know whether it does or not).

share|improve this answer
Thanks! So I guess it's all good: ldd /usr/sbin/postfix | grep sasl outputs => /lib64/ (0x00007f41dda20000) postconf -a returns cyrus dovecot and postconf -A returns just cyrus. – John Smith Optional Aug 14 '13 at 12:28
That matches up with what I see locally and should mean you are fine. The ultimate test of course is to try it and see. – Etan Reisner Aug 14 '13 at 12:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.