Anti-Size‎ > ‎

Anti-Size

posted Jan 11, 2010, 3:45 PM by Chris Franklin   [ updated Jan 11, 2010, 3:45 PM ]
This filter restricts the size of emails your users can send out, but not
restrict the size of emails that come in from the outside world. 

Requires: (found on all basic linux boxs)
1. Bash
2. wc
3. du
4. awk
5. date

Install How To: 
1. Download anti-size.tgz
2. Uncompress it into "[MAILROOT]/filters/"
3. Edit filters.post-data.tab 

4. Add in this line : 
"[MAILROOT]/filters/anti-size.sh"[TAB]"@@FILE"[TAB]"4"[TAB]"@@USERAUTH"

5. At any time you can chnage the "4" to any whole number. This is the number
(in MB's) that will be the MAX message size allowed.

5. chmod it (at least) 111
6. Done
ċ
anti-size.tgz.gz
(10k)
Chris Franklin,
Jan 11, 2010, 3:45 PM
Comments