[Pymilter] milter.error: cannot set reply (redux)

Stuart D. Gathman stuart at bmsi.com
Wed Nov 16 23:09:05 EST 2011


On Wed, 16 Nov 2011, Larry G. Wapnitsky wrote:

> Referencing this old post
> (http://bmsi.com/pipermail/pymilter/2009-June/000200.html), I'm now
> experiencing the same issue with Postfix 2.7.1 and the latest version of
> pymilter.  I'm working from the template right now as a base to design
> my own milter, but can't seem to get past this error without commenting
> it out.
>
> Has there been progress made on a resolve?

Did FAQ #13 not help?

http://www.bmsi.com/python/faq.html

I don't know how to configure the timeouts for postfix.
You can also call the progress() method to let the MTA know you're
"still working on it".

Some MTAs do not accept '' for xcode (and sample.py should include a valid 
xcode).  Maybe setreply should check this and give a more specific diagnostic.

--
 	      Stuart D. Gathman <stuart at bmsi.com>
     Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.



More information about the Pymilter mailing list