shtml attachment files ?

Mark Sapiro mark at msapiro.net
Thu Jul 28 15:21:13 UTC 2022


On 7/28/22 05:14, mailscanner at barendse.to wrote:
> Hi list
> 
> I tried blocking \.htm$ and \.html$ in my filename.rules.conf before but 
> found that this effectively blocked nearly each and every email that was 
> coming in so I have to allow that for as long as MailScanner cannot 
> differentiate between an attached .html file or html text in the mail 
> itself

This is curious. Most common MUAs tend to be configured to compose 
multipart/alternative mail with text/plain and text/html alternative 
parts, but the text/html part does not have a `name` parameter in the 
Content-Type: header nor does it have a Content-Disposition: header at 
all. So where is MailScanner getting a *.html filename for these parts?


-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the MailScanner mailing list