Re: [opensuse-es] Problemas con postfix y mysql
2009/1/19, Roberto José Blandino Cisneros: (recuerda enviar a la lista porque sino nadie podrá leer tus mensajes, excepto yo)
Bueno ya logre hechar andar casi todo, ahora segun la doc debe de haber un mysqld.sock como dije era mi problema, mas sin embargo ahora me esta dando un error cuando intento borrar mensajes desde outlook.
Recordemos quen en lugar de unix:mysql.sock coloque 127.0.0.1, bueno eso lo cambie a xxx.xxx.xxx.xxx que es mi ip y resolvi parte del problema pero ahora estoy con el siguiente problema:
-------------------------------------------------------------- Jan 19 02:51:37 myhost postfix/smtpd[749]: dict_proxy_lookup: table=unix:passwd.byname flags=lock|fold_fix key=ursu@myhost.mydomain -> status=1 result= Jan 19 02:51:37 myhost postfix/smtpd[749]: maps_find: local_recipient_maps: ursu@myhost.mydomain: not found Jan 19 02:51:37 myhost postfix/smtpd[749]: send attr request = lookup Jan 19 02:51:37 myhost postfix/smtpd[749]: send attr table = unix:passwd.byname Jan 19 02:51:37 myhost postfix/smtpd[749]: send attr flags = 16448 Jan 19 02:51:37 myhost postfix/smtpd[749]: send attr key = ursu Jan 19 02:51:37 myhost postfix/smtpd[749]: private/proxymap socket: wanted attribute: status Jan 19 02:51:37 myhost postfix/smtpd[749]: input attribute name: status Jan 19 02:51:37 myhost postfix/smtpd[749]: input attribute value: 1 Jan 19 02:51:37 myhost postfix/smtpd[749]: private/proxymap socket: wanted attribute: value Jan 19 02:51:37 myhost postfix/smtpd[749]: input attribute name: value Jan 19 02:51:37 myhost postfix/smtpd[749]: input attribute value: (end) Jan 19 02:51:37 myhost postfix/smtpd[749]: private/proxymap socket: wanted attribute: (list terminator) Jan 19 02:51:37 myhost postfix/smtpd[749]: input attribute name: (end) Jan 19 02:51:37 myhost postfix/smtpd[749]: dict_proxy_lookup: table=unix:passwd.byname flags=lock|fold_fix key=ursu -> status=1 result= Jan 19 02:51:37 myhost postfix/smtpd[749]: maps_find: local_recipient_maps: ursu: not found Jan 19 02:51:37 myhost postfix/smtpd[749]: send attr request = lookup Jan 19 02:51:37 myhost postfix/smtpd[749]: send attr table = unix:passwd.byname Jan 19 02:51:37 myhost postfix/smtpd[749]: send attr flags = 16448 Jan 19 02:51:37 myhost postfix/smtpd[749]: send attr key = @myhost.mydomain Jan 19 02:51:37 myhost postfix/smtpd[749]: private/proxymap socket: wanted attribute: status Jan 19 02:51:37 myhost postfix/smtpd[749]: input attribute name: status Jan 19 02:51:37 myhost postfix/smtpd[749]: input attribute value: 1 Jan 19 02:51:37 myhost postfix/smtpd[749]: private/proxymap socket: wanted attribute: value Jan 19 02:51:37 myhost postfix/smtpd[749]: input attribute name: value Jan 19 02:51:37 myhost postfix/smtpd[749]: input attribute value: (end) Jan 19 02:51:37 myhost postfix/smtpd[749]: private/proxymap socket: wanted attribute: (list terminator) Jan 19 02:51:37 myhost postfix/smtpd[749]: input attribute name: (end) Jan 19 02:51:37 myhost postfix/smtpd[749]: dict_proxy_lookup: table=unix:passwd.byname flags=lock|fold_fix key=@myhost.mydomain -> status=1 result=
Jan 19 02:51:37 myhost postfix/smtpd[749]: maps_find: local_recipient_maps: @myhost.mydomain: not found Jan 19 02:51:37 myhost postfix/smtpd[749]: mail_addr_find: ursu@myhost.mydomain -> (not found) Jan 19 02:51:37 myhost postfix/smtpd[749]: NOQUEUE: reject: RCPT from unknown[ip.del.cliente.x]: 550 5.1.1
: Recipient address rejected: User unknown in local recipient table; from= to= proto=ESMTP helo=<robertoc7w17we> Jan 19 02:51:37 myhost postfix/smtpd[749]: > unknown[ip.del.cliente.x]: 550 5.1.1 : Recipient address rejected: User unknown in local recipient table
Aquí tienes el problema. No reconoce al usuario al que va dirigido el correo "ursu[@]..." y según la faq de postfix podría tener relación con la ejecución de postfix en modo enjaulado (chroot). Revisa la documentación: Postfix rejects mail with "User unknown in local recipient table" http://www.postfix.org/faq.html#bogus
Jan 19 02:51:37 myhost postfix/smtpd[749]: < unknown[ip.del.cliente.x]: QUIT Jan 19 02:51:37 myhost postfix/smtpd[749]: > unknown[ip.del.cliente.x]: 221 2.0.0 Bye Jan 19 02:51:37 myhost postfix/smtpd[749]: match_hostname: unknown ~? mi.red.0.0/16 Jan 19 02:51:37 myhost postfix/smtpd[749]: match_hostaddr: ip.del.cliente.x ~? mi.red.0.0/16 Jan 19 02:51:37 myhost postfix/smtpd[749]: disconnect from unknown[ip.del.cliente.x] Jan 19 02:51:37 myhost postfix/smtpd[749]: master_notify: status 1 Jan 19 02:51:37 myhost postfix/smtpd[749]: connection closed Jan 19 02:51:42 myhost postfix/smtpd[749]: proxymap stream disconnect --------------------------------------------------------------
En el cliente me dice:
El mensaje no se pudo bla bla bla .... Respuesta del servidor: 550 5.1.1 ursu@myhost.mydomain Recipient address reject: user unknown in local recipient table puerto 25 no de error del servidor 550 no de error 0x800CCC79
Aunque el error de Postfix que aparece en el registro es claro, no estaría de más que hicieras las pruebas de envío y recepción desde cualquier otro cliente de correo (thunderbird, kmail...) o incluso directamente por medio de una sesión telnet al puerto 25.
Como ya dije ya me esta funcionando es decir puedo leer mensajes pero no puedo borrar mensajes recibidos y tampoco me deja enviar.
Explica eso de que "no puedes borrar mensajes recibidos". ¿Qué servidor pop3 / imap usas? ¿Son cuentas de tipo pop3 o imap? Revisa también en Postfix (main.cf) las restricciones que tienes en "smtpd_recipient_restrictions"
ya probe con cambiar los cnf xxx.xxx.xxx.xxx por unix:mysql.sock pero recibo otro error diciendome que no puedo conectarme al mysql server:
-------------------------------------------------------------- Jan 19 03:06:34 myhost postfix/trivial-rewrite[1116]: warning: connect to mysql server unix:mysql.sock: Can't connect to local MySQL server through socket 'mysql.sock' (2) Jan 19 03:06:34 myhost postfix/trivial-rewrite[1116]: fatal: mysql:/etc/postfix/mysql_virt.cf(0,lock|fold_fix): table lookup problem --------------------------------------------------------------
Parece un error de Postfix no de la configuración de los archivos *.cnf para mysql. Saludos, -- Camaleón -- Para dar de baja la suscripción, mande un mensaje a: opensuse-es+unsubscribe@opensuse.org Para obtener el resto de direcciones-comando, mande un mensaje a: opensuse-es+help@opensuse.org
participants (1)
-
Camaleón