LinuxQuestions.org
Review your favorite Linux distribution.
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 05-14-2013, 05:02 AM   #1
yobogs
LQ Newbie
 
Registered: May 2013
Posts: 11

Rep: Reputation: Disabled
Question TLS and SASL support is not compiled in


Hello,

I have Building Postfix 2.10 on CentOS 6 from Source (with this tuto http://stevejenkins.com/blog/2011/01...5-from-source/).

It's works fine but when i send an email, i have this error :

Code:
May 14 13:36:07 jexgs postfix/smtpd[9804]: warning: smtpd_sasl_auth_enable is true, but SASL support is not compiled in
May 14 13:36:07 jexgs postfix/smtpd[9804]: warning: TLS has been selected, but TLS support is not compiled in
I have compiled with this option :

Code:
make makefiles CCARGS='-fPIC -DUSE_TLS -DUSE_SSL -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DPREFIX=\\"/usr\\" -DHAS_LDAP -DLDAP_DEPRECATED=1  -DHAS_PCRE -I/usr/include/openssl -I/usr/include/sasl  -I/usr/include' AUXLIBS='-L/usr/lib -L/usr/lib/openssl -lssl -lcrypto -L/usr/lib/sasl2 -lsasl2 -lpcre -lz -lm -lldap -llber -Wl,-rpath,/usr/lib/openssl -pie -Wl,-z,relro' OPT='-O' DEBUG='-g'
Anyone have an idea about my problem ?

Tks for your help (and sorry for my english ;-))
 
Old 05-14-2013, 09:32 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by yobogs View Post
Hello,
I have Building Postfix 2.10 on CentOS 6 from Source (with this tuto http://stevejenkins.com/blog/2011/01...5-from-source/). It's works fine but when i send an email, i have this error :
Code:
May 14 13:36:07 jexgs postfix/smtpd[9804]: warning: smtpd_sasl_auth_enable is true, but SASL support is not compiled in
May 14 13:36:07 jexgs postfix/smtpd[9804]: warning: TLS has been selected, but TLS support is not compiled in
I have compiled with this option :
Code:
make makefiles CCARGS='-fPIC -DUSE_TLS -DUSE_SSL -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -DPREFIX=\\"/usr\\" -DHAS_LDAP -DLDAP_DEPRECATED=1  -DHAS_PCRE -I/usr/include/openssl -I/usr/include/sasl  -I/usr/include' AUXLIBS='-L/usr/lib -L/usr/lib/openssl -lssl -lcrypto -L/usr/lib/sasl2 -lsasl2 -lpcre -lz -lm -lldap -llber -Wl,-rpath,/usr/lib/openssl -pie -Wl,-z,relro' OPT='-O' DEBUG='-g'
Anyone have an idea about my problem ?

Tks for your help (and sorry for my english ;-))
Your english is fine..but please don't use text-speak like 'tks'.

The only thing I can think of, is that you've got the postfix pre-built package installed. Do an "rpm -qa | grep -i postfix", and see what comes up. If it's installed, the pre-built binary may be getting called before your custom-built one.
 
Old 05-14-2013, 09:50 AM   #3
yobogs
LQ Newbie
 
Registered: May 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
Hi,

Thanks for your response :
Code:
rpm -qa | grep -i postfix
postfix-2.6.6-2.2.el6_1.i686
AND

Code:
postconf -d | grep mail_version
mail_version = 2.10.0
 
Old 05-14-2013, 10:09 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,617

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by yobogs View Post
Hi,
Thanks for your response :
Code:
rpm -qa | grep -i postfix
postfix-2.6.6-2.2.el6_1.i686
AND
Code:
postconf -d | grep mail_version
mail_version = 2.10.0
Ok...so, you've got two versions of postfix installed, quite possibly with different capabilities built in. The solution is fairly obvious. You can either remove the pre-built package, or check/modify the location of where the postfix executable is pointing to be the one you built. Not any other options, as far as I know.

Easiest thing would be to remove the built-in package. Also, you aren't really getting ERRORS...just warnings. So, unless you need/want TLS, etc, there's nothing to worry about, if things are working.
 
Old 05-14-2013, 10:12 AM   #5
yobogs
LQ Newbie
 
Registered: May 2013
Posts: 11

Original Poster
Rep: Reputation: Disabled
Ok, i'll try to remove the built-in package ;-)

For now i don't really need TLS ;-)

Thanks for your help and your response
 
Old 05-14-2013, 11:23 AM   #6
siremaxus
Member
 
Registered: May 2013
Posts: 75

Rep: Reputation: Disabled
Hello,

Sorry to arrive so late to this thread, but I wanted to ask:

Did you follow this guide?
http://wiki.centos.org/HowTos/postfix_sasl

Good Luck

Sire Maxus
 
Old 05-14-2013, 02:52 PM   #7
SteveJenkins
LQ Newbie
 
Registered: Nov 2009
Distribution: CentOS
Posts: 18

Rep: Reputation: 0
Did you do "make upgrade" instead of "make install" as my post suggested? That's supposed to install the newly compiled one in the same location as the old one, and then all that's needed is a simple restart.
 
  


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
SASL vs TLS kenneho Linux - Security 4 11-25-2022 01:55 AM
LDAP: not compiled with SASL support G00fy Programming 0 12-26-2007 01:33 AM
Postfix + Tls + Sasl riotpunk Linux - Server 0 10-30-2007 08:11 PM
Building Postfix with SASL + TLS mcd Linux - Networking 0 10-08-2005 09:43 PM
pam_ldap with tls and sasl hardigunawan Linux - Networking 3 05-21-2002 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:25 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration