LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-30-2009, 02:04 PM   #1
rs232
Member
 
Registered: Oct 2005
Posts: 51

Rep: Reputation: 0
assp + postfix + dovecot + SMTP authentication = troubles


Hi all,
First of all I have a system running smoothly and very satisfied with it.
Now, I'm trying to enable SMTP authentication to be able to send emails when I'm not home using username and password to authenticate against the mail server.

I'm running fedora 12 i386 on a esxi VM with 2x cpu 3x Gb RAM
ASSP Version: 1.6.1.3(1.0.03)
Postfix Version: postfix-2.6.5-2.fc12.i686
Dovecot Version: dovecot-1.2.8-2.fc12.i686

ASSP has been there up and running for a while so I don't think this is the problem.

I've modified the postfix and dovecot config as per this page:
http://wiki.dovecot.org/HowTo/PostfixAndDovecotSASL

Code:
#postconf -n
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot

I'm able to reload both postfix and dovecot after the changes with no error.

However...

When I set:
use name and password
&
use secure authentication (as I want to use cram-md5) on Thunderbird, and I try to send an email I get this error

Code:
Sending of message failed.
The message could not be sent because the connection to SMTP server 10.10.10.10 was lost in the middle of the transaction. Try again or contact your network administrator.

where in the maillog on the server side:

Code:
Dec 30 18:53:53 vmcisono postfix/smtpd[15542]: connect from localhost.localdomain[127.0.0.1]
Dec 30 18:53:53 vmcisono postfix/smtpd[15542]: warning: SASL: Connect to private/auth failed: Permission denied
Dec 30 18:53:53 vmcisono postfix/smtpd[15542]: fatal: no SASL authentication mechanisms
Dec 30 18:53:54 vmcisono postfix/master[14333]: warning: process /usr/libexec/postfix/smtpd pid 15542 exit status 1
Dec 30 18:53:54 vmcisono postfix/master[14333]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
I've been looking in internet for a solution but no luck.
Any idea on how I can sort this out?

Cheers
rs232

Last edited by rs232; 12-30-2009 at 02:23 PM.
 
Old 12-31-2009, 03:32 AM   #2
junust
Member
 
Registered: Jul 2008
Location: Israel Ramat Gan
Distribution: CentOs 5.3, SuSe 11.1, Solaris 9, Slackware 13
Posts: 81

Rep: Reputation: 15
Hello rs232

I had some problem with SASL auth before
I am not sure this is your case..
Try this code in your main.cf
broken_sasl_auth_clients = yes

#broken_sasl_auth_clients (default: no)
#
# Enable inter-operability with SMTP clients that implement an obsolete version of the AUTH command (RFC 4954). Examples of #such clients are MicroSoft Outlook Express version 4 and MicroSoft Exchange version 5.0.
#
# Specify "broken_sasl_auth_clients = yes" to have Postfix advertise AUTH support in a non-standard way.

Last edited by junust; 12-31-2009 at 01:08 PM.
 
  


Reply



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, Dovecot, SASL - problem with authentication in Thunderbird / Outlook dlugasx Linux - Server 2 11-19-2009 02:31 AM
Postfix/Dovecot not querying virtual aliases with smtp-auth coolster Linux - Software 0 05-26-2009 08:38 AM
postfix/dovecot - sasl authentication works no more ddaas Linux - Server 6 05-15-2009 04:45 AM
Guide for postfix/dovecot/mysql authentication gnetcon Linux - Software 2 10-30-2006 08:11 AM
Postfix, Dovecot, SquirrelMail Troubles?! simonsez711 Linux - Software 14 07-22-2005 02:32 PM

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

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