Bug Tracker item #3513130, was opened at 2012-03-30 01:11 Message generated for change (Comment added) made by sbajic You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=3513130&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: v3.10.x Status: Open Resolution: None Priority: 5 Private: No Submitted By: Radim Kolar (hsn) Assigned to: Stevan Bajic (sbajic) Summary: temporary delivery errors from LDA are not respected Initial Comment: I run dspam from sendmail: define(`LOCAL_MAILER_PATH', `/usr/local/bin/dspam') define(`LOCAL_MAILER_ARGS', `dspam "--deliver=innocent" --user $u -d %u') if dspam gets temporary deliver failure from maildrop (LDA) TrustedDeliveryAgent "/usr/local/bin/maildrop" it didnt respect temporary error from LDA (maildrop returns it if user has incorrect .mailfilter) and exists with error 255, which sendmail considers permanent delivery failure and returns message back. This leads to lost mail. Mar 30 09:52:51 ponto dspam[67105]: Delivery agent returned exit code 75: /usr/local/bin/maildrop -d hsn Mar 30 09:52:51 ponto sm-mta[67104]: q2U7qSWK067103: to=<h...@ponto.amerinoc.com> , delay=00:00:20, xdelay=00:00:19, mailer=local, pri=149955, dsn=5.3.0, stat=unknown mailer error 255 Mar 30 09:52:51 ponto sm-mta[67104]: q2U7qSWK067103: q2U7qpWI067104: DSN: unknown mailer error 255 ---------------------------------------------------------------------- >Comment By: Stevan Bajic (sbajic) Date: 2012-03-30 03:06 Message: If you use default then LMTPLDAErrorsPermanent is used as if you would set it to off. The error message you posted is generated in deliver_message() and probably the calling function is getting the proper error message back (that EX_TEMPFAIL) but probably not using it and exiting with error 255. This can be changed but would require all functions calling deliver_message() to be changed to honor the return value in case LMTPLDAErrorsPermanent is not set or set to off. I currently have no time to do that kind of code change. If you have time and the knowledge feel free to attach a patch to this bug report. ---------------------------------------------------------------------- Comment By: Radim Kolar (hsn) Date: 2012-03-30 02:11 Message: ponto:(crawler)~/nutch>dspam --version DSPAM Anti-Spam Suite 3.10.1 (agent/library) Copyright (C) 2002-2011 DSPAM Project I do not have 'LMTPLDAErrorsPermanent' in dspam.conf, so i am using defaults. ---------------------------------------------------------------------- Comment By: Stevan Bajic (sbajic) Date: 2012-03-30 01:39 Message: What version of DSPAM are you running? Can it be that you run an older version or that you have set 'LMTPLDAErrorsPermanent' to 'on'? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=3513130&group_id=250683 ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Dspam-devel mailing list Dspam-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-devel