[Pymilter] milter.error: cannot set reply (redux)
Larry G. Wapnitsky
LWapnitsky at ph.wrtdesign.com
Thu Nov 17 06:12:34 EST 2011
I figured it out. The sample code I had was using 250 instead of 550. Once I changed that (as Postfix can only accept 550), it all worked.
Thanks, Stuart. Great work, still learning so I can roll my own milter.
Larry G. Wapnitsky, MCSE, MCP+I
IT Support & Administration Coordinator
WRT / Wallace Roberts & Todd, LLC
1700 Market Street, 28th Floor, Philadelphia, PA 19103
T (215) 430-5068 F (215) 732-2551
C (215) 713-8635 E LWapnitsky at ph.wrtdesign.com
www.wrtdesign.com
-----Original Message-----
From: Stuart D. Gathman [mailto:stuart at bmsi.com]
Sent: Wed 2011-11-16 23:09
To: Larry G. Wapnitsky
Cc: pymilter at bmsi.com
Subject: Re: [Pymilter] milter.error: cannot set reply (redux)
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.
----wrtmail--%3423wrt%----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gathman.org/pipermail/pymilter/attachments/20111117/c65113b3/attachment.html>
More information about the Pymilter
mailing list