Maximum Message Size Ruleset???

Jorge Agrelo jagrelo at
Wed Oct 22 21:30:20 IST 2003

Hello All,

I'm tring to apply some size message restrictions according to this MailScanner feature.

# The maximum size of any message including the headers. If this is set to zero,
# then no size checking is done.
# This can also be the filename of a ruleset, so you can have
# different settings for different users. You might want to set this quite small for
# dialup users so their email applications don't time out downloading huge messages
Maximun Message Size = 0

In that sense I added a ruleset in this MailScanner line as follow:

Maximum Message Size = /etc/MailScanner/rules/sizes.rules

# this is the file I created to put the size rules
From:   user at 200

I guess 200 means 200 bytes???, There is no examples of this ruleset

I sent a Mail (100K) from user at and I received it with a text in the subject
that said {DANGEROUS}, I want to change the default action for bounce,, How Can I do
that?, What is the correct syntax for this ruleset? Any examples ???


More information about the MailScanner mailing list