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