Disclaimer only for outgoing mail?

Julian Field MailScanner at ecs.soton.ac.uk
Thu Jun 16 13:52:10 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

The "Sign Messages Already Processed" option will stop you getting
multiple sigs from multiple passes through MailScanner. But you are
trying to look for your signature text appearing in some (quite possibly
quoted in some random fashion) form at or near the bottom of your
messages. You will need a Custom Function to do this which controls the
"Sign Clean Messages" option, and works by looking for bits out of your
sig near the end of the message. Impossibly to do in the generic case,
but you could do it if you know what sort of words you are looking for,
and where you might want to look.

It will take a bit of coding, but shouldn't be a huge job. Once you've
got it right, it will probably only be 20 lines of code, it's just 20
lines that might take a little while to write.

If you want to pay me to do it, then I will, but this would be at full
consulting rates.

On 16 Jun 2005, at 13:26, Matt Kehler wrote:

      More on this; is there any way to have the disclaimer only
      applied ONCE?   Meaning if someone from your company (who
      gets the disclaimer appended on outgoing) sends an email back
      and forth to someone on the 'outside' 5 times...every time
      you reply out, the disclaimer will get appended again.
 
Bottom line is, if you reply back and forth like this..your message
ends up getting filled up by pages and pages of disclaimers (in our
case, its big, and in 2 languages...). 
 
thx
Matt

>>> rakesh at NETCORE.CO.IN 6/16/2005 7:06 AM >>>
Rainer Blaes wrote:

> Dear experts,
> we are using the "Sign clean message" feature to add our firm's
> Disclaimer/footer to each mail.
> It's working quite well but has of course the effect that also
the
> incoming mails carry this text.
> Is there any way within Mailscanner.conf to restrict the
Disclaimer
> attachment only to our outgoing mail?
>
> Many thanks in advance!

Oh boy you have got a really big disclaimer :-)

the solution to your prob

Sign Clean Messages = %rules-dir%/disclaimer.rules

In disclaimer.rules if you want to put disclaimers for outgoing
mails
only then

From: yourdomain.com And To: yourdomain.com   no
FromOrTo: default yes


In this mails having from address as "yourdomain.com" to
"yourdomain.com"  will not have disclaimers, but from
"yourdomain.com"
to "yahoo.com" will have disclaimer.

Incase of Multiple Recipients, the default rules will apply....
i.e.
disclaimer will be attached provided you have

Use Default Rules With Multiple Recipients = yes

Rakesh


----------------------------------------------------------
Netcore Solutions Pvt. Ltd.
Website:  http://www.netcore.co.in
Spamtraps: http://cleanmail.netcore.co.in/directory.html
----------------------------------------------------------

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


-- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

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