[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: postfix-tls i autentykacja smtp przez pam



Witam,

Ja mam taki zagwozdz:

postfix-tls + sasl na pamach (poza chrootem).

postfix przyjmuje maile po autoryzacji bez problemow: 

Mar  7 00:51:06 host postfix/smtpd[25151]: 5672111744E: client=komp6.x.pl[x], sasl_method=LOGIN, sasl_username=ciacho
Mar  7 00:51:06 host postfix/cleanup[25153]: 5672111744E: message-id=<001101c 2e43b$6fbc25c0$8984793e@x.pl>
Mar  7 00:51:06 host postfix/qmgr[25150]: 5672111744E: from=<x@x>, size=1374, nrcpt=1 (queue active)
Mar  7 00:51:06 host postfix/smtpd[25151]: disconnect from x.pl[x]

Ale... te maile nie sa relayowane tylko kolejkowane ;<
do tego w logach:
Mar  7 00:52:07 host postfix/smtp[25160]: fatal: specify a password table via the `smtp_sasl_password_maps' configuration parameter
Mar  7 00:52:08 host postfix/master[25147]: warning: process /usr/lib/postfix /smtp pid 25160 exit status 1
Mar  7 00:52:08 host postfix/master[25147]: warning: /usr/lib/postfix/smtp: bad command startup -- throttling

Co prawda w auth.log:
Mar  7 01:02:17 host postfix/smtpd[25526]: unable to open Berkeley db /etc/sasldb: No such file or directory



Wedlug dokumentacji to smtp_sasl_password_maps moge dac, ale np.
hash:/etc/postfix/saslauth, gdzie hasha nie zrobie z shadow.

siedze nad tym juz enta godzine i za chiny nic nie moge wymyslic.

konfiguracja:
smtp_sasl_auth_enable = yes
smtpd_sasl_auth_enable = no
broken_sasl_auth_clients = yes
smtpd_sasl_local_domain = $myhostname
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_security_options = noanonymous
smtpd_tls_auth_only = no
#smtp_sasl_password_maps = plain:/etc/shadow



-- 
Pozdrawiam,
TTC

  .-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
.:: Tomasz T. Ciaszczyk [ ciacho<at>ciacho.pl ] >> http://ciacho.pl <<
.::
.:: "Nie ma znaczenia, czy w to wierzysz, czy też nie.
.:: Niech wszystkie dobre rzeczy tych, co dają posłuch"
.:: -- Jonathan Carroll
  `-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Attachment: pgpZUhk7ULnUo.pgp
Description: PGP signature


Reply to: