[Mimedefang] attached file?
David F. Skoll
dfs at roaringpenguin.com
Wed Feb 19 07:28:00 EST 2003
On Wed, 19 Feb 2003, Dirk Mueller wrote:
> I'm looking for a way to find out about the filename on disk of an extracted
> attachment of an entity in filter(), so I can archive suspect attachements
> for later investigation.
See the MIME::Entity and MIME::Body man pages.
You want $entity->bodyhandle->path. Check for defined-ness of both
bodyhandle and path, though; there are examples in mimedefang.pl.
Regards,
David.
More information about the MIMEDefang
mailing list