本機能は,sendmailの機能を使用して制限することができます。次の手順で設定してください。
M=制限サイズ
Msmtpgw, P=/smtpbin/mhs_mailer, F=DxhFmMSu,
S=28/28, R=28/28, M=1000, A=mhs_mailer $u
<エラーメールの内容例>
主題:Returned mail: Service unavailable
本文:
The original message was received at Thu, 18 Apr 2002 18:16:33 +0900
from [000.00.00.00]
----- The following addresses had permanent fatal errors -----
<taro@smtpgw.xxxxx.co.jp>
<hanako@smtpgw.xxxxx.co.jp>
----- Transcript of session follows -----
552 <taro@smtpgw.xxxxx.co.jp>... Message is too large; 1000 bytes max
554 <taro@smtpgw.xxxxx.co.jp>... Service unavailable
552 <hanako@smtpgw.xxxxx.co.jp>... Message is too large; 1000 bytes max
554 <hanako@smtpgw.xxxxx.co.jp>... Service unavailable