Redmine receiving emails not working
Added by Mike Graves almost 10 years ago
Hi,
I am trying to get redmine to receive emails using the methods shown at:
http://www.jasonwatmore.com/post/2012/02/20/Setting-up-Redmine-on-Windows-Server-2008-with-email-via-Exchange.aspx
http://www.redmine.org/projects/redmine/wiki/RedmineReceivingEmails (2nd option)
I've searched high and low on forums etc and can't see anything wrong with my batch file, am I missing something stupid? I'm running it on Windows Server 2008R2
Here is my batch file:
CALL C:\Bitnami\redmine-2.5.1-1\scripts\setenv.bat cd C:\Bitnami\redmine-2.5.1-1\apps\redmine\htdocs CALL bundle exec rake redmine:email:receive_imap RAILS_ENV="production" host=MAIL.DERP.ORG.UK port=25 username=derpuser password=derpderp project=it-support allow_override=project,tracker,priority
And here is the output. It gets this far then seems to hang..
C:\Bitnami\redmine-2.5.1-1\apps\redmine\scripts>CALL C:\Bitnami\redmine-2.5.1-1 \scripts\setenv.bat C:\Bitnami\redmine-2.5.1-1\apps\redmine\scripts>set PATH=C:\Bitnami\redmine-2.5. 1-1/git\cmd;C:\Bitnami\redmine-2.5.1-1/DevKit\bin;C:\Bitnami\redmine-2.5.1-1/Dev Kit\mingw\bin;C:\Bitnami\redmine-2.5.1-1/sqlite;C:\Bitnami\redmine-2.5.1-1\image magick;C:\Bitnami\redmine-2.5.1-1\ruby\bin;C:\Bitnami\redmine-2.5.1-1/subversion \bin;C:/Bitnami/redmine-2.5.1-1/php;C:\Bitnami\redmine-2.5.1-1/mysql\bin;C:\WIND OWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\WindowsPowe rShell\v1.0;C:\Apex\PTF;C:\Apex\Bin C:\Bitnami\redmine-2.5.1-1\apps\redmine\scripts>rem ##### GIT ENV ##### C:\Bitnami\redmine-2.5.1-1\apps\redmine\scripts>rem ##### SQLITE ENV ##### C:\Bitnami\redmine-2.5.1-1\apps\redmine\scripts>rem ##### IMAGEMAGICK ENV ##### C:\Bitnami\redmine-2.5.1-1\apps\redmine\scripts>set MAGICK_HOME=C:\Bitnami\redmi ne-2.5.1-1\imagemagick C:\Bitnami\redmine-2.5.1-1\apps\redmine\scripts>set MAGICK_CONFIGURE_PATH=C:\Bit nami\redmine-2.5.1-1\imagemagick\config C:\Bitnami\redmine-2.5.1-1\apps\redmine\scripts>set MAGICK_CODER_MODULE_PATH=C:\ Bitnami\redmine-2.5.1-1\imagemagick\modules\coders C:\Bitnami\redmine-2.5.1-1\apps\redmine\scripts>rem ##### RUBY ENV ##### C:\Bitnami\redmine-2.5.1-1\apps\redmine\scripts>set RUBYOPT=rubygems C:\Bitnami\redmine-2.5.1-1\apps\redmine\scripts>set HOME= C:\Bitnami\redmine-2.5.1-1\apps\redmine\scripts>rem ##### SUBVERSION ENV ##### C:\Bitnami\redmine-2.5.1-1\apps\redmine\scripts>rem ##### PHP ENV ##### C:\Bitnami\redmine-2.5.1-1\apps\redmine\scripts>set PHPRC=C:/Bitnami/redmine-2.5 .1-1/php C:\Bitnami\redmine-2.5.1-1\apps\redmine\scripts>rem ##### MYSQL ENV ##### C:\Bitnami\redmine-2.5.1-1\apps\redmine\scripts>rem ##### APACHE ENV ##### C:\Bitnami\redmine-2.5.1-1\apps\redmine\scripts>rem ##### SSL ENV ##### C:\Bitnami\redmine-2.5.1-1\apps\redmine\scripts>set OPENSSL_CONF=C:\Bitnami\redm ine-2.5.1-1/apache2/conf\openssl.cnf C:\Bitnami\redmine-2.5.1-1\apps\redmine\scripts>cd C:\Bitnami\redmine-2.5.1-1/ap ps/redmine/htdocs C:\Bitnami\redmine-2.5.1-1\apps\redmine\htdocs>CALL bundle exec rake redmine:ema il:receive_imap RAILS_ENV="production" host=MAIL.DERP.ORG.UK port=25 usernam e=derpuser password=derpderp project=it-support allow_override=project,tracker, priority