Can't get incoming mails
Added by xtu tut over 13 years ago
I'm using redmine 1.2.0
and trying to get mails from remote pop3 server like this
rake -f /srv/redmine/Rakefile --trace redmine:email:receive_pop3 RAILS_ENV="production" host=xxx port=xxx username=xxx password=xxx ssl=1 apop=1 project=xxxx allow_override=project,tracker,priority
in this case i'm getting next result:
** Invoke redmine:email:receive_pop3 (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute redmine:email:receive_pop3 rake aborted! execution expired /usr/lib/ruby/1.8/timeout.rb:60:in `rbuf_fill' /usr/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill' /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil' /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline' /usr/lib/ruby/1.8/net/pop.rb:974:in `recv_response' /usr/lib/ruby/1.8/net/pop.rb:873:in `initialize' /usr/lib/ruby/1.8/net/pop.rb:990:in `critical' /usr/lib/ruby/1.8/net/pop.rb:873:in `initialize' /usr/lib/ruby/1.8/net/pop.rb:551:in `new' /usr/lib/ruby/1.8/net/pop.rb:551:in `do_start' /usr/lib/ruby/1.8/net/pop.rb:522:in `start' /srv/redmine/lib/redmine/pop3.rb:31:in `check' /srv/redmine/lib/tasks/email.rake:166 /usr/lib/ruby/1.8/rake.rb:636:in `call' /usr/lib/ruby/1.8/rake.rb:636:in `execute' /usr/lib/ruby/1.8/rake.rb:631:in `each' /usr/lib/ruby/1.8/rake.rb:631:in `execute' /usr/lib/ruby/1.8/rake.rb:597:in `invoke_with_call_chain' /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize' /usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain' /usr/lib/ruby/1.8/rake.rb:583:in `invoke' /usr/lib/ruby/1.8/rake.rb:2051:in `invoke_task' /usr/lib/ruby/1.8/rake.rb:2029:in `top_level' /usr/lib/ruby/1.8/rake.rb:2029:in `each' /usr/lib/ruby/1.8/rake.rb:2029:in `top_level' /usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:2023:in `top_level' /usr/lib/ruby/1.8/rake.rb:2001:in `run' /usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1998:in `run' /usr/bin/rake:28
I'm nothing to know in ruby at all...
what i should do, to fix this ?
P.S. Mail settings is correct, i'm using it in my mail client software
Replies (1)
RE: Can't get incoming mails - Added by Miguel Filho almost 13 years ago
I had the same problem when using Gmail. Searching on Google I have found that the POP3 implementation of Ruby 1.8 is the problem. I switched to IMAP and everything worked fine.