[MlMt] searching for attachments
Steven M. Bellovin
smb at cs.columbia.edu
Mon Jun 30 14:18:08 EDT 2025
On 30 Jun 2025, at 8:54, Benny Kjær Nielsen wrote:
> On 29 Jun 2025, at 14:38, ARC MM via mailmate wrote:
>
>> But . . unfortunately there is imho no way to differentiate between a “real” attachment and signatures which contains, in my opinion, mostly irrelevant images (icons, logo’s, . . .).
>
> Just a couple of general comments to this thread:
>
> 1. The Attachments Count based on some very old code and it is a bit unreliable. Eventually, I'll change how it works (based on my second item below).
> 2. “Filename” (#filename) is more robust since only real attachments tend to have filenames. This is what is used by the Export-interface when dealing with attachments. In other words “Filename exists” should work better for now.
>
Thanks! Filename|Exists does seem to do what I want, though FilenameExtension does not.
--Steve Bellovin, https://www.cs.columbia.edu/~smb
More information about the mailmate
mailing list