Report "Message too large" to sender?
Julian Field
mailscanner at ecs.soton.ac.uk
Sun Sep 12 13:08:48 IST 2004
<x-flowed>
At 12:56 12/09/2004, you wrote:
>I read about the rules and rule-making. Now I know how to make a rule of
>outgoing mail only however I can't seem to find any information on
>customizing the reports sent to mail-sender. Is there any way I can point
>to a desired report file in my rule? Can I make my own report file and tell
>the rule to point to it once the condition has been fulfilled? I think I
>can, but since the rule file has three columns - FromOrTo; pattern; yes/no -
> and the target of the report file is put in the third column, can I set an
>action for the pattern and define a report file to be used for that pattern?
>How to do it?
The right hand column in a rule is the value you want for the setting when
the condition matches. It is a yes or no only if that is what the
configuration option wants.
So if you want different report files as a result of the rule, then put the
filename in there instead.
So for example you could have rules that look like this sort of thing:
To: @mydomain.com /etc/MailScanner/reports/incoming.report.txt
From: @mydomain.com /etc/MailScanner/reports/outgoing.report.txt
--
Julian Field
www.MailScanner.info
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
------------------------ 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 MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
</x-flowed>
More information about the MailScanner
mailing list