ispCP - Board - Support
problema con policyd - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: Spanish Corner (/forum-29.html)
+--- Thread: problema con policyd (/thread-11907.html)



problema con policyd - alexcorvis - 10-19-2010 01:32 PM

tengo el siguiente problema, POLICYD-WEIGHT muere y tengo problemas con correos, al levantarlo muestra lo siguiente a ver si saben que debo hacer para evitar sus caidas.

noc:~# tail /var/log/mail.log
Oct 19 07:23:36 noc postfix/smtpd[30007]: NOQUEUE: reject: RCPT from snt0-omc4-s31.snt0.hotmail.com[65.55.90.234]: 451 4.3.5 Server configuration problem; from=<aambrizb@hotmail.com> to=<soporte@nitlami.com> proto=ESMTP helo=<snt0-omc4-s31.snt0.hotmail.com>
Oct 19 07:23:36 noc postfix/smtpd[30007]: warning: connect to 127.0.0.1:12525: Connection refused
Oct 19 07:23:36 noc postfix/smtpd[30007]: warning: problem talking to server 127.0.0.1:12525: Connection refused
Oct 19 07:23:37 noc postfix/smtpd[30007]: warning: connect to 127.0.0.1:12525: Connection refused
Oct 19 07:23:37 noc postfix/smtpd[30007]: warning: problem talking to server 127.0.0.1:12525: Connection refused
Oct 19 07:23:37 noc postfix/smtpd[30007]: NOQUEUE: reject: RCPT from snt0-omc4-s31.snt0.hotmail.com[65.55.90.234]: 451 4.3.5 Server configuration problem; from=<aambrizb@hotmail.com> to=<aambrizb@nitlami.com> proto=ESMTP helo=<snt0-omc4-s31.snt0.hotmail.com>
Oct 19 07:23:37 noc postfix/smtpd[30007]: disconnect from snt0-omc4-s31.snt0.hotmail.com[65.55.90.234]
Oct 19 07:24:20 noc postfix/policyd-weight[28364]: policyd-weight 0.1.14 beta-17 started and daemonized. conf:default settings; GID:112 112 EGID:112 112 UID:109 EUID:109; taint mode: 0
Oct 19 07:24:20 noc postfix/policyd-weight[28364]: warning: cache_query: $csock couln't be created: connect: No existe el fichero o el directorio, calling spawn_cache()
Oct 19 07:24:20 noc postfix/policyd-weight[28365]: cache spawned



y este error de geylist

noc:~# tail /var/log/mail.log
Oct 19 07:29:19 noc postfix/smtpd[22148]: warning: Wrapper-mode request dropped from noc.conexion71.com[69.163.34.55] for service smtps. TLS context initialization failed. For details see earlier warnings in your logs.
Oct 19 07:29:19 noc postfix/smtpd[22148]: disconnect from noc.conexion71.com[69.163.34.55]
Oct 19 07:29:40 noc postfix/smtpd[1417]: connect from snt0-omc4-s47.snt0.hotmail.com[65.54.51.98]
Oct 19 07:29:41 noc postfix/policyd-weight[1426]: decided action=PREPEND X-policyd-weight: using cached result; rate: -8.3; <client=65.54.51.98> <helo=snt0-omc4-s47.snt0.hotmail.com> <from=puzzlitomorelia@hotmail.com> <to=daniel@nitlami.com>; delay: 0s
Oct 19 07:29:41 noc postgrey[22207]: action=greylist, reason=early-retry (60s missing), client_name=snt0-omc4-s47.snt0.hotmail.com, client_address=65.54.51.98, sender=puzzlitomorelia@hotmail.com, recipient=daniel@nitlami.com
Oct 19 07:29:41 noc postfix/smtpd[1417]: NOQUEUE: reject: RCPT from snt0-omc4-s47.snt0.hotmail.com[65.54.51.98]: 450 4.2.0 <daniel@nitlami.com>: Recipient address rejected: Greylisted, see http://postgrey.schweikert.ch/help/nitlami.com.html; from=<puzzlitomorelia@hotmail.com> to=<daniel@nitlami.com> proto=ESMTP helo=<snt0-omc4-s47.snt0.hotmail.com>
Oct 19 07:29:41 noc postfix/smtpd[1417]: disconnect from snt0-omc4-s47.snt0.hotmail.com[65.54.51.98]
Oct 19 07:30:30 noc imapd: Connection, ip=[::ffff:67.223.64.138]


añado otro warning que vi

Oct 19 07:43:12 noc postfix/smtpd[3477]: connect from noc.conexion71.com[69.163.34.55]
Oct 19 07:43:12 noc postfix/smtpd[3477]: warning: Wrapper-mode request dropped from noc.conexion71.com[69.163.34.55] for service smtps. TLS context initialization failed. For details see earlier warnings in your logs.


RE: problema con policyd - kurgans - 10-19-2010 05:28 PM

(10-19-2010 01:32 PM)alexcorvis Wrote:  tengo el siguiente problema, POLICYD-WEIGHT muere y tengo problemas con correos, al levantarlo muestra lo siguiente a ver si saben que debo hacer para evitar sus caidas.

noc:~# tail /var/log/mail.log
Oct 19 07:23:36 noc postfix/smtpd[30007]: NOQUEUE: reject: RCPT from snt0-omc4-s31.snt0.hotmail.com[65.55.90.234]: 451 4.3.5 Server configuration problem; from=<aambrizb@hotmail.com> to=<soporte@nitlami.com> proto=ESMTP helo=<snt0-omc4-s31.snt0.hotmail.com>
Oct 19 07:23:36 noc postfix/smtpd[30007]: warning: connect to 127.0.0.1:12525: Connection refused
Oct 19 07:23:36 noc postfix/smtpd[30007]: warning: problem talking to server 127.0.0.1:12525: Connection refused
Oct 19 07:23:37 noc postfix/smtpd[30007]: warning: connect to 127.0.0.1:12525: Connection refused
Oct 19 07:23:37 noc postfix/smtpd[30007]: warning: problem talking to server 127.0.0.1:12525: Connection refused



(09-07-2010 03:11 PM)kilburn Wrote:  
Quote:Sep 7 03:52:55 mihost postfix/smtpd[14200]: warning: connect to 127.0.0.1:12525: Connection refused
Sep 7 03:52:55 mihost postfix/smtpd[14200]: warning: problem talking to server 127.0.0.1:12525: Connection refused
1. Asegúrate de tener policyd-weight funcionando (lo último que veo en el log es que murió). Empieza con el /etc/init.d/policyd-weight restart y mira el log a ver si da errores o levanta bien.
2. Comprueba en qué puerto escucha con "netstat -tlnp | grep policyd" (debería ser 12525, pero si es distinto cambia el puerto en /etc/postfix/main.cf para que coincidan).



RE: problema con policyd - kilburn - 10-19-2010 06:22 PM

En los logs que muestras no hay ningún problema.

El error de "spawn cache" de policyd-weight es normal (sí, podrían currarselo más para que no pareciera un fallo). Simplemente dice que al iniciarse el servicio crea la cache de resultados.

El error de greylist también es normal: simplemente le dice al cliente que pruebe más tarde, que es precisamente a lo que se dedica el greylisting (cuando el cliente reintente mas tarde el correo será aceptado).

El error de TLS es probablemente porque le tienes dicho a postfix que sabe usar TLS pero no tienes ningún certificado configurado. Repasate las directivas *tls* de tu main.cf. En cualquier caso no es un problema grave, simplemente el cliente reintenta sin TLS y todo ok.

En cuanto a por qué se muere policyd-weight, que sería tu problema real, los logs no nos dicen nada. Se trataría de que pillaras las líneas que saca cuando *muere* el servicio, no cuando arranca...


RE: problema con policyd - alexcorvis - 10-20-2010 12:34 AM

gracias por sus respuestas, estare al pendiente para captar log cuando muera.