[Mimedefang] RE: Filtering on sender, recipient, and subject at the same time

alan premselaar alien at 12inch.com
Mon Jul 18 18:20:02 EDT 2005


Craig Green wrote:
...snip...

> Note that since you're in filter_end, the HEADERS file *is* available, 
> so you can just parse that if you'd prefer.  There was nothing wrong 
> with your initial logic; it's just that parsing the file on disk is 
> slower *and* it takes more code than using the MIME entity.  However, if 
> it works, it works.  ;-)

Although if the spool directory is configured on a tmpfs (ramdisk) as 
has been recommended for quite some time now, then reading a "file on 
disk" is no longer an issue, as the disk itself is in RAM.

(I do, however, agree that using the MIME Tools code is much cleaner to 
look at.)

Alan



More information about the MIMEDefang mailing list