HTML in Mailscanner reports

Ralph Bornefeld-Ettmann ralph at bornefeld-ettmann.de
Fri Jul 17 10:47:02 IST 2009


Mark Sapiro schrieb:
> On Thu, Jul 16, 2009 at 11:48:04AM +0200, Ralph Bornefeld-Ettmann wrote:
>> Julian Field schrieb:
>>>
>>> On 15/07/2009 16:15, Ralph Bornefeld-Ettmann wrote:
>>>> hi,
>>>>
>>>> is it possible to use HTML tags in reports like 
>>>> recipient.spam.report.txt?
>>> The ".txt" should be the give-away on that one.
>>> If it's expecting HTML, it's called ".html".
>>>
>>> Jules
>>>
>> sorry, did not work.
>>
>> MailScanner 4.77.10
>> Postfix 2.3.3-2.1.el5_2
>> OS : CentOS 5.2
>>
>> /etc/MailScanner/MailScanner.conf :
>>
>> Recipient Spam Report = %report-dir%/recipient.spam.report.html
>>
>>
>> /etc/MaiScanner/reports/en/recipient.spam.report.html :
> 
> 
> Jules was NOT saying wou could cause the report to be put in a
> text/html part of the message simply by changing the file extension
> from .txt to .html. He was trying to say that the fact that the
> distributed report file has a .txt extension implies it will be put
> in a text/plain part in the message. Changing the extension won't
> change that.
> 
> I.e., the Recipient Spam Report is sent in a text/plain message
> part and conformant MUAs (mail clients) won't interpret html tags.
> 
ah, thanks for this clarification



More information about the MailScanner mailing list