歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux綜合 >> Linux資訊 >> Linux文化

設置sendmail拒收大郵件


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


Copyright © Linux教程網 All Rights Reserved