Open wafcio opened 9 years ago
The current master branch contains retry logic to ensure the daemon is kept running: https://github.com/titanous/mailman/commit/153767a1c91ed431577c04d1539b06f9054aca08
I assume the imap server closes the connection after a certain timeout.
thanks it helped but now I have started receiving little different emails:
An OpenSSL::SSL::SSLError occurred in background at 11 February 2015 : SSL_connect SYSCALL returned=5 errno=0 state=unknown state /home/user/.rbenv/versions/2.2.0/lib/ruby/2.2.0/net/imap.rb:1467:in `connect' ------------------------------- Backtrace: ------------------------------- /home/user/.rbenv/versions/2.2.0/lib/ruby/2.2.0/net/imap.rb:1467:in `connect' /home/user/.rbenv/versions/2.2.0/lib/ruby/2.2.0/net/imap.rb:1467:in `start_tls_session' /home/user/.rbenv/versions/2.2.0/lib/ruby/2.2.0/net/imap.rb:1060:in `initialize' /home/user/www/shared/bundle/ruby/2.2.0/bundler/gems/mailman-e16f20173b51/lib/mailman/receiver/imap.rb:49:in `new' /home/user/www/shared/bundle/ruby/2.2.0/bundler/gems/mailman-e16f20173b51/lib/mailman/receiver/imap.rb:49:in `connect' /home/user/www/shared/bundle/ruby/2.2.0/bundler/gems/mailman-e16f20173b51/lib/mailman/application.rb:139:in `block in polling_loop' /home/user/www/shared/bundle/ruby/2.2.0/bundler/gems/mailman-e16f20173b51/lib/mailman/application.rb:137:in `loop' /home/user/www/shared/bundle/ruby/2.2.0/bundler/gems/mailman-e16f20173b51/lib/mailman/application.rb:137:in `polling_loop' /home/user/www/shared/bundle/ruby/2.2.0/bundler/gems/mailman-e16f20173b51/lib/mailman/application.rb:81:in `run' /home/user/www/shared/bundle/ruby/2.2.0/bundler/gems/mailman-e16f20173b51/lib/mailman/application.rb:15:in `run' /home/user/www/current/lib/incoming_mail.rb:26:in `call' bin/mailer:5:in `' ------------------------------- Data: ------------------------------- * data: {}
We are using mailman with gmail account, connected through imap and everyday we get several exception mails with closed stream exception.
Do you have any suggestions how to fix it ?