|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Andre Morisse (capiccc
gmx.de)
Date: Mon Nov 26 2007 - 10:04:05 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello together
first, sorry for my not so good english - hope I can make clear what i try to do.
Following problem:
I use a OpenSource Management Panel to make some administrative things available to people. This Panel uses Postfix and, for email autoreply, a Perl Script that generates the Autoreply messages from Mails which are send to the Script to the pipe Interface in the master.cf of Postfix
This Perl skript has some errors which can't be found yet but makes at least what it should do (sending a Autoreply Message). The thing is that this script seem to have a bug, after sending the message it goes down not normaly and produces an error which is send by Postfix to the sender of the email.
Now, after I can not localize this skript error at the moment I try to find a way to supress and discard the error message from Postfix that the skript was terminated abnormaly.
Here is what Postfix sends:
---snip---
This is the mail system at host *censored*.
[.. some normal standard text of postfix ..]
The mail system
<receipent
ispcp-arpl.domain.tld>: Command died with status 255:
"/var/www/ispcp/engine/messager/ispcp-arpl-msgr"
---snip---
The Perl Skript that is running here is implemented by the following way:
In the master.cf:
---snip---
# ISPCP autoresponder
ispcp-arpl unix - n n - - pipe
flags=O user=vmail argv=/var/www/ispcp/engine/messager/ispcp-arpl-msgr
-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
---snip---
(the -o option I think are usualy not needed, but i tested something with them which did not work and i think they don't bother anything)
and mail-adresses who generetes a autoresponder are impleneted this way:
in the alias table:
---snip---
rcpt
domain.tld rcpt
domain.tld,rcpt
ispcp-arpl.domain.tld
---snip---
and in the transport table:
---snip---
ispcp-arpl.domain.tld ispcp-arpl:
---snip---
This forwards a copy of a mail through Pipe to the Perl skript.
This skript has a bug and produces the wanted autoreply-message + a error-Mail that the script dies with code 255 (seem there is a bug which can't be located at the moment as said).
Is there any way to supress a error-mail (and only that error-mail, not all error-mails like through soft_bounce) when a script which is accessed through pipe fails ?
(for information: the Control Panel we speak off here is the ISPCP Control Panel, can be found under: http://www.isp-control.net/ - the (buggy) pearl skript is part of it ).
Please apologize for my bad english, thanks for any help for this problem :-)
With greetings from germany
Andre
--
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]