<div dir="ltr">Thanks Antony</div><br><div class="gmail_quote"><div dir="ltr">On Sat, Sep 1, 2018 at 6:10 PM Antony Stone <<a href="mailto:Antony.Stone@mailscanner.open.source.it">Antony.Stone@mailscanner.open.source.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Saturday 01 September 2018 at 11:47:10, Monis Monther wrote:<br>
<br>
> Greetings,<br>
> <br>
> Is there a way in Mailscanner to remove user created signatures, we are<br>
> applying a company signature to all outgoing mails, it works fine and as<br>
> expected, however if a user creates his own signature in outlook, we end up<br>
> with two signatures, the one created by the user first and followed by the<br>
> one injected by MailScanner.<br>
<br>
MailScanner isn't really designed to modify content which already exists in an <br>
email (other than disarming dangerous HTML tags).<br>
<br>
It can decide what to do with the email (deliver, quarantine, bounce, drop, <br>
forward) based on various tests regarding the content, so my suggestion would <br>
be to write a test which matches "start of line-dash-dash-space-end of line" <br>
and if that's found in an outbound email, bounce it back to the sender with <br>
the message "please delete the signature from your email client".<br>
<br>
> We have tried the Allow Multiple HTML Signature = no and added an <img> tag<br>
> with alt="MailScanner Signature %org-name%". Still no effect.<br>
> <br>
> Kindly your help<br>
<br>
Depending on which MTA you are using, you may be able to write (or find) a <br>
milter to remove the signatures, but I don't think MailScanner is quite the <br>
right tool for this job.<br>
<br>
Regards,<br>
<br>
<br>
Antony.<br>
<br>
-- <br>
You can tell that the day just isn't going right when you find yourself using <br>
the telephone before the toilet.<br>
<br>
                                                   Please reply to the list;<br>
                                                         please *don't* CC me.<br>
<br>
<br>
-- <br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" rel="noreferrer" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Best Regards</div><div>Monis</div></div></div>