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 _______________________________________________ Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

