LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-20-2018, 10:04 AM   #1
triviawiz425
LQ Newbie
 
Registered: Nov 2004
Distribution: Debian Etch x86 and PPC
Posts: 17

Rep: Reputation: 0
Can't get client authentication working with postfix


Hello!

I'm trying to set up a postfix server - it will be used to send alerts out from an access control system for certain event triggers. The server doesn't need to be able to receive mail, so there's no IMAP or POP3 server installed. I'm trying to follow this guide to allow client authentication with Postfix:

http://postfix.state-of-mind.de/patr...ilclients.html

but I can't actually get it to work. When I try to telnet to the server over port 25 and give it my credentials via the AUTH PLAIN command, I get 535 5.7.8 Error: authentication failed: authentication failure

Here's my main.cf: https://pastebin.com/f7NjWeF1

Can anyone help? Thanks in advance!
 
Old 12-20-2018, 01:29 PM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,755

Rep: Reputation: 565Reputation: 565Reputation: 565Reputation: 565Reputation: 565Reputation: 565
That howto says nothing about setting up the Cyrus-SASL it is pointing postfix at.

You are usually better off using Postfix docs.
http://www.postfix.org/SASL_README.html
 
Old 12-20-2018, 02:46 PM   #3
triviawiz425
LQ Newbie
 
Registered: Nov 2004
Distribution: Debian Etch x86 and PPC
Posts: 17

Original Poster
Rep: Reputation: 0
OK, I've gone through that guide and I'm still getting the error message about authentication that I originally reported. I did notice, however, that I'm not getting a
Code:
250-AUTH DIGEST-MD5 PLAIN CRAM-MD5
reply, but rather a
Code:
250-AUTH DIGEST-MD5 NTLM CRAM-MD5 LOGIN PLAIN
. Could I have still missed something?
 
Old 12-21-2018, 02:27 AM   #4
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,755

Rep: Reputation: 565Reputation: 565Reputation: 565Reputation: 565Reputation: 565Reputation: 565
setting up the Cyrus-SASL?
(or whatever auth mechanism you chose)
 
Old 12-21-2018, 09:11 AM   #5
triviawiz425
LQ Newbie
 
Registered: Nov 2004
Distribution: Debian Etch x86 and PPC
Posts: 17

Original Poster
Rep: Reputation: 0
Yeah, I'm using Cyrus SASL auth'ed against /etc/shadow.
 
Old 12-21-2018, 01:49 PM   #6
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,755

Rep: Reputation: 565Reputation: 565Reputation: 565Reputation: 565Reputation: 565Reputation: 565
If you can't provide any better info than that, go back and read that postfix link a couple more times.
 
  


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
Authentication postfix-dovecot not working noob__ Linux - Server 0 11-14-2016 03:45 PM
Can't login as root - Debian 8.5 - authentication failed. remaining authentication methods 'publickey password' LnxRider Debian 11 07-30-2016 11:06 PM
Postfix 2.6.6 postfix/cleanup and postfix/master errors Pummelmuffin Linux - Server 1 06-04-2013 05:28 AM
Can't get LDAP authentication working on Fedora 13 Xudonax Fedora 11 11-06-2010 02:08 AM
Postfix: postfix: fatal: chdir(/usr/libexec/postfix) Micro420 Ubuntu 2 07-13-2008 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:34 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