|
我用的是sendmail 8.12.8,根據http://www.faqs.org/docs/Linux-mini/Mail-Queue.html#s2這篇文章做設定,修改/etc/sendmail.cf 如下地方.修改重啟後,沒有變化,與原來的一樣. 到底應如何設定,才可以把發出的郵件暫時放在queue中,然後用sendmail -q 命令一次傳送所有的郵件?
# avoid connecting to "expensive" mailers on initial submission?
O HoldExpensive=True
... later ...
##### @(#)smtp.m4 8.33 (Berkeley) 7/9/96 #####
Msmtp, P=[IPC], F=mDFMuXe, S=11/31, R=21, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Mesmtp, P=[IPC], F=mDFMuXae, S=11/31, R=21, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Msmtp8, P=[IPC], F=mDFMuX8e, S=11/31, R=21, E=\r\n, L=990,
T=DNS/RFC822/SMTP,
A=IPC $h
Mrelay, P=[IPC], F=mDFMuXa8e, S=11/31, R=61, E=\r\n, L=2040,
T=DNS/RFC822/SMTP,
A=IPC $h |
|