プロジェクト

全般

プロフィール

Vote #69426

未完了

Add support for NTLM authentication mode for mail sending via Exchange Server

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Email notifications_9
対象バージョン:
-
開始日:
2011/03/08
期日:
進捗率:

0%

予定工数:
category_id:
9
version_id:
0
issue_org_id:
7811
author_id:
26885
assigned_to_id:
0
comments:
9
status_id:
1
tracker_id:
2
plus1:
1
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

The mail notification system doesn't work with Exchange Server 2007 in NTLM authentication mode

The only authentication mode allowed by our exchange server is NTLM and redmine sends an error while connecting.

See javamail 1.4.4 feature (ntlm support)for example : http://www.oracle.com/technetwork/java/javaee/index-138643.html
"- NTLM authentication support is now integrated, no longer need jcifs.jar."


journals

AFAIK, NTLM authentication is not supported by redmine as of today, so this is a feature.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Very Need this issue!!
--------------------------------------------------------------------------------
A workaround for this could be to install a local MTA on the machine running Redmine and let it relay to the Exchange server.
Here's a how to I found for Postfix as MTA and NTLM-authenticated client for relaying mail (not for Redmine, but for Trixbox): "Getting trixbox 2.6.2.2 Postfix to relay through Exchange Server 2007":http://alasdaircs.wordpress.com/2009/04/27/getting-trixbox-2-6-2-2-postfix-to-relay-through-exchange-server-2007/
--------------------------------------------------------------------------------
This issue resolve problem http://www.redmine.org/boards/2/topics/4969

--------------------------------------------------------------------------------
Please also read :
http://www.breckenedge.com/2011/07/configuration-of-ruby-on-rails-actionmailer-for-microsoft-exchange-smtp/

--------------------------------------------------------------------------------
+1 !
I also would need this feature...

Sending mails via smtp using an exchange server (auth-method ntlm) is not possible at the moment. Many companies (as ours) use exchanges based email services and if redmine supported ntlm this would help us (and many others) very much.
Maybe redmine will support ntlm auth method in one of the next releases?
--------------------------------------------------------------------------------
The solution that worked for me :

1. Create a Gemfile.local containing "ruby-ntlm" :
<pre>
# echo 'gem "ruby-ntlm"' > /path/to/redmine/Gemfile.local
</pre>

2. Install the Gem with :
<pre>
# bundle install
</pre>

3. Add the following line to /path/to/redmine/config/environment.rb
<pre>
require 'ntlm/smtp'
</pre>

4. Configure your smtp connection in /path/to/redmine/config/configuration.yml
<pre>
# default configuration options for all environments
default:
email_delivery:
delivery_method: :smtp
smtp_settings:
address: exchange.domain.com
port: 25
domain: domain.com
authentication: :ntlm
user_name: 'user'
password: 'pass'
</pre>
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,New,7723,Proper Microsoft Exchange support
duplicates,Closed,18901,Redmine email smtp configuration still not support Microsoft Exchange Server NTLM and Kerberos

Admin Redmine さんがほぼ2年前に更新

  • カテゴリEmail notifications_9 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0