最近不知為什麼兩三天 就會無法收信也無法寄信
檢查 /var/log/exim4/mainlog 發現最後面都是這種訊息
- 代碼: 選擇全部
2005-05-26 09:02:06 Connection from 220.163.63.5 refused: too many connections
2005-05-26 09:02:10 Connection from 211.73.161.135 refused: too many connections
2005-05-26 09:03:04 Connection from 220.163.36.252 refused: too many connections
2005-05-26 09:05:26 Connection from 218.63.95.156 refused: too many connections
2005-05-26 09:05:37 Connection from 211.20.191.12 refused: too many connections
2005-05-26 09:05:37 Connection from 220.163.38.131 refused: too many connections
2005-05-26 09:05:52 Connection from 220.163.37.8 refused: too many connections
2005-05-26 09:05:58 Connection from 220.163.64.25 refused: too many connections
2005-05-26 09:06:19 Connection from 211.240.63.79 refused: too many connections
2005-05-26 09:06:36 Connection from 211.20.191.12 refused: too many connections
2005-05-26 09:06:46 Connection from 163.22.2.38 refused: too many connections
2005-05-26 09:07:36 Connection from 211.20.191.12 refused: too many connections
2005-05-26 09:07:38 Connection from 61.63.35.63 refused: too many connections
2005-05-26 09:07:52 Connection from 211.72.253.151 refused: too many connections
2005-05-26 09:08:09 Connection from 218.20.61.27 refused: too many connections
2005-05-26 09:09:03 Connection from 220.163.80.100 refused: too many connections
2005-05-26 09:09:26 Connection from 211.20.188.86 refused: too many connections
2005-05-26 09:09:39 Connection from 218.63.95.156 refused: too many connections
2005-05-26 09:09:52 Connection from 61.63.35.63 refused: too many connections
2005-05-26 09:10:56 Connection from 69.25.3.78 refused: too many connections
2005-05-26 09:11:32 Connection from 220.163.77.13 refused: too many connections
我用google查過有人說是要設定以下參數
- 代碼: 選擇全部
smtp_accept_keepalive = true
smtp_accept_max = 320
smtp_accept_max_per_host = 16
smtp_accept_queue = 128
smtp_accept_reserve = 20
smtp_connect_backlog = 16
smtp_check_spool_space = true
smtp_receive_timeout = 18m
但是是要加在哪個檔裡面呢?