> ------------------------------------------------------------------------ <
Mlocal, P=/bin/mail, F=lsDFMrmn, S=10, R=20/40,
Maxsize=1000000,
A=mail -d $u
Mprog, P=/usr/local/sendmail/smrsh, F=lsDFMeu, S=10, R=20/40, D=$z:/,
Maxsize=1000000,
A=sh -c $u
> ------------------------------------------------------------------------ <
This limits incoming mail processed by by smrsh and /bin/mail to 1 million
bytes.
这样就限制了最大邮件为1M。
You can do the same with the Mstmp, Mesmtp, and Mrelay statements to limit
the size of outgoing mail as well.