6.0.0-alpha12
6/7/25

[#2629] Exim and mail-filter.php generate delivery failure message for all ticket submissions.
Summary Exim and mail-filter.php generate delivery failure message for all ticket submissions.
Queue Whups
Type Bug
State Resolved
Priority 2. Medium
Owners Horde Developers (at) , jan (at) horde (dot) org
Requester satish (at) engr (dot) uky (dot) edu
Created 09/19/2005 (7201 days ago)
Due
Updated 09/20/2005 (7200 days ago)
Assigned 09/19/2005 (7201 days ago)
Resolved 09/20/2005 (7200 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
09/20/2005 12:50:20 PM Jan Schneider Comment #3
State ⇒ Resolved
Reply to this comment
2nd should be fixed too.
09/19/2005 05:44:18 PM Jan Schneider Comment #2
Assigned to Jan Schneider
Assigned to Horde DevelopersHorde Developers
State ⇒ Assigned
Reply to this comment
The first message has been fixed.
09/19/2005 05:06:23 PM satish (at) engr (dot) uky (dot) edu Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Exim and mail-filter.php generate delivery failure message for all ticket submissions.
Queue ⇒ Whups
Reply to this comment


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.


Saved Queries