Your client (Thunderbird or Outlook) get time outs while you send mails or change between directories.
The first what you should do, check your logs:
This can be your possible error:
1 | server imapd: 40 maximum active connections. |
Solve this problem by changing the limitation:
1 2 3 4 | vim /etc/courier/imapd MAXDAEMONS=40 # change to: MAXDAEMONS=60 |
By the way, how to enable logging:
1 | mkdir /var/log/courier |
1 | vim /etc/rsyslog.d/10-courier.conf |
Content:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | if \ ($programname contains 'courier' \ or \ $programname contains 'authdaemond' \ or \ $programname contains 'imapd' \ or \ $programname contains 'pop3d') \ and \ $syslogseverity-text == 'crit' \ then \ /var/log/courier/courier.crit if \ ($programname contains 'courier' \ or \ $programname contains 'authdaemond' \ or \ $programname contains 'imapd' \ or \ $programname contains 'pop3d') \ and \ $syslogseverity-text == 'err' \ then \ -/var/log/courier/courier.err if \ ($programname contains 'courier' \ or \ $programname contains 'authdaemond' \ or \ $programname contains 'imapd' \ or \ $programname contains 'pop3d') \ and not \ ($syslogseverity-text == 'crit' \ or \ $syslogseverity-text == 'err') \ then \ -/var/log/courier/courier.log & ~ |
Logrotate for couroer:
1 2 3 4 5 6 7 8 9 | /var/log/courier/courier.* { daily missingok rotate 356 compress delaycompress notifempty create 644 root root } |
[…] 友情连接:http://zeldor.biz/2011/02/courier-time-outs/ 您可以任意转载本文,但转载时请以超链接形式标明文章原始出处和作者信息及版权声明 作者:danny,原文链接:http://www.hidba.net/20111231/610.html [复制本文链接发送给您的好友] (No Ratings Yet) Loading … Tags: emos imapd […]