Bug Tracker item #2796548, was opened at 2009-05-25 19:05 Message generated for change (Comment added) made by sf-robot 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: daemon Group: None >Status: Closed Resolution: None Priority: 5 Private: No Submitted By: Thomas Martin (thomas_martin) Assigned to: Stevan Bajic (sbajic) 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: SourceForge Robot (sf-robot) Date: 2009-10-26 02:20 Message: This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Stevan Bajic (sbajic) Date: 2009-08-02 14:57 Message: Thomas. Can you please try to reproduce this error with 3.9.0 BETA1? ---------------------------------------------------------------------- Comment By: Thomas Martin (thomas_martin) Date: 2009-05-26 09:22 Message: # ls -la /usr/local/libexec/dovecot/deliver -rwsr-x--- 1 root mail 652148 May 17 12:31 /usr/local/libexec/dovecot/deliver dspam is run as dspam:mail via the following master.cf entry in Postfix : dspam unix - n n - 1 pipe flags=Rqu user=dspam:mail argv=/usr/local/bin/dspam --user ${recipient} --deliver=innocent,spam Note that the failure of /usr/local/libexec/dovecot/deliver is volunteer during my tests. ---------------------------------------------------------------------- Comment By: Stevan Bajic (sbajic) Date: 2009-05-26 09:07 Message: I am today out of office and can not look deeper into your problem right now. Would it be possible for you to submit the output of the following command: ls -la /usr/local/libexec/dovecot/deliver ---------------------------------------------------------------------- Comment By: Thomas Martin (thomas_martin) Date: 2009-05-26 08:13 Message: Same effect with "LMTPLDAErrorsPermanent off". Note that i don't use server mode nor LMTP. Here is my config (based on FreeBSD default config file) : Algorithm graham burton AllowOverride enableBNR AllowOverride enableWhitelist AllowOverride optIn optOut AllowOverride showFactors AllowOverride signatureLocation AllowOverride spamAction spamSubject AllowOverride statisticalSedation AllowOverride trainingMode AllowOverride whitelistThreshold Debug * Feature whitelist HashAutoExtend on HashConnectionCache 10 HashExtentSize 49157 HashMaxExtents 0 HashMaxSeek 100 HashRecMax 98317 Home /var/db/dspam LMTPLDAErrorsPermanent off LocalMX 127.0.0.1 MaxMessageSize 307200 Notifications on OnFail error Opt out PValue graham Preference "showFactors=on" Preference "signatureLocation=message" # 'message' or 'headers' Preference "spamAction=quarantine" ProcessorBias on PurgeHapaxes 30 # Tokens with less than 5 hits (hapaxes) PurgeHits1I 15 # Tokens with only 1 innocent hit PurgeHits1S 15 # Tokens with only 1 spam hit PurgeNeutral 90 # Tokens with neutralish probabilities PurgeSignatures 14 # Stale signatures PurgeUnused 90 # Unused tokens StorageDriver /usr/local/lib/libhash_drv.so SystemLog on TestConditionalTraining on TrainingMode teft Trust daemon Trust dspam Trust mail Trust mailnull Trust root Trust smmsp TrustedDeliveryAgent "/usr/local/libexec/dovecot/deliver -d %u" UserLog on ---------------------------------------------------------------------- Comment By: Stevan Bajic (sbajic) Date: 2009-05-25 21:22 Message: Can you check your dspam.conf and look what value you have set for the option "LMTPLDAErrorsPermanent"? Can you set it to "off" and try again? ---------------------------------------------------------------------- Comment By: Thomas Martin (thomas_martin) Date: 2009-05-25 20: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 19: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 ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Dspam-devel mailing list Dspam-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-devel