Email signing

Julian Field mailscanner at ecs.soton.ac.uk
Thu Aug 14 12:31:15 IST 2003


At 12:13 14/08/2003, you wrote:
>Cool - I have a meeting later to see just how important having a pre-pended
>notice of confidentiality is.
>
>Just a quick question regarding the example code you gave earlier for
>signinging clean messages. At the moment I am using a ruleset to only sign
>outgoing messages. Can I call a function from a ruleset - ie. Can I use the
>following in a ruleset:
>
>From:           *@winckworths.co.uk     &SignClean

No. The Custom Function takes over in place of the ruleset. You would need
to add a

return 0 if $message->{fromdomain} =~ /winckworths\.co\.uk/;

to the code.

>Also the SignClean code only returns a 1 or 0 based on whether a text string
>is contained in the subject of the email. I need a function that will always
>add one of two possible signatures depending on whether the string is
>present in the subject of an email.
>
>ie. If subject contains ..JK.. Then add Signature1 else add Signature2

Ah! If you said that before, I must have missed it.

So actually you don't want to control whether the sig is added or not, but
which sig to add. In that case the Custom Function wants to be tied to the
Inline HTML Signature
Inline Text Signature
parameters. You want to make the code return the location of a text file or
HTML file as appropriate.
If you need help writing this, give me a shout.


>Cheers,
>
>Sam
>
>-----Original Message-----
>From: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
>Sent: 13 August 2003 19:19
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: Re: Email signing
>
>
>It has turned out not to be too hard to do.
>I won't implement it now, but if it causes them to start thinking about
>using another product instead of MailScanner, then get back to me and I will
>write it quickly for you. Don't like losing users!
>
>If the disclaimer at the bottom of the mail is called the "signature", what
>do you call the signature at the top of the mail?
>
>At 19:05 13/08/2003, you wrote:
> >Thanks Julian - that's a great help I will tackle that tomorrow.
> >
> >As far as the disclaimer goes - don't! I have been fighting this one
> >tooth and nail, and I think our current disclaimer is way too long
> >anyway (my opinion - not the firms - obviously!) but unless you are a
> >lawyer you cant argue with one and expect to win!!
> >
> >I am hoping that if I just say it cant be done then they will just
> >accept it as it is so saving us all a LOT of bother.
> >
> >Sam
> >
>
>--------------
>Winckworth Sherwood Solicitors and Parliamentary Agents
>DX 148400 WESTMINSTER 5 : 35 Great Peter Street, London SW1P 3LR
>Telephone 020 7593 5000 Fax 020 7593 5099
>
>Do something amazing!
>The firm is supporting a charitable bike ride through Vietnam and needs
>your help. For further information please visit http://www.vietnambikeride.org
>
>-Confidentiality-
>This email message and any attachments are confidential; they may be
>subject to legal professional privilege and are intended for the named
>recipient only. If you are not the named recipient, please return the
>message and enclosures immediately and delete them from your system.
>
>-Caution-
>Before advice received only by email (whether by attachment or otherwise)
>may be relied on, the authenticity of the communication must be verified
>by means independent of email.
>
>-Regulation-
>The firm is regulated by the Law Society.
>
>-Partners-
>A list of partners is available for inspection at each office of the firm
>and on the firm's website at http://www.winckworths.co.uk

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list