milter, milter man

My milter had a hiccup today. I had it inserting a warning message into the first payload of a MIME multipart email if that email contained a .zip attachment - assuming that the first payload was the message body - wooops. So now, it itterates through the email.Message.Message object with the Message.walk() method until it finds a part.get_content_maintype() == “text”. It then inserts the warning there. Hopefully that takes care of it (so far, so good).

Hey you! Stop snoring! Wake up!

cw

Leave a Reply