HTML in Mailscanner reports

Mark Sapiro mark at msapiro.net
Thu Jul 16 17:50:25 IST 2009


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


Jules was not saying you could cause the Recipient Spam Report to be
put in a text/html message part simply by changing the file extension
to .html.  He was only saying that the fact that the distributed file
has a .txt extension implies that the report will be put in a text/plain
message part.  Changing the file extension won't change that.

-- 
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