[OT] - Size limit rules

Julian Field mailscanner at ecs.soton.ac.uk
Thu Dec 23 20:19:15 GMT 2004


    [ 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. ]

As long as you are running Perl 5.6.0 or newer, you should be okay. Do a 
"MailScanner -v" after installing MailScanner (or a "perl -v" before!) 
to check.

And the answer to your second question is: You can use "fromorto" in a 
rule. For example:
FromOrTo:  some
user at some.domain  100000
in the ruleset file.

Miguel Koren OBrien de Lacy wrote:

>Thank you everybody for the answers. This server runs an unmodified RH8 at the moment.
>Do I run a risk of Perl problems when I install the latest MS?
>
>Let me also ask if I undestand the solution. To limit for example someuser at some.domain
>for incoming and outgoing I would have 2 rules, one as a "from" and anoher as a "to".
>Is this correct?
>
>Miguel 
>
>--
>Konsultex Informatica (http://www.konsultex.com.br)
>
>---------- Original Message -----------
>From: Julian Field <mailscanner at ECS.SOTON.AC.UK>
>To: MAILSCANNER at JISCMAIL.AC.UK
>Sent: Thu, 23 Dec 2004 16:16:47 +0000
>Subject: Re: [OT] - Size limit rules
>
>  
>
>>Miguel Koren OBrien de Lacy wrote:
>>
>>    
>>
>>>This might be somewhat off topic. I have a need to limit the size of emails from/to
>>>certain users or certain domains to a maximum number of bytes regardless of
>>>attachments or not. This has to be with incoming and outgoing emails (to the same
>>>maximum size for both cases). This site runs qmail. Limiting the size of outgoing
>>>emails seems like a less frequent thing to do. Qmail can limit but not per user or
>>>domain. I am thinking of using Mailscanner for this purpose. Can I do that with
>>>Mailscanner in a rule set? Any other ideas for this?
>>>
>>>
>>>      
>>>
>>Yes. Please read the MailScanner.conf file to find the correct option
>>(look for the word Maximum) and read the MAQ (address at the bottom of
>>this post) or the FAQ (on www.mailscanner.info) or the book for
>>instructions on how to do this per domain and/or per user.
>>
>>--
>>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
>>
>>------------------------ 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).
>>
>>Support MailScanner development - buy the book off the website!
>>
>>-- 
>>Esta mensagem foi verificada pelo sistema de antivírus e
>> acredita-se estar livre de perigo.
>>    
>>
>------- End of Original Message -------
>
>
>  
>

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

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

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list