Project

General

Profile

Actions

Feature #7811

closed

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

Added by Eric Chaplet almost 14 years ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
2011-03-08
Due date:
% Done:

0%

Estimated time:
Resolution:
Wont fix

Description

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."


Related issues

Related to Redmine - Feature #7723: Proper Microsoft Exchange supportNew2011-02-25

Actions
Has duplicate Redmine - Feature #18901: Redmine email smtp configuration still not support Microsoft Exchange Server NTLM and KerberosClosed

Actions
Actions #1

Updated by Etienne Massip almost 14 years ago

  • Tracker changed from Defect to Feature

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

Actions #2

Updated by Etienne Massip almost 14 years ago

  • Subject changed from Mail notification doesn't work with Exchange Server in NTLM authentication mode to Add support for NTLM authentication mode for mail sending via Exchange Server
  • Priority changed from High to Normal
Actions #3

Updated by Pavel Rudensky over 12 years ago

Very Need this issue!!

Actions #4

Updated by Gert van Dijk over 12 years ago

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

Actions #5

Updated by Pavel Rudensky over 12 years ago

Actions #7

Updated by Anonymous about 12 years ago

+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?

Actions #8

Updated by Florent Fievez about 12 years ago

The solution that worked for me :

1. Create a Gemfile.local containing "ruby-ntlm" :

# echo 'gem "ruby-ntlm"' > /path/to/redmine/Gemfile.local

2. Install the Gem with :

# bundle install

3. Add the following line to /path/to/redmine/config/environment.rb

require 'ntlm/smtp'

4. Configure your smtp connection in /path/to/redmine/config/configuration.yml

# 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'

Actions #9

Updated by Toshi MARUYAMA almost 10 years ago

  • Has duplicate Feature #18901: Redmine email smtp configuration still not support Microsoft Exchange Server NTLM and Kerberos added
Actions #10

Updated by Go MAEDA 11 months ago

  • Status changed from New to Closed
  • Resolution set to Wont fix

I am closing this issue because ActionMailer in Ruby on Rails does not natively support NTLM authentication for connecting to an SMTP server and there is nothing that can be done on the Redmine side.

The comment #note-8 may be a solution.

Actions

Also available in: Atom PDF