[Pymilter] Emulating another MimeDefang function

Stuart D. Gathman stuart at bmsi.com
Mon Nov 21 15:03:38 EST 2011


On Mon, 21 Nov 2011, Larry G. Wapnitsky wrote:

> I still don't see how this is getting me the filenames I need.  Also,

The check= argument to defang is a function that is passed the filename.

> check_attachment seems to be recursive and references all the defang
> functions, hence increasing my confusion.

MIME is a recursive structure, hence any attachment and/or filename 
enumeration must be recursive.

> Additionally, when I send a multipart MIME message to my through my
> server, ismultipart() reports false, but output of the message parts
> says my message is mime multipart.

You will have to provide a specific example.

--
 	      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