Project

General

Profile

Redmine Pop3 Help

Added by Gilbert Botello over 8 years ago

Hello,

Long time lurker, first time poster here on the Redmine Forums. I'm seeking assistance with retrieving and scheduling the retrieval of emails via PoP3 connection. I've tried for 2 days now to sort it out but I cant seem to make any headway. I've also poured over http://www.redmine.org/projects/redmine/wiki/RedmineReceivingEmails for quite some time to no avail.
Below are a couple of scripts I've tried to run that error out or hang up entirely after running with --trace. Any help is appreciated!

C:\CRD\Bitnami>cd apps/redmine/htdocs

C:\CRD\Bitnami\apps\redmine\htdocs>dir

Directory of C:\CRD\Bitnami\apps\redmine\htdocs

07/25/2016 04:08 PM <DIR> .
07/25/2016 04:08 PM <DIR> ..
05/23/2016 01:03 PM <DIR> .bundle
03/29/2014 11:56 AM 731 .gitignore
03/29/2014 11:56 AM 607 .hgignore
03/29/2014 11:56 AM 1,326 .travis.yml
05/23/2016 01:02 PM <DIR> app
07/20/2016 08:37 AM <DIR> bin
07/25/2016 04:08 PM <DIR> bitnami
05/23/2016 01:29 PM <DIR> config
03/29/2014 11:56 AM 160 config.ru
03/29/2014 11:56 AM 240 CONTRIBUTING.md
05/23/2016 01:10 PM <DIR> db
05/23/2016 01:02 PM <DIR> doc
05/23/2016 01:02 PM <DIR> extra
05/25/2016 01:00 PM <DIR> files
07/25/2016 04:54 PM 3,520 Gemfile
07/26/2016 09:56 AM 5,817 Gemfile.lock
05/23/2016 01:02 PM <DIR> lib
07/20/2016 09:05 AM <DIR> log
07/26/2016 09:55 AM <DIR> plugins
05/23/2016 01:25 PM <DIR> public
03/29/2014 11:56 AM 275 Rakefile
03/29/2014 11:56 AM 205 README.rdoc
05/23/2016 01:02 PM <DIR> script
05/23/2016 01:02 PM <DIR> test
05/23/2016 01:02 PM <DIR> tmp
05/23/2016 01:02 PM <DIR> vendor
9 File(s) 12,881 bytes
19 Dir(s) 116,695,826,432 bytes free

C:\CRD\Bitnami\apps\redmine\htdocs>rake redmine:email:read RAILS_ENV="production" \\
rake aborted!

C:/CRD/Bitnami/apps/redmine/htdocs/plugins/rmp_group_watchers/lib/rmpgw/issue_patch.rb:7:in `<module:IssuePatch>'
C:/CRD/Bitnami/apps/redmine/htdocs/plugins/rmp_group_watchers/lib/rmpgw/issue_patch.rb:6:in `<module:Rmpgw>'
C:/CRD/Bitnami/apps/redmine/htdocs/plugins/rmp_group_watchers/lib/rmpgw/issue_patch.rb:5:in `<top (required)>'
C:/CRD/Bitnami/apps/redmine/htdocs/plugins/rmp_group_watchers/init.rb:17:in `block in <top (required)>'
C:/CRD/Bitnami/apps/redmine/htdocs/config/environment.rb:14:in `<top (required)>'
C:/CRD/Bitnami/apps/redmine/htdocs/plugins/a_common_libs/lib/tasks/saas.rake:1:in `<top (required)>'
C:/CRD/Bitnami/apps/redmine/htdocs/lib/tasks/redmine.rake:178:in `block in <top (required)>'
C:/CRD/Bitnami/apps/redmine/htdocs/lib/tasks/redmine.rake:178:in `each'
C:/CRD/Bitnami/apps/redmine/htdocs/lib/tasks/redmine.rake:178:in `<top (required)>'
C:/CRD/Bitnami/apps/redmine/htdocs/rakefile:7:in `<top (required)>'
(See full trace by running task with --trace)
Terminate batch job (Y/N)? y

C:\CRD\Bitnami\apps\redmine\htdocs>rake redmine:email:read RAILS_ENV="production" \\ project=helpdesk \\ tracker=ticket


Replies (3)

RE: Redmine Pop3 Help - Added by Pavel Potcheptsov over 8 years ago

You need redmine:email:receive_pop3 instead of redmine:email:read.

RE: Redmine Pop3 Help - Added by Gilbert Botello over 8 years ago

Thank you for taking the time to reach my issue. I tried running the script with your update which yielded a different error. Am I pointing the script to my mail server or the server where Redmine resides? Thanks in advance.

C:\CRD\Bitnami\apps\redmine\htdocs>rake redmine:email:receive_pop3 RAILS_ENV="production"
rake aborted!
No connection could be made because the target machine actively refused it. - connect(2)
C:/CRD/Bitnami/apps/redmine/htdocs/lib/redmine/pop3.rb:31:in `check'
C:/CRD/Bitnami/apps/redmine/htdocs/lib/tasks/email.rake:152:in `block (3 levels) in <top (required)>'
Tasks: TOP => redmine:email:receive_pop3
(See full trace by running task with --trace)

RE: Redmine Pop3 Help - Added by Pavel Potcheptsov over 8 years ago

rake redmine:email:receive_pop3 RAILS_ENV="production"

Is it your exact command? Or you skipped options?

    (1-3/3)