Bienvenido(a) a Alcance Libre 11/09/2025, 05:21

Alcance Libre Foros

 Índice del foro > Todo acerca de Linux > Redes y Servidores New Topic Post Reply
 Problemas con Postfix-Cyrus
Tópico anterior Tópico siguiente
   
Oscar Cáceres
 22/08/10 03:30 (Leído 2,681 veces)  

Participa mucho

Estado: desconectado
Forum User

Identificado: 13/01/10
Mensajes: 62
Localización:Ciudad del Este - Paraguay
Hola a todos.

Una vez mas recurro a ustedes, en esta ocasion me encuentro intentando configurar Postfix Cyrus IMAP y SASL en Debian Lenny

Instalo y configuro mis primeros usuarios en cyrus-sasl

sasldblistusers2

caos@mihost: userPassword
cyrus@mihost: userPassword
ocaceres@mihost: userPassword

Instalo y configuro cyrus-imap

imtest -a caos -w 123456789 -m login localhost
S: * OK mihost.midominio.com Cyrus IMAP4 v2.2.13-Debian-2.2.13-14+lenny3 server ready
C: C01 CAPABILITY
S: * CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID NO_ATOMIC_RENAME UNSELECT CHILDREN MULTIAPPEND BINARY SORT THREAD=ORDEREDSUBJECT THREAD=REFERENCES ANNOTATEMORE IDLE
S: C01 OK Completed
C: L01 LOGIN caos {8}
S: + go ahead
C: <omitted>
S: L01 OK User logged in
Authenticated.
Security strength factor: 0

Instalo y configuro Postfix

getnet1:~# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 mihost ESMTP Postfix (Debian/GNU)
HELO localhost
250 mihost
MAIL FROM: <caos@localhost>
250 2.1.0 Ok
RCPT TO: <caos@localhost>
250 2.1.5 Ok
DATA
354 End data with <CR><LF>.<CR><LF>
mensaje de prueba.
.
250 2.0.0 Ok: queued as 6B30973A0FE
quit
221 2.0.0 Bye
Connection closed by foreign host.

a continuacion activo sasl en postfix y pruebo

mihost:~# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 mihost ESMTP Postfix (Debian/GNU)
EHLO localhost
250-mihost
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
AUTH PLAIN Y2FvcwBjYW9zCjA0MTk4Mg==
535 5.7.8 Error: authentication failed: bad protocol / cancel

HE AQUI MI INCONVENIENTE 535 5.7.8 Error: authentication failed: bad protocol / cancel A QUE SE DEBERA.

tail -f /var/log/mail.log

