Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-25-2012
Registered User
 
Join Date: May 2012
Location: Mexico
Posts: 7
Thanks: 8
Thanked 3 Times in 2 Posts
Bug Configure Cyrus SASL NTLM Plugin with Postfix

Hello

I hope somebody can help with this.

I have a shell, that in case of failure, sends an email (relaying through an Exchange Server). This Exchange server only offers NTLM authentication.


Code:
250-AUTH NTLM

This is the configuration I have:

Postfix 2.1.1 as client.

Cyrus-SASL installed (without NTLM plugin):


Code:
linux:/usr/local/sbin # rpm -q cyrus-sasl
cyrus-sasl-2.1.18-33.1

In main.cf

relayhost=172.168.240.129
smtp_sasl_security_options=
smtp_sasl_auth_enable=yes
smtp_sasl_password_maps=hash:/etc/postfix/sasl_passwd

cat /etc/postfix/sasl_passwd

172.168.240.129 myuser:mypass


As this version of cyrus-sasl 2.1.18 did not have the cyrus-sasl-ntlm plugin, I had to download the cyrus-sasl-2.1.25 and compile with --enable-ntlm option.

So I got installed ntlm plugin in /usr/local/lib/sasl2/


Code:
rwxr-xr-x  1 root root  89921 Jun 24 22:55 libntlm.so.2.0.25
lrwxrwxrwx  1 root root     17 Jun 24 22:55 libntlm.so.2 -> libntlm.so.2.0.25
lrwxrwxrwx  1 root root     17 Jun 24 22:55 libntlm.so -> libntlm.so.2.0.25

But in test this error shows in maillog

warning: SASL authentication failure: No worthy mechs found
send attr reason = delivery via 172.168.240.129[172.168.240.129]: Authentication failed: cannot SASL authenticate to server 172.168.240.129[172.168.240.129]: no mechanism available


Any ideas, suggestions to this would be very appreciated. (I've been dealing with this issue many days)


Thanks in advance !!

Victor
Sponsored Links
    #2  
Old 06-25-2012
Neo's Avatar
Neo Neo is offline Forum Staff  
Administrator
 
Join Date: Sep 2000
Location: Asia pacific region
Posts: 11,520
Thanks: 310
Thanked 619 Times in 256 Posts
Moderator's Comments:
Duplicate Thread Closed - Continue Here - Do not post duplicate threads for any reason. Thank you.
Sponsored Links
Closed Thread

Tags
cyrus, ntlm, postfix, relay, sasl

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Configure Postfix to relay to Exchange Server with NTLM authentication viktor1985 Linux 1 06-26-2012 07:20 PM
Configure Cyrus SASL NTLM Plugin with Postfix viktor1985 Shell Programming and Scripting 1 06-26-2012 07:18 PM
Configure Recipient Restrictions in Postfix wbdevilliers UNIX for Dummies Questions & Answers 0 03-09-2010 10:35 AM



All times are GMT -4. The time now is 09:14 AM.