LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-17-2010, 10:06 PM   #1
wargus
Member
 
Registered: Mar 2010
Location: Switzerland
Distribution: Slackware
Posts: 97

Rep: Reputation: 13
Slackware64, postfix and cyrus-sasl


Hi all

My problem is to get postfix working with a smarthost, to send mails from home with dynamic IP, and which needs authentication. I did exactly the same with Slackware 12.2 (postfix 2.6.2) and it worked. Now I tried to do with 2.6.2 (actual running version is 2.7.0 with the same problem) on Slackware 13 64bit. Following error message occurs around every minute in the maillog:


Code:
Mar 18 03:41:46 slackpc postfix/smtp[5156]: warning: unsupported SASL client implementation: cyrus
Mar 18 03:41:46 slackpc postfix/smtp[5156]: fatal: SASL library initialization
Mar 18 03:41:47 slackpc postfix/master[4216]: warning: process /usr/libexec/postfix/smtp pid 5156 exit status 1
Mar 18 03:41:47 slackpc postfix/master[4216]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
So what I do not understand is the configuring difference between 12.2 and 13, I read a lot about configuring cyrus (which seems I didn't manage or understand). There seems no sbopkg.org difference between 12.2 slackbuild and 13.0 slackbuild.

Postconf -A gives nothing. Do I need to give a special compile parameter or edit the postfix.Slackbuild?

Thanks in advance
 
Old 03-18-2010, 12:56 AM   #2
gezley
Member
 
Registered: Sep 2009
Location: Ireland
Distribution: Slackware64, NetBSD
Posts: 503

Rep: Reputation: 209Reputation: 209Reputation: 209
Quote:
Originally Posted by wargus View Post
Hi all

My problem is to get postfix working with a smarthost, to send mails from home with dynamic IP, and which needs authentication. I did exactly the same with Slackware 12.2 (postfix 2.6.2) and it worked. Now I tried to do with 2.6.2 (actual running version is 2.7.0 with the same problem) on Slackware 13 64bit. Following error message occurs around every minute in the maillog:


Code:
Mar 18 03:41:46 slackpc postfix/smtp[5156]: warning: unsupported SASL client implementation: cyrus
Mar 18 03:41:46 slackpc postfix/smtp[5156]: fatal: SASL library initialization
Mar 18 03:41:47 slackpc postfix/master[4216]: warning: process /usr/libexec/postfix/smtp pid 5156 exit status 1
Mar 18 03:41:47 slackpc postfix/master[4216]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
So what I do not understand is the configuring difference between 12.2 and 13, I read a lot about configuring cyrus (which seems I didn't manage or understand). There seems no sbopkg.org difference between 12.2 slackbuild and 13.0 slackbuild.

Postconf -A gives nothing. Do I need to give a special compile parameter or edit the postfix.Slackbuild?

Thanks in advance
Hi

I had to edit the postfix.Slackbuild to get the compile-time options I needed, including cyrus-sasl.

Have a look at my reply to my own question here for the compile-time options. Cyrus SASL is needed only if you want Postfix to act as a client to an external SMTP server which requires authentication; use Dovecot for SASL otherwise.

I wanted MySQL and LDAP support in Postfix as well, so I compiled these options in. I used the standard Slackware packages for Cyrus-SASL, TLS (OpenSSL), MySQL and OpenLDAP. I used the latest stable source for Postfix from postfix.org and adjusted the Slackbuild accordingly. I am using Slackware-13-64.
 
Old 03-18-2010, 01:41 AM   #3
rpedrica
Member
 
Registered: Nov 2008
Location: Cape Town
Distribution: Slackware64 -current
Posts: 208

Rep: Reputation: 27
I also had to add in a soft link at /etc/sasl2 -> /usr/lib64/sasl2 otherwise postfix refused to pick up my sasl settings ( specifically smtpd.conf ). Of course make sure /etc/rc.d/rc.saslauthd is executable and running.
 
  


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
Postfix and Cyrus Sasl - LOGIN Problem vickyk Linux - Newbie 1 01-06-2010 03:10 AM
Postfix + Cyrus-SASL seprob Linux - Server 5 11-18-2009 08:12 AM
postfix cyrus sasl md5 problem xiutuo Linux - Server 3 09-14-2009 10:30 AM
Cyrus SASL & Postfix RPM Build ghight Suse/Novell 0 06-03-2005 09:46 AM
postfix+cyrus-sasl+impd installation conf..help Robin01 Linux - Newbie 0 02-29-2004 05:24 PM


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

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