Aug 22 16:24:49 mihost postfix/smtpd[29281]: connection established
Aug 22 16:24:49 mihost postfix/smtpd[29281]: master_notify: status 0
Aug 22 16:24:49 mihost postfix/smtpd[29281]: name_mask: resource
Aug 22 16:24:49 mihost postfix/smtpd[29281]: name_mask: software
Aug 22 16:24:49 mihost postfix/smtpd[29281]: xsasl_cyrus_server_create: SASL service=smtp, realm=midominio.com
Aug 22 16:24:49 mihost postfix/smtpd[29281]: name_mask: noanonymous
Aug 22 16:24:49 mihost postfix/smtpd[29281]: connect from localhost.localdomain[127.0.0.1]
Aug 22 16:24:49 mihost postfix/smtpd[29281]: match_list_match: localhost.localdomain: no match
Aug 22 16:24:49 mihost postfix/smtpd[29281]: match_list_match: 127.0.0.1: no match
Aug 22 16:24:49 mihost postfix/smtpd[29281]: match_list_match: localhost.localdomain: no match
Aug 22 16:24:49 mihost postfix/smtpd[29281]: match_list_match: 127.0.0.1: no match
Aug 22 16:24:49 mihost postfix/smtpd[29281]: match_hostname: localhost.localdomain ~? 127.0.0.0/8
Aug 22 16:24:49 mihost postfix/smtpd[29281]: match_hostaddr: 127.0.0.1 ~? 127.0.0.0/8
Aug 22 16:24:49 mihost postfix/smtpd[29281]: > localhost.localdomain[127.0.0.1]: 220 getnet1 ESMTP Postfix (Debian/GNU)
Aug 22 16:24:55 mihost postfix/smtpd[29281]: < localhost.localdomain[127.0.0.1]: EHLO localhost
Aug 22 16:24:55 mihost postfix/smtpd[29281]: > localhost.localdomain[127.0.0.1]: 250-getnet1
Aug 22 16:24:55 mihost postfix/smtpd[29281]: > localhost.localdomain[127.0.0.1]: 250-PIPELINING
Aug 22 16:24:55 mihost postfix/smtpd[29281]: > localhost.localdomain[127.0.0.1]: 250-SIZE 10240000
Aug 22 16:24:55 mihost postfix/smtpd[29281]: > localhost.localdomain[127.0.0.1]: 250-VRFY
Aug 22 16:24:55 mihost postfix/smtpd[29281]: > localhost.localdomain[127.0.0.1]: 250-ETRN
Aug 22 16:24:55 mihost postfix/smtpd[29281]: > localhost.localdomain[127.0.0.1]: 250-STARTTLS
Aug 22 16:24:55 mihost postfix/smtpd[29281]: match_list_match: localhost.localdomain: no match
Aug 22 16:24:55 mihost postfix/smtpd[29281]: match_list_match: 127.0.0.1: no match
Aug 22 16:24:55 mihost postfix/smtpd[29281]: > localhost.localdomain[127.0.0.1]: 250-AUTH PLAIN LOGIN
Aug 22 16:24:55 mihost postfix/smtpd[29281]: > localhost.localdomain[127.0.0.1]: 250-ENHANCEDSTATUSCODES
Aug 22 16:24:55 mihost postfix/smtpd[29281]: > localhost.localdomain[127.0.0.1]: 250-8BITMIME
Aug 22 16:24:55 mihost postfix/smtpd[29281]: > localhost.localdomain[127.0.0.1]: 250 DSN
Aug 22 16:25:01 mihost postfix/smtpd[29281]: < localhost.localdomain[127.0.0.1]: AUTH PLAIN Y2FvcwBjYW9zCjA0MTk4Mg==
Aug 22 16:25:01 mihost postfix/smtpd[29281]: xsasl_cyrus_server_first: sasl_method PLAIN, init_response Y2FvcwBjYW9zCjA0MTk4Mg==
Aug 22 16:25:01 mihost postfix/smtpd[29281]: xsasl_cyrus_server_first: decoded initial response caos
Aug 22 16:25:01 mihost postfix/smtpd[29281]: warning: SASL authentication failure: Can only find author/en (no password)
Aug 22 16:25:01 mihost postfix/smtpd[29281]: warning: localhost.localdomain[127.0.0.1]: SASL PLAIN authentication failed: bad protocol / cancel
Aug 22 16:25:01 mihost postfix/smtpd[29281]: > localhost.localdomain[127.0.0.1]: 535 5.7.8 Error: authentication failed: bad protocol / cancel
Aug 22 16:25:03 mihost postfix/smtpd[29281]: < localhost.localdomain[127.0.0.1]: quit
Aug 22 16:25:03 mihost postfix/smtpd[29281]: > localhost.localdomain[127.0.0.1]: 221 2.0.0 Bye
Aug 22 16:25:03 mihost postfix/smtpd[29281]: match_hostname: localhost.localdomain ~? 127.0.0.0/8
Aug 22 16:25:03 mihost postfix/smtpd[29281]: match_hostaddr: 127.0.0.1 ~? 127.0.0.0/8
Aug 22 16:25:03 mihost postfix/smtpd[29281]: disconnect from localhost.localdomain[127.0.0.1]
Aug 22 16:25:03 mihost postfix/smtpd[29281]: master_notify: status 1
Aug 22 16:25:03 mihost postfix/smtpd[29281]: connection closed

Les agradeceria una orientacion. hasta luego señores

Oscar Cáceres
 
Profile Email
 Quote
Contenido generado en: 0.06 segundos New Topic Post Reply
 Todas las horas son CST. Hora actual 05:21 .
Tópico normal Tópico normal
Tópico Pegado Tópico Pegado
Tópico bloqueado Tópico bloqueado
Mensaje Nuevo Mensaje Nuevo
Tópico pegado con nuevo mensaje Tópico pegado con nuevo mensaje
Tópico bloqueado con nuevo mensaje Tópico bloqueado con nuevo mensaje
Ver mensajes anónimos 
Los usuarios anónimos pueden enviar 
Se permite HTML Filtrado 
Contenido censurado