feature request

Julian Field MailScanner at ecs.soton.ac.uk
Thu Oct 20 18:11:09 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. ]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is all in the book :-)
You have bought your copy, haven't you?

Greg Matthews wrote:

>1. I've been asked to implement a form of disclaimer for outgoing email
>(I know I know). However, my setup is quite complex and some mail will
>traverse more than one relay. In this case, the message gets signed with
>the inline signature more than once. Can the first sig be detected and
>signing skipped?
>  
>
Set "Sign Messages Already Processed = no" and set the %org-name% the 
same in all your MailScanners. It uses the presence of the 
X-%org-name%-MailScanner: header to work out if it still needs signing. 
It's about the only time MailScanner uses the contents of a header to 
affect processing.

>2. also related to this subject. I'm relaying mail for many different
>domains but I'd really only like to sign mail destined for non-managed
>domains ie external mail. Is it possible to implement sets in the rules
>so that I can group all my domains into a set and turn off signing for
>mail destined there with one statement?
>
>DOMAINS="one.domain.org two.domain.com another.ac.uk"
>To:	$DOMAINS	no
>From:	$DOMAINS	yes
>
>or similar?
>  
>
Yes. Create a file called, for example, /etc/MailScanner/domain.list and 
put this in it:
one.domain.org
two.domain.com
another.ac.uk

Then in the ruleset use this:
To: /etc/MailScanner/domain.list no
From: /etc/MailScanner/domain.list yes

It's not true ruleset nesting, it is just using a list of address 
patterns to save you having to write multiple rules yourself. It is 
implemented by generating a rule for every address pattern listed in 
your domain.list file. So they can be anything allowed in an address 
pattern, domain names, email addresses, perl regexps, etc, etc...

- -- 
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Professional Support Services at www.MailScanner.biz
MailScanner thanks transtec Computers for their support

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654


-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.2 (Build 2424)

iQA/AwUBQ1fPrhH2WUcUFbZUEQLLSgCgnG+VbAsamng1R+bEBjB2Cr2SPpoAoI/B
XzHrV5KFK9mEV+WnxIXiGnFr
=iKGM
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

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