[Postfix-es] postfix + sasl2

Patricio Ongaro patricioongaro en gmail.com
Lun Ago 22 21:14:01 CEST 2005


Hola, como ya hace varios dias que estoy intentanto dejar 
a pleno el postfix y no lo logro decidi utilizarlos, ;-).

Tengo un Debian sarge he instale los siguientes paquetes

postfix
postfix-tls
libsasl2
libsasl2-modules
sasl2-bin

para dar soporte de autenticacion mediante /etc/sasldb2.

Paso a contarles como tengo mi configuracion, intentare ser lo mas breve
y poner lo mas importante.

#postconf -n tengo:
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
mailbox_size_limit = 0
mydestination = myserver.com.ar, router, localhost.localdomain, localhost
mydomain = myserver.com.ar
myhostname = mail.myserver.com.ar
mynetworks = 127.0.0.0/8
myorigin = myserver.com.ar
recipient_delimiter = +
relayhost =
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_sasl_authenticated 
reject_unauth_destination permit_mynetworks
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $mydomain
smtpd_sasl_security_options = noanonymous


#cat /etc/postfix/sasl/smtpd.conf 
pwcheck_method : auxprop
mech_list : plain login

para todo esto saque al postfix del entorno chroot e hice correr 
el demonio saslauthd con los siguientes parametros:

/usr/sbin/saslauthd -a sasldb -r -m /var/run/aslauthd/

y no quiere andar, entonce me fijo en el log (mail.info) y tengo esto:

postfix/smtpd[2855]: fatal: SASL per-process initialization failed
postfix/master[2656]: warning: process /usr/lib/postfix/smtpd pid 2862 exit 
status 1
postfix/master[2656]: warning: /usr/lib/postfix/smtpd: bad command startup -- 
throttling

tambien hice un strace del smtpd y encontre esto

logger: stat64("DB_CONFIG", 0xbffff810) = -1 ENOENT (No such file or 
directory)
logger: open("DB_CONFIG", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or 
directory)

y cuando intento hacer 

#telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.

Se me planta ahi.....


Si me puede ayudar, porque tengo que estudiar para la facu.


Patricio


Más información sobre la lista de distribución Postfix-es