🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

5 total messages Started by BartekT Thu, 22 Apr 2004 08:30
OpenBSD+Postfix+SASL
#830
Author: 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
Re: OpenBSD+Postfix+SASL
#831
Author: Robert Rędziak prawdziwego adres...
Date: Thu, 22 Apr 2004 09:08
13 lines
1445 bytes
On Thu, 22 Apr 2004 10:30:13 +0200, BartekT
<ba...@aau67.internetdsl.tpnet.pl> wrote:

> pliz, help

 smtpd w chroot czy nie?

 r.
-- 
_________________________________________________________________
robert rędziak             jid:rekin-at-jabber-dot-plukwa-dot-net
KlubSubaru.PL  *  mailto:spambox-at-supersonic-dot-plukwa-dot-net
gazowanie? szpulowanie? aaa... pozerstwo.                 (jc@tg)
Re: OpenBSD+Postfix+SASL
#832
Author: BartekT
Date: Thu, 22 Apr 2004 09:24
34 lines
2674 bytes
Użytkownik Robert Rędziak (prawdziwego adresu szukaj w sygnaturce) napisał:

> On Thu, 22 Apr 2004 10:30:13 +0200, BartekT
> <ba...@aau67.internetdsl.tpnet.pl> wrote:
> 
> 
>>pliz, help
> 
> 
>  smtpd w chroot czy nie?
> 
>  r.
master.cf:
#=========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
#=========================================================================
smtp      inet  n       -       -       -       -       smtpd
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      fifo  n       -       -       300     1       qmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       -       -       -       smtp
relay     unix  -       -       -       -       -       smtp
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       -       -       -       lmtp
Re: OpenBSD+Postfix+SASL
#833
Author: Robert Rędziak prawdziwego adres...
Date: Thu, 22 Apr 2004 11:07
19 lines
1855 bytes
On Thu, 22 Apr 2004 11:24:28 +0200, BartekT
<ba...@aau67.internetdsl.tpnet.pl> wrote:

>>  smtpd w chroot czy nie?
> # service type  private unpriv  chroot  wakeup  maxproc command + args
> #               (yes)   (yes)   (yes)   (never) (100)
> smtp      inet  n       -       -       -       -       smtpd

 Znaczy że:

 a) szuka bazy danych do uwierzytelnienia w chroocie.
 b) liby sasla też by się pewnie przydały (czy już są?).

 r.
-- 
_________________________________________________________________
robert rędziak             jid:rekin-at-jabber-dot-plukwa-dot-net
KlubSubaru.PL  *  mailto:spambox-at-supersonic-dot-plukwa-dot-net
gazowanie? szpulowanie? aaa... pozerstwo.                 (jc@tg)
Re: OpenBSD+Postfix+SASL
#834
Author: BartekT
Date: Thu, 22 Apr 2004 11:13
23 lines
1801 bytes
Użytkownik Robert Rędziak (prawdziwego adresu szukaj w sygnaturce) napisał:

> On Thu, 22 Apr 2004 11:24:28 +0200, BartekT
> <ba...@aau67.internetdsl.tpnet.pl> wrote:
> 
> 
>>> smtpd w chroot czy nie?
>>
>># service type  private unpriv  chroot  wakeup  maxproc command + args
>>#               (yes)   (yes)   (yes)   (never) (100)
>>smtp      inet  n       -       -       -       -       smtpd
> 
> 
>  Znaczy że:
> 
>  a) szuka bazy danych do uwierzytelnienia w chroocie.
>  b) liby sasla też by się pewnie przydały (czy już są?).
> 
>  r.
juz ruszylo, przerzucilem jeszcze mux'a z /var/sasl2 to 
/var/spool/postfix/var/sasl2

dzieki za podpowiedzi
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads