🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.bsd
Article #830

OpenBSD+Postfix+SASL

#830
From: BartekT
Date: Thu, 22 Apr 2004 08:30
40 lines
2748 bytes
Zainstalowałem postfixa i sasl2 z pakietow. Przy wyłączonym sasl jest 
OK, ale po włączeniu próba wysłania mail'a daje:

Apr 22 10:21:50 aau66 postfix/smtpd[28789]: warning: SASL authentication 
failure: Could not open db
Apr 22 10:21:50 aau66 postfix/smtpd[28789]: warning: SASL authentication 
failure: Could not open db
Apr 22 10:21:50 aau66 postfix/smtpd[28789]: warning: SASL authentication 
failure: no secret in database
Apr 22 10:21:50 aau66 postfix/smtpd[28789]: warning: unknown[10.0.1.10]: 
SASL CRAM-MD5 authentication failed
Apr 22 10:21:51 aau66 postfix/smtpd[28789]: warning: SASL authentication 
failure: Could not open db
Apr 22 10:21:51 aau66 postfix/smtpd[28789]: warning: SASL authentication 
failure: Could not open db
Apr 22 10:21:51 aau66 postfix/smtpd[28789]: warning: SASL authentication 
failure: cannot connect to saslauthd server: No such file or directory
Apr 22 10:21:51 aau66 postfix/smtpd[28789]: warning: SASL authentication 
failure: Password verification failed
Apr 22 10:21:51 aau66 postfix/smtpd[28789]: warning: unknown[10.0.1.10]: 
SASL PLAIN authentication failed
Apr 22 10:21:52 aau66 postfix/smtpd[28789]: warning: SASL authentication 
failure: Could not open db
Apr 22 10:21:52 aau66 postfix/smtpd[28789]: warning: SASL authentication 
failure: Could not open db
Apr 22 10:21:52 aau66 postfix/smtpd[28789]: warning: SASL authentication 
failure: cannot connect to saslauthd server: No such file or directory
Apr 22 10:21:52 aau66 postfix/smtpd[28789]: warning: unknown[10.0.1.10]: 
SASL LOGIN authentication failed

działa
  saslauthd -a getpwent
i testsaslauthd dla lokalnego usera działa; w smtpd.conf dla sasl2 jest:
  pwcheck_method: saslauthd
jest /etc/postfix/sasldb2.db a w main.cf:
smtp_sasl_password_maps = hash:/etc/postfix/sasldb2

pliz, help

Bart
Technical Details
Message-ID: <c67vvc$nih$1@nemesis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!t-online.de!news.task.gda.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed00.sul.t-online.de!t-online.de!news.task.gda.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: BartekT <ba...@aau67.internetdsl.tpnet.pl>
Newsgroups: pl.comp.os.bsd
Subject: OpenBSD+Postfix+SASL
Date: Thu, 22 Apr 2004 10:30:13 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 41
Message-ID: <c67vvc$nih$1@nemesis.news.tpi.pl>
NNTP-Posting-Host: aau66.internetdsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1082622765 24145 83.16.20.66 (22 Apr 2004 08:32:45 GMT)
X-Complaints-To: use...@tpi.pl
NNTP-Posting-Date: Thu, 22 Apr 2004 08:32:45 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; PL; rv:1.5) Gecko/20031007
X-Accept-Language: pl, en-us, en
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit