[Pymilter] milter.setreply exception

Steve Foster s.p.foster at leeds.ac.uk
Tue Mar 19 12:36:08 EDT 2013


On Tue, 19 Mar 2013, Tom Hendrikx wrote:

> Can you show us a bit more code, so we can see if you're doing stuff in
> the wrong order or something like that?

Basically I'm using one of the example from the documentation with the 
following

   def envrcpt(self, to, *str):
     self.log("mail to:", to, *str)
     self.setreply('250','2.0.0','All OK')
     return Milter.CONTINUE

I've removed the @Milter.noreply decorator...

Cheers

Steve
-- 
Steve Foster			Email: s.p.foster at leeds.ac.uk
Unix team			Phone: 0113 343 7225
Information Systems Services	Fax:   0113 343 5411
University of Leeds
Leeds LS2 9JT




More information about the Pymilter mailing list