Current time: 04-23-2024, 10:47 PM Hello There, Guest! (LoginRegister)


Post Reply 
Arreglaron el Autoresponder?
Author Message
Killer2k Offline
Junior Member
*

Posts: 32
Joined: Apr 2008
Reputation: 0
Post: #1
Arreglaron el Autoresponder?
Buenas!

Hace un tiempo habia posteado este problema, que por lo visto no tiene solucion. En su momento me pusieron el hilo de otro post que decia que se estaba trabajando sobre el tema.

Recordando un poco cual era el problema.
Cuando activo el autoresponder, recibo dos mails:
1) El mail con la respuesta sin ningun problema.
2) "Mail Delivery System" que contiene:

<prueba@ispcp-arpl.dominio.com> (expanded from <prueba@dominio.com>):
Command died with status 1:
"/var/www/ispcp/engine/messager/ispcp-arpl-msgr"

Final-Recipient: rfc822; prueba@ispcp-arpl.dominio.com
Original-Recipient: rfc822; prueba@dominio.com
Action: failed
Status: 5.3.0
Diagnostic-Code: x-unix; unknown mail system error 1

Ya se pudo solucionar este inconveniente? alguno pudo encontrar una solucion?

Desde ya muchas gracias.

Saludos
08-21-2009 05:18 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: #2
RE: Arreglaron el Autoresponder?
Tienes amavisd-new instalado en la máquina verdad? Si es que sí, el prblema viene de ahí... a ver si encuentro el post donde expliqué como arreglarlo...

Edit: me da mucho palo hacer la explicación pertinente ahora, así que aquí van los cambios a realizar y investigais por qué (pista, la respuesta está aquí Tongue Hay que tocar esto en el fichero /etc/postfix/master.cf:
Code:
[...]
   # ==========================================================================
   # service type  private unpriv  chroot  wakeup  maxproc command + args
   #               (yes)   (yes)   (yes)   (never) (100)
   # ==========================================================================
   smtp      inet  n       -       -       -       -       smtpd
+          -o cleanup_service_name=pre-cleanup
   [...]
   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
   [...]
   # ====================================================================
   # 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
   [...]
(This post was last modified: 08-21-2009 05:48 AM by kilburn.)
08-21-2009 05:40 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: #3
RE: Arreglaron el Autoresponder?
Edito lo que puse antes:
Pense que no lo tenia activo al AMAVIS y pero no lo comente. De comentar la linea que hace referencia a amavis solucionaria el problema?

Aca te pongo mi master.cf

Code:
#
# 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
#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
#628      inet  n       -       -       -       -       qmqpd
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
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
amavis    unix  -       -       n       -       2       smtp
   -o smtp_data_done_timeout=1200
   -o smtp_send_xforward_command=yes
   -o disable_dns_lookups=yes

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}
(This post was last modified: 08-21-2009 06:00 AM by Killer2k.)
08-21-2009 05:49 AM
Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #4
RE: Arreglaron el Autoresponder?
http://www.isp-control.net/ispcp/changes...-arpl-msgr
08-21-2009 06:01 AM
Visit this user's website 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: #5
RE: Arreglaron el Autoresponder?
Tienes instalado el postfixfilter este, que para el caso es lo mismo. El problema es que cuando metes un filtro de correo, los mails entrantes siguen este proceso:
Code:
servidor --->   postfix   --->      filtro     --->     postfix    --->  buzón
remoto       (puerto 25)      (postfixfilter)      (puerto 10025)      usuario

Como ves, los mails pasan dos veces por postfix. Tal como viene la configuración de ispcp, intentas el autoreply ambas veces (y una de ellas falla, generando el error que te llega). Con los cambios que propongo (dos "cleanup" distintos para el primer y el segundo postfix) evitas enviar el autoreply cuando pasa por el primer postfix, de modo que solo envirás el segundo y además llegará bien.

Para más detalles mirate la web que he enlazado en el post anterior, que lo explica bastante mejor Smile
08-21-2009 06: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: #6
RE: Arreglaron el Autoresponder?
Cuando agrege las modificaciones al master.cf y luego reinicie el postfix hice una prueba para ver que pasaba.
Los mails nunca llegaron, y tampoco me contesto.

En el mail log aparecia repetidamente este error que antes no aparecia:

Aug 20 17:18:50 urahara postfix/smtpd[10309]: warning: connect #8 to subsystem public/pre-cleanup: No such file or directory
Aug 20 17:18:52 urahara postfix/smtpd[10310]: warning: connect #6 to subsystem public/pre-cleanup: No such file or directory

Lo volvi a dejar como estaba al master mientras sigo probando ^^

Saludos
08-21-2009 06:27 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: #7
RE: Arreglaron el Autoresponder?
Te faltaba añadir esta parte:
Quote:+ # See: http://www.ijs.si/software/amavisd/README.postfix.html
+ pre-cleanup unix n - n - 0 cleanup
+ -o virtual_alias_maps=
+
(piensa que está identado para que lo leas mejor, pero en realidad NO hay espacio antes de "pre-cleanup" y SI lo hay antes de "-o virtual_alias_maps=")
08-21-2009 06:30 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #8
RE: Arreglaron el Autoresponder?
Yo tenia ese error y con la modificacion esa desaparecio, no se si es por el mismo motivo, yo tengo amavis instalado.

The mail system
>
> <tere_masdeu@ispcp-arpl.dominio.tld>: Command died with status 1:
> "/var/www/ispcp/engine/messager/ispcp-arpl-msgr"
> Action: failed
> Status: 5.3.0
> Diagnostic-Code: x-unix; unknown mail system error 1
08-21-2009 06:38 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: #9
RE: Arreglaron el Autoresponder?
Bueno, el mail llego perfectamente a la cuenta que tiene el autoresponder activo, pero no me respondio nada.
Aca pongo el mail.log

Code:
postfix/policyd-weight[8895]: decided action=PREPEND X-policyd-weight: using cached result; rate: -8.4
postfix/smtpd[11395]: 6173D14468: client=mail-fx0-f211.google.com[209.85.220.211]
postfix/cleanup[11545]: 6173D14468: message-id=<19622c800908201359h57d12c4rc985d4773e915fe@mail.gmail.com>
postfix/qmgr[11280]: 6173D14468: from=<mimail@gmail.com>, size=4336, nrcpt=1 (queue active)
postfix/pickup[11279]: 6A2A414480: uid=1002 from=<mimail@gmail.com>
postfix/cleanup[11545]: 6A2A414480: message-id=<19622c800908201359h57d12c4rc985d4773e915fe@mail.gmail.com>
postfix/pipe[11546]: 6173D14468: to=<prueba@dominio.com>, relay=spam_filter, delay=14, delays=13/0/0/0.54, dsn=2.0.0, status=sent (delivered via spam_filter service)
postfix/qmgr[11280]: 6173D14468: removed
postfix/qmgr[11280]: 6A2A414480: from=<mimail@gmail.com>, size=4682, nrcpt=1 (queue active)
postfix/virtual[11785]: 6A2A414480: to=<prueba@dominio.com>, relay=virtual, delay=0.02, delays=0.02/0/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
postfix/qmgr[11280]: 6A2A414480: removed


Otra cosa, esto lo tengo que hacer?
Link

Saludos
(This post was last modified: 08-21-2009 07:49 AM by Killer2k.)
08-21-2009 06:40 AM
Find all posts by this user Quote this message in a reply
kurgans Offline
Moderator
*****
Moderators

Posts: 1,565
Joined: Feb 2008
Reputation: 23
Post: #10
RE: Arreglaron el Autoresponder?
Tienes la configuracion original que general el panel puesta en main y en master ??????

Por que el log dice que te lo ha mandado bien
08-21-2009 07:45 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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