[MAILSCANNER] Convert HTML To Text rule doesn't work as expected

Bart Smit mailscanner at SMITS.CO.UK
Thu Sep 22 10:05:28 IST 2005


> Bart Smit wrote:
> > I am having problems with stripping HTML from inbound
> > messages. One of our customers wants all HTML stripped but
> > recently they have requested that messages from a trusted
> > sending domain need to arrive with HTML intact.
> >
> 
> So... if I have this correct.
> 
> Do not strip html
> Unless to recipient.domain except if from sender.domain.
> 
> So surely the rules need to be...
> 
> From: sender at sender.domain no
> To: *@recipient.domain yes
> FromOrTo: default  no
> 
> Stef

Hi Stef,

I prefer to exclude senders by IP address, since this is harder to spoof.
Even if the rule didn't allow selection by IP, then the 
To:  recipient at recipient.domain  no
line should ensure that the recipient gets all emails with HTML included.
This is the first thing I tried.

I get the feeling that the selection by recipient domain rule takes
precedence over all other rules.

Bart...

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!



More information about the MailScanner mailing list