Project

General

Profile

Actions

Bug #4134

closed
KB RB

Email notifications configuration migration to 2.2 broken (STARTTLS)

Bug #4134: Email notifications configuration migration to 2.2 broken (STARTTLS)

Added by Kill Bill over 11 years ago. Updated over 11 years ago.

Status:
Resolved
Priority:
Normal
Category:
Configuration Upgrade
Target version:
Start date:
12/20/2014
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.2
Affected Architecture:
All

Description

2.1.x config snippet:

<smtp>
    <ipaddress>mail.example.com<ipaddress>
    <port/>
    <ssl>unchecked</ssl>
    <tls>checked</tls>
    <notifyemailaddress>admin@example.com</notifyemailaddress>
    <username>admin@example.com</username>
    <password>asdfghjkl</password>
    <fromaddress>admin@example.com</fromaddress>
</smtp>

Results exactly in the same config with 2.2-RC after upgrade.

Looking at mail server logs, this does not attempt to use STARTTLS or anything, spews some garbage, connection gets terminated by mailserver due to too many errors and nothing gets sent. At this stage, the GUI looks like this:

After I uncheck Enable SMTP over SSL/TLS and click save, the following is saved:

<smtp>
    <ipaddress>mail.example.com</ipaddress>
    <port/>
    <tls/>
    <notifyemailaddress>admin@example.com</notifyemailaddress>
    <username>admin@example.com</username>
    <password>asdfghjkl</password>
    <fromaddress>admin@example.com</fromaddress>
</smtp>

STARTTLS is sent at the start of the sessions and everything works again.

RB Updated by Renato Botelho over 11 years ago Actions #1

  • Assignee set to Renato Botelho

RB Updated by Renato Botelho over 11 years ago Actions #2

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Applied in changeset commit:ccf30846e7b7651da65ab0b5f44e77c70ba8c0d9.

RB Updated by Renato Botelho over 11 years ago Actions #3

Applied in changeset commit:792dbafd7b83e40e5bb9383294e2abb2b2ad083c.

KB Updated by Kill Bill over 11 years ago Actions #4

Works, thanks.

RB Updated by Renato Botelho over 11 years ago Actions #5

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom