could not open /etc/pam.conf
Não consigo fazer a autenticação funcionar no Debian 3.0r1, no
/var/log/mail.info recebo a mensagem abaixo:
Aug 15 13:43:53 ns postfix/smtpd[508]: > localhost[127.0.0.1]: 535 Error:
authentication failed'
No /var/log/mail.err aparece:
Aug 18 13:09:21 ns postfix/smtpd[6236]: PAM _pam_init_handlers: could not
open /etc/pam.conf
Aug 18 13:09:21 ns postfix/smtpd[6236]: PAM pam_start: failed to initialize
handlers
Alguém pode me ajudar?
# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
default_privs = nobody
default_transport = smtp
disable_vrfy_command = yes
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailbox_command = /usr/bin/procmail
mydestination = $mydomain, localhost.$mydomain
mydomain = aboutlinux.com.br
myhostname = mail.aboutlinux.com.br
mynetworks = 127.0.0.0/8, 192.168.0.0/24
myorigin = $mydomain
program_directory = /usr/sbin
queue_directory = /var/spool/postfix
relayhost = smtp.sao.terra.com.br
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl/sasl_passwd
smtp_sasl_security_options = noanonymous
smtpd_banner = $myhostname ESMTP
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
virtual_maps = hash:/etc/postfix/virtual
# less /etc/postfix/sasl/smtpd.conf
pwcheck_method: pam
Agradeço desde já pela atenção de todos.
Reply to: