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

debian+postfix+smtp auth = blad:((



Witam
Skonfigurowalem postfixa w debian sarge aby zadzialalo smtp auth dzialalo ale nie dokonca:(( odpalony jest saslauthd ale dalej cos niedziala:(
gdy robie lokalnie telnet localhost 25
220 postfix We block/report all spam.
ehlo localhost
250-localhost
250-PIPELINING
250-SIZE 5000000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-XVERP
250 8BITMIME
widac pojawia sie auth login

pliki konfiguracyjne
main:cfalias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
biff = no
body_checks = regexp:/etc/postfix/body_checks
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
command_time_limit = 12000
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
default_destination_concurrency_limit = 10
default_process_limit = 3
header_checks = regexp:/etc/postfix/header_checks
inet_interfaces = all
local_destination_concurrency_limit = 2
mail_owner = postfix
mail_spool_directory = /var/spool/mail
message_size_limit = 5000000
mydestination = mojadomena.pl, grand.moja.domena.pl, localhost.mojadomena.pl
mydomain = mojadomena.pl
myhostname = mojadomena.pl
mynetworks = 127.0.0.0/8,192.168.0.7/32
program_directory = /usr/lib/postfix
queue_directory = /var/spool/postfix
smtpd_banner = $nazwa
smtpd_error_sleep_time = 5
smtpd_hard_error_limit = 10
smtpd_helo_required = yes
smtpd_recipient_limit = 100
smtpd_recipient_restrictions = permit_sasl_authenticated , reject, check_relay_domains
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_soft_error_limit = 60

w master.cf mam wpis:
smtp      inet  n       -       n       -       -       smtpd -v
czyli nie pracuje on w chrocie..
w /etc/postfix/sasl/smtpd.conf mam :
pwcheck_method: saslauthd
auto_transition: false
mech_list: PLAIN LOGIN

w /etc/default/saslauthd jest wpis
MECHANISMS="pam"

w /etc/pam.d/smtp mam:

auth     required       pam_unix.so
account  required       pam_unix.so
password required       pam_unix.so
session  required       pam_unix.so


i teraz gdy zdalnie proboje wyslac poczte dostaje w logach cos takiego:

Oct 11 16:07:27 grand postfix/smtpd[3496]: smtpd_sasl_authenticate: decoded initial response Oct 11 16:07:27 grand postfix/smtpd[3496]: warning: SASL authentication problem: unknown password verifier Oct 11 16:07:27 grand postfix/smtpd[3496]: warning: SASL authentication failure: Password verification failed Oct 11 16:07:27 grand postfix/smtpd[3496]: warning: SASL PLAIN authentication failed

natomiast przy pop3 dostaje taki blad:((

Oct 12 12:25:26 grand ipop3d[7121]: connect from 212.244.127.44
Oct 12 12:25:31 grand ipop3d[7121]: pop3 service init from 212.244.127.44
Oct 12 12:25:33 grand ipop3d[7121]: Command stream end of file while reading line user=??? host=[212.244.127.44]


konfiguracja taka sama jak na innym serwerku debian sarge i tam dziala a tutaj nie:(
i juz brak mi pomyslow co moze byc nie tak
Ma ktos jakis pomysl gdzie tkwi blad?
przepraszam za tak dlugi post





Reply to: