[Tickets #2629] NEW: Exim and mail-filter.php generate delivery failure message for all ticket submissions.

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Sep 19 10:06:23 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2629
-----------------------------------------------------------------------
 Ticket             | 2629
 Created By         | satish at engr.uky.edu
 Summary            | Exim and mail-filter.php generate delivery failure message for all ticket submissions.
 Queue              | Whups
 State              | Unconfirmed
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


satish at engr.uky.edu (2005-09-19 10:06) wrote:


Exim sends back a delivery failure message eventhough a ticket is added
succesfully using mail-filter.php.  The failure message is generated because
mail-filter.php generates the following warnings:
------------------
PHP Notice:  Only variable references should be returned by reference in
/usr/local/www/helpdesk/whups/lib/Mail.php on line 102
PHP Notice:  Undefined index:  name in
/usr/local/www/helpdesk/whups/lib/Driver/sql.php on line 924
------------------

Exim's default behaviour for pipe delivery (return_output) is to generate a
failure message if the command produces any output, irrespective of the
return code/status.
Ref: http://www.exim.org/exim-html-3.20/doc/html/spec_18.html#SEC502

I have fixed this locally by setting return_fail_output for the pipe
transport.

I'd submit a patch if I knew how to eliminate those warnings (errors?).

Thanks.





More information about the bugs mailing list