LinuxQuestions.org
Help answer threads with 0 replies.
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-11-2012, 07:40 PM   #1
swanny99
LQ Newbie
 
Registered: May 2012
Distribution: CentOS
Posts: 26

Rep: Reputation: Disabled
postfix sasl . no mechanism available


Trying to alter postfix so that I can relay email to smtp.com

Error in /var/log/mailllog :-
... SASL authentication failed; cannot authenticate to server ... no mechanism available

/etc/postfix/sasl_passwd
have done:-
postmap sasl_passwd

in main.cf tried both:-
smtp_sasl_security_options = noanonymous and:-
smtp_sasl_security_options =

Postfix was installed as part of the server package. I didn't install it or any of its parts.

Setup guide from smtp.com asked to add password/username to sasl_passwd, but there was no sasl_passwd file on the server. I created it in /etc/postfix

Nothing seems to make any difference. Still the same error. Any suggestions welcome.

Last edited by swanny99; 05-12-2012 at 10:03 AM. Reason: clarity
 
Old 05-12-2012, 11:01 AM   #2
swanny99
LQ Newbie
 
Registered: May 2012
Distribution: CentOS
Posts: 26

Original Poster
Rep: Reputation: Disabled
new error

after hours of trial with the same error, I am delighted to see a new error in /var/log/maillog:-

"unknown mail transport error"

The only thing I changed was [] round the relayhost:-
relayhost=[path.smtp.com:2525]
exactly the same in the sasl_passwd file.

Not sure if this is progress or not.

Any suggestions welcome.

Edit:-
After further reading, think relayhost should be [path.smtp.com]:2525 and password file does not require port.

Anyway, nothing works. Still same errors.

Last edited by swanny99; 05-12-2012 at 01:35 PM. Reason: correction
 
Old 05-12-2012, 06:48 PM   #3
kyrunner
LQ Newbie
 
Registered: Apr 2012
Location: New York
Distribution: Centos,Debian
Posts: 29

Rep: Reputation: 1
Here you go this is for Centos

yum install cyrus-sasl-plain
 
Old 03-10-2015, 08:57 AM   #4
votsalo
LQ Newbie
 
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
Ubuntu

For ubuntu (12.04 and probably 14.04) x64:

apt-get install libsasl2-modules
 
  


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 sasl jwenzel09 Red Hat 2 03-14-2011 01:12 PM
Postfix SASL halvorls Linux - Server 2 12-07-2008 11:52 AM
Postfix/SASL/MySQL "SASL LOGIN authentication failed" Temujin_12 Linux - Server 8 10-04-2008 10:37 PM
ldap SASL GSSAPI , unknown authorization mechanism mesh2005 Linux - Networking 0 11-20-2005 08:16 AM
Differences between SASL PLAIN and LOGIN mechanism? Chowroc Linux - Networking 1 02-04-2005 11:46 PM

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

All times are GMT -5. The time now is 05:56 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration