[Pymilter] simple milter design needed

Eric S. Johansson esj at harvee.org
Sat Apr 3 23:17:43 EST 2004


Stuart D. Gathman wrote:

> Above based on code that normally uses a temp file to handle large emails.
> Doing it all in memory could be as simple as:
> 
>      # pass modified message to sendmail
>      newhdrs,newbody = msg.as_string().split('\n\n',1)
>      self.replacebody(newbody)

understood.

it will be interesting to see if your email derived object interoperates 
  with mine.  I just modify as_string, message_from_string, and 
message_from_file to disable header wrapping.

you still having problems even if you use 2.5.4? 
http://www.python.org/sigs/email-sig/

--- eric

<!DSPAM:FBB3BEC6ED161842466573850>




More information about the Pymilter mailing list