Bug Tracker item #2796548, was opened at 2009-05-25 21:05
Message generated for change (Comment added) made by thomas_martin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2796548&group_id=250683

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Thomas Martin (thomas_martin)
Assigned to: Nobody/Anonymous (nobody)
Summary: Incorrect return code when delivery fails

Initial Comment:
Man page specify :

"If the error involved  an  error in  calling  the  delivery agent, the exit 
value of the delivery agent will be returned."

However dspam (3.6.8) returns 255 when delivery agent fails with error code 75. 
See this line of Postfix log :

Command died with status 255: "/usr/local/bin/dspam". Command output: 86436: 
[05/25/2009 19:54:32] Delivery agent returned exit code 75: 
/usr/local/libexec/dovecot/deliver


----------------------------------------------------------------------

Comment By: Thomas Martin (thomas_martin)
Date: 2009-05-25 22:23

Message:
Reproduced with dspam 3.8.0 :

# cat /tmp/somemail | /usr/local/bin/dspam --user u...@domain.tld
--deliver=innocent,spam
66028: [05/25/2009 22:20:03] Delivery agent returned exit code 75:
/usr/local/libexec/dovecot/deliver -d u...@domain.tld 
# echo $?
255


----------------------------------------------------------------------

Comment By: Stevan Bajic (sbajic)
Date: 2009-05-25 21:22

Message:
Can you reproduce this error with 3.8.0 or git version?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2796548&group_id=250683

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
_______________________________________________
Dspam-devel mailing list
Dspam-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Reply via email to