Project

General

Profile

Receiving emails via Exchange 2007

Added by Jason Price almost 15 years ago

I've just set up redmine for use within our it dept. I want to set up an email account (like ) and get an issue created automatically for it.
The problem is my mail server is exchange (so the rbm-mailhandler script is out) and I'm having difficulty setting it up with the rake imap option.
Its possibly complicated by the fact that I'm using the Bitnami stack on windows server 2008.
I can't post the results of script/about as I can't get it to run but the BitNami Redmine Stack ships with the following software versions:

- Redmine 0.8.4
- Apache 2.2.11
- ImageMagick 6.4.7
- MySQL 5.1.30
- Subversion 1.4.6
- Ruby 1.8.6
- Rails 2.1.1
- RubyGems 1.2.0

I running this command from a dos prompt:

rake redmine:email:receive_imap RAILS_ENV="production" host=https://server.domain.com username=support@domain.info password=XXXXX project=Test -ssl=1

I get back the error
getaddrinfo: no address associated with hostname.

however server.domain.com is a valid hostname and is pingable from this dos prompt.

Has anyone get any ideas as to whats going wrong (by the way everything else works brilliantly).


Replies (4)

RE: Receiving emails via Exchange 2007 - Added by Jason Price almost 15 years ago

OK got further with this now.

I've moved redmine from the bitnami stack I had running on windows to an Ubuntu server box.

I'm now trying to use the rake imap command but keep getting back
SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol
I belive this to be because the email server currently has a slef signed certificate (as its not live yet). I will be getting a valid cert for the email server but I just wanted to check with someone that this would work when I do?

RE: Receiving emails via Exchange 2007 - Added by Jason Price almost 15 years ago

I've now got a valid certifcate against the server.
I'm still getting the same error message.
Can anyone help with this?
I really need to get the incmonign emails set up.

RE: Receiving emails via Exchange 2007 - Added by William Roush over 12 years ago

+1, ability to accept self-signed certs is a huge deal for internal networks.

    (1-4/4)