Project

General

Profile

newbie - help configuring incoming email

Added by Ezequiel Naftali over 14 years ago

Hi, I´m starting use redmine and I´m trying to configure the incoming email. I have read the faqs related.
When I run the rake I get the following message:
(i´m using the latest bitnami windows version)

Microsoft Windows XP [Versión 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrador>cd\

C:\>cd C:\Archivos de programa\BitNami Redmine Stack\ruby\bin

C:\Archivos de programa\BitNami Redmine Stack\ruby\bin>rake -f "C:\Archivos de p
rograma\BitNami Redmine Stack\apps\redmine\lib\tasks\email.rake" RAILS_ENV=prod
uction redmine:email:receive_pop3 host=www.xxxx.net username=xxxx@xxx.
net password=xxxxxx
(in C:/Archivos de programa/BitNami Redmine Stack/ruby/bin)
rake aborted!
Don't know how to build task 'environment'
(See full trace by running task with --trace)

Thanks,

Ezequiel


Replies (13)

RE: newbie - help configuring incoming email - Added by Felix Schäfer over 14 years ago

Redmine stable doesn't support receiving mails from pop3 yet, try imap instead.

RE: newbie - help configuring incoming email - Added by Ezequiel Naftali over 14 years ago

Hi Felix, I tried the imap option but i´m getting the same error. Any other clue?

thanks

RE: newbie - help configuring incoming email - Added by Felix Schäfer over 14 years ago

Put the RAILS_ENV=production part after the rake command redmine:email:receive_something.

RE: newbie - help configuring incoming email - Added by Felix Schäfer over 14 years ago

Put the RAILS_ENV=production part after the rake command redmine:email:receive_something.

RE: newbie - help configuring incoming email - Added by Ezequiel Naftali over 14 years ago

I´m running:

rake -f "C:\Program Files\BitNam
i Redmine Stack\apps\redmine\lib\tasks\email.rake" RAILS_ENV=production redmine
:email:receive_pop3 host=www.pisol.net username=XXX password=XXXX

I´ve also tried the standard input option also...

Thanks!

RE: newbie - help configuring incoming email - Added by Felix Schäfer over 14 years ago

Ezequiel Naftali wrote:

rake -f "C:Program FilesBitNam
i Redmine Stackapps

edminelib asksemail.rake" RAILS_ENV=production redmine

:email:receive_pop3 host=www.pisol.net username=XXX password=XXXX

Change that to rake -f "C:\Program Files\BitNami Redmine Stack\apps\redmine\lib\tasks\email.rake" redmine:email:receive_pop3 RAILS_ENV=production host=www.pisol.net username=XXX password=XXXX.

RE: newbie - help configuring incoming email - Added by Ezequiel Naftali over 14 years ago

I see you change the order for the RAILS_ENV parameter...same happens...sorry for being so insistent

RE: newbie - help configuring incoming email - Added by Felix Schäfer over 14 years ago

Please run it with --trace and post the whole output.

RE: newbie - help configuring incoming email - Added by Ezequiel Naftali over 14 years ago

Here you have it.

C:\Archivos de programa\BitNami Redmine Stack\ruby\bin> rake -f "C:\archivos de
programa\BitNami Redmine Stack\apps\redmine\lib\tasks\email.rake" redmine:email:
receive_pop3 RAILS_ENV=production host=www.pisol.net username=XXX password=XXXX
--trace
(in C:/Archivos de programa/BitNami Redmine Stack/ruby/bin)
  • Invoke redmine:email:receive_pop3 (first_time)
    rake aborted!
    Don't know how to build task 'environment'
    C:/Archivos de programa/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0
    .8.7/lib/rake.rb:1728:in `[]'
    C:/Archivos de programa/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0
    .8.7/lib/rake.rb:605:in `invoke_prerequisites'
    C:/Archivos de programa/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0
    .8.7/lib/rake.rb:604:in `each'
    C:/Archivos de programa/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0
    .8.7/lib/rake.rb:604:in `invoke_prerequisites'
    C:/Archivos de programa/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0
    .8.7/lib/rake.rb:596:in `invoke_with_call_chain'
    C:/Archivos de programa/BitNami Redmine Stack/ruby/lib/ruby/1.8/monitor.rb:242:i
    n `synchronize'
    C:/Archivos de programa/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0
    .8.7/lib/rake.rb:590:in `invoke_with_call_chain'
    C:/Archivos de programa/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0
    .8.7/lib/rake.rb:583:in `invoke'
    C:/Archivos de programa/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0
    .8.7/lib/rake.rb:2051:in `invoke_task'
    C:/Archivos de programa/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0
    .8.7/lib/rake.rb:2029:in `top_level'
    C:/Archivos de programa/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0
    .8.7/lib/rake.rb:2029:in `each'
    C:/Archivos de programa/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0
    .8.7/lib/rake.rb:2029:in `top_level'
    C:/Archivos de programa/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0
    .8.7/lib/rake.rb:2068:in `standard_exception_handling'
    C:/Archivos de programa/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0
    .8.7/lib/rake.rb:2023:in `top_level'
    C:/Archivos de programa/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0
    .8.7/lib/rake.rb:2001:in `run'
    C:/Archivos de programa/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0
    .8.7/lib/rake.rb:2068:in `standard_exception_handling'
    C:/Archivos de programa/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0
    .8.7/lib/rake.rb:1998:in `run'
    C:/Archivos de programa/BitNami Redmine Stack/ruby/lib/ruby/gems/1.8/gems/rake-0
    .8.7/bin/rake:31
    C:/Archivos de programa/BitNami Redmine Stack/ruby/bin/rake:19:in `load'
    C:/Archivos de programa/BitNami Redmine Stack/ruby/bin/rake:19

C:\Archivos de programa\BitNami Redmine Stack\ruby\bin>

RE: newbie - help configuring incoming email - Added by Felix Schäfer over 14 years ago

Try rake -f "C:\Program Files\BitNami Redmine Stack\apps\redmine\Rakefile" redmine:email:receive_pop3 RAILS_ENV=production host=www.pisol.net username=XXX password=XXXX.

RE: newbie - help configuring incoming email - Added by Ezequiel Naftali over 14 years ago

its the same thing. What have you changed?

RE: newbie - help configuring incoming email - Added by Felix Schäfer over 14 years ago

No, I've put the path to the Rakefile, not to the rake file.

RE: newbie - help configuring incoming email - Added by Ezequiel Naftali over 14 years ago

Excellent!! you have solved the problem. I get another error now but I´ll try to make it work!

Thanks for your support!!!

    (1-13/13)