6.0.0-alpha12
6/7/25

[#7673] mail-filter.php produce errors and bounces to the sender
Summary mail-filter.php produce errors and bounces to the sender
Queue Whups
Queue Version 1.0
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester stevens (at) stevens (dot) it
Created 11/12/2008 (6051 days ago)
Due
Updated 11/12/2008 (6051 days ago)
Assigned
Resolved 11/12/2008 (6051 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
11/12/2008 05:06:53 PM Jan Schneider Comment #3
Assigned to Jan Schneider
State ⇒ Resolved
Reply to this comment
Tweaked and committed, thanks.
11/12/2008 05:06:46 PM CVS Commit Comment #2 Reply to this comment
Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/whups/lib/Driver.php?r1=1.200&r2=1.201&ty=u
11/12/2008 04:16:17 PM stevens (at) stevens (dot) it Comment #1
Priority ⇒ 1. Low
New Attachment: whups_lib_driver.diff Download
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Whups
Summary ⇒ mail-filter.php produce errors and bounces to the sender
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
I found into mail.log lines like the following:



postfix/local[25654]: 18BF4168C29: to=<xxxxxx@xxxxx.xxxxx.xx>, 
relay=local, delay=0.59, delays=0.05/0.01/0/0.53, dsn=5.3.0, 
status=bounced (Command died with status 255: 
"/var/www/horde/whups/scripts/mail-filter.php --default-auth 
'xxxxx@xxx.xx' --queue-name xxxxxx --queue-id 99". Command output:   
Fatal error: Call to undefined method PEAR_Error::get() in 
/var/www/horde-3.3/whups-h3-1.0/lib/Driver.php on line 359 )



It should be related to Whups_Ticket::makeTicket() returing a 
PEAR_Error object for a reason or another. So the fix should be to 
test if the results is a PEAR_Error object or not.


Saved Queries