Current time: 05-01-2024, 10:24 AM Hello There, Guest! (LoginRegister)


Post Reply 
Problemas con el redir mail
Author Message
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #11
RE: Problemas con el redir mail
Una cuenta cach all nada tiene que ver con listas de distribucion, su funcion es marcar una cuenta del dominio para que reciba todo el correo que puede venir con alguna falta de ortografia en el destinatario@dominio.tld.

Aunque su uso te propiciara el recibir spam por un tubo
02-24-2010 02:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Killer2k Offline
Junior Member
*

Posts: 32
Joined: Apr 2008
Reputation: 0
Post: #12
RE: Problemas con el redir mail
Bueno, luego ejecutar el comando paso a poner el log.

Feb 25 14:34:44 urahara postfix/policyd-weight[22788]: weighted check: DYN_NJABL=ERR NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 DSBL_ORG=ERR CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .qw-out-2122.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2 IN_PM_RFCI=0.1 <client=74.125.92.27> <helo=qw-out-2122.google.com> <from=redirmailenvio@gmail.com> <to=prueba@lalalala.com.ar>, rate: -8.4
Feb 25 14:34:44 urahara postfix/policyd-weight[22788]: decided action=PREPEND X-policyd-weight: DYN_NJABL=ERR NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 DSBL_ORG=ERR CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .qw-out-2122.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2 IN_PM_RFCI=0.1 <client=74.125.92.27> <helo=qw-out-2122.google.com> <from=redirmailenvio@gmail.com> <to=prueba@lalalala.com.ar>, rate: -8.4
Feb 25 14:34:44 urahara postfix/smtpd[22924]: 5D20F14218: client=qw-out-2122.google.com[74.125.92.27]
Feb 25 14:34:44 urahara postfix/cleanup[22964]: 5D20F14218: message-id=<88d5aab31002250927o28dad4ay9ef5d03585d0a24b@mail.gmail.com>
Feb 25 14:34:44 urahara postfix/qmgr[22918]: 5D20F14218: from=<redirmailenvio@gmail.com>, size=2192, nrcpt=1 (queue active)
Feb 25 14:34:44 urahara postfix/pickup[22917]: C049F1473E: uid=1002 from=<redirmailenvio@gmail.com>
Feb 25 14:34:44 urahara postfix/cleanup[22964]: C049F1473E: message-id=<88d5aab31002250927o28dad4ay9ef5d03585d0a24b@mail.gmail.com>
Feb 25 14:34:44 urahara postfix/pipe[22965]: 5D20F14218: to=<prueba@lalalala.com.ar>, relay=spam_filter, delay=14, delays=14/0/0/0.06, dsn=2.0.0, status=sent (delivered via spam_filter service)
Feb 25 14:34:44 urahara postfix/qmgr[22918]: 5D20F14218: removed
Feb 25 14:34:44 urahara postfix/qmgr[22918]: C049F1473E: from=<redirmailenvio@gmail.com>, size=2502, nrcpt=1 (queue active)
Feb 25 14:34:44 urahara postfix/virtual[22971]: C049F1473E: to=<prueba@lalalala.com.ar>, relay=virtual, delay=0.04, delays=0.03/0/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
Feb 25 14:34:44 urahara postfix/qmgr[22918]: C049F1473E: removed

Y aca paso a pegar el master.cf

cat /etc/postfix/master.cf
#
# Postfix master process configuration file. For details on the format
# of the file, see the master(5) manual page (command: "man 5 master").
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - - - - smtpd
-o content_filter=spam_filter
-o cleanup_service_name=pre-cleanup
#submission inet n - - - - smtpd
# -o smtpd_enforce_tls=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps inet n - - - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
# For AOL-Accounts
587 inet n - - - - smtpd
-o smtpd_client_restrictions=permit_sasl_authenticated,reject_unauth_destination
-o cleanup_service_name=pre-cleanup
#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
-o cleanup_service_name=pre-cleanup
cleanup unix n - - - 0 cleanup
-o mime_header_checks=
-o nested_header_checks=
-o body_checks=
-o header_checks=
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
tlsmgr unix - - - 1000? 1 tlsmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - - - - smtp
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - - - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
# ====================================================================
# ispCP Ã(OMEGA) a Virtual Hosting Control System
#
# @copyright 2001-2006 by moleSoftware GmbH
# @copyright 2006-2008 by ispCP | http://isp-control.net
# @version SVN: $ID$
# @link http://isp-control.net
# @author ispCP Team
# ====================================================================
# AMaViS => Antivir / Antispam
# See: http://www.ijs.si/software/amavisd/README.postfix.html
pre-cleanup unix n - n - 0 cleanup
-o virtual_alias_maps=

amavis unix - - n - 2 smtp
-o smtp_data_done_timeout=1200
-o smtp_send_xforward_command=yes
-o disable_dns_lookups=yes
-o max_use=20

localhost:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o smtpd_override_options=no_address_mappings
-o mynetworks=127.0.0.0/8
-o strict_rfc821_envelopes=yes

# ispCP autoresponder
ispcp-arpl unix - n n - - pipe
flags=O user=vmail argv=/var/www/ispcp/engine/messager/ispcp-arpl-msgr

# TLS - Activate, if TLS is avaiable/used
smtps inet n - - - - smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
mailman unix - n n - - pipe
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
${nexthop} ${user}

spam_filter unix - n n - - pipe
flags=Rq user=vmail argv=/var/lib/spamassassin/postfixfilter -f ${sender} -- ${recipient}


Gracias Smile

PD: Disculpame que voy un poco lento.
02-26-2010 03:39 AM
Find all posts by this user Quote this message in a reply
jpertuz Offline
Junior Member
*

Posts: 93
Joined: Dec 2008
Reputation: 0
Post: #13
RE: Problemas con el redir mail
policyd-weith cree que es spam,

solo has una prueba y envía el mensaje comenta esta linea en postfix:

check_policy_service inet:127.0.0.1:12525

lo que es raro es que bloquee un mensaje de gmail, la experiencia que he tenido de mensajes que no llegan aveces es por que lo retrasa el postgrey pero hasta alli. el policyd me funciona pero bloquea lo que es malo no lo que es bueno.



Feb 25 14:34:44 urahara postfix/pipe[22965]: 5D20F14218: to=<prueba@lalalala.com.ar>, relay=spam_filter, delay=14, delays=14/0/0/0.06, dsn=2.0.0, status=sent (delivered via spam_filter service)
Feb 25 14:34:44 urahara postfix/qmgr[22918]: 5D20F14218: removed
Feb 25 14:34:44 urahara postfix/qmgr[22918]: C049F1473E: from=<redirmailenvio@gmail.com>, size=2502, nrcpt=1 (queue active)
Feb 25 14:34:44 urahara postfix/virtual[22971]: C049F1473E: to=<prueba@lalalala.com.ar>, relay=virtual, delay=0.04, delays=0.03/0/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
Feb 25 14:34:44 urahara postfix/qmgr[22918]: C049F1473E: removed
02-26-2010 04:35 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #14
RE: Problemas con el redir mail
@jpertuz: ese mensaje de "removed" es normal. Postfix envía el mensaje al antispam y lo elimina de la cola de activos, por eso el removed. Luego el antispam vuelve a inyectar el mensaje a postfix y todo continua...

El problema es otro. Estoy bastante seguro de que todo viene de esta línea del master.cf:
Code:
-o smtpd_override_options=no_address_mappings

Comentala, reinicia postfix y prueba. Me juego una birra a que funcionará Smile
02-26-2010 05:07 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Killer2k Offline
Junior Member
*

Posts: 32
Joined: Apr 2008
Reputation: 0
Post: #15
RE: Problemas con el redir mail
No quiere saber nada.... Sad

Feb 25 17:57:58 urahara postfix/policyd-weight[28610]: weighted check: DYN_NJABL=ERR NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 DSBL_ORG=ERR CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-qy0-f179.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2 IN_PM_RFCI=0.1 <client=209.85.221.179> <helo=mail-qy0-f179.google.com> <from=redirmailenvio@gmail.com> <to=prueba@lalalala.com.ar>, rate: -8.4
Feb 25 17:57:58 urahara postfix/policyd-weight[28610]: decided action=PREPEND X-policyd-weight: DYN_NJABL=ERR NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 DSBL_ORG=ERR CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-qy0-f179.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2 IN_PM_RFCI=0.1 <client=209.85.221.179> <helo=mail-qy0-f179.google.com> <from=redirmailenvio@gmail.com> <to=prueba@lalalala.com.ar>, rate: -8.4
Feb 25 17:57:58 urahara postfix/smtpd[29250]: B257014572: client=mail-qy0-f179.google.com[209.85.221.179]
Feb 25 17:57:59 urahara postfix/cleanup[30206]: B257014572: message-id=<88d5aab31002251251nd86b3cv3719873900a1b40@mail.gmail.com>
Feb 25 17:57:59 urahara postfix/qmgr[29226]: B257014572: from=<redirmailenvio@gmail.com>, size=2211, nrcpt=1 (queue active)
Feb 25 17:57:59 urahara postfix/pickup[29225]: 1D6E2146B7: uid=1002 from=<redirmailenvio@gmail.com>
Feb 25 17:57:59 urahara postfix/cleanup[30206]: 1D6E2146B7: message-id=<88d5aab31002251251nd86b3cv3719873900a1b40@mail.gmail.com>
Feb 25 17:57:59 urahara postfix/pipe[30207]: B257014572: to=<prueba@lalalala.com.ar>, relay=spam_filter, delay=14, delays=14/0/0/0.05, dsn=2.0.0, status=sent (delivered via spam_filter service)
Feb 25 17:57:59 urahara postfix/qmgr[29226]: B257014572: removed
Feb 25 17:57:59 urahara postfix/qmgr[29226]: 1D6E2146B7: from=<redirmailenvio@gmail.com>, size=2521, nrcpt=1 (queue active)
Feb 25 17:57:59 urahara postfix/virtual[30213]: 1D6E2146B7: to=<prueba@lalalala.com.ar>, relay=virtual, delay=0.03, delays=0.03/0/0/0, dsn=2.0.0, status=sent (delivered to maildir)
Feb 25 17:57:59 urahara postfix/qmgr[29226]: 1D6E2146B7: removed

Lo que veo en el log es que nunca figura que envia el mail a redirmailtest@gmail.com que es a donde debería redireccionarlo.

Trayectoria que debería hacer.
De redirmailenvio@gmail.com envio a prueba@lalalala.com.ar y esta cuenta debería redireccionar a redirmailtest@gmail.com pero como verán nunca llega.

Ya nose que puede ser.

Gracias
02-26-2010 07:04 AM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #16
RE: Problemas con el redir mail
Si me das acceso al server te lo miro... (PM)
02-26-2010 08:39 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Killer2k Offline
Junior Member
*

Posts: 32
Joined: Apr 2008
Reputation: 0
Post: #17
RE: Problemas con el redir mail
Kilburn, agradezco tu amabilidad para poder solucionar mi problema, pero por cuestiones de la empresa no puedo darte acceso.

En el master.cf tengo la llamada "-o content_filter=spam_filter" la cual hace referencia a un script externo que utilizo para crear una carpeta en el webmail de nombre SPAM a donde son enviados los mails que son clasificados como tales.
El uso de este script esta en la siguiente url:
http://www.wikipeando.com/index.php/archives/378

Si alguno tiene un procedimiento de como hacer esto mismo sin user este script por favor le pido que me lo pase, asi pruebo porque puede ser que el problema este originado por este proceso.

Que opinan?

Desde ya muchas gracias por ayudarme en todo este inconveniente.

Saludos
03-02-2010 03:43 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)