Project

General

Profile

Actions

Bug #4134

closed

Email notifications configuration migration to 2.2 broken (STARTTLS)

Added by Kill Bill over 9 years ago. Updated over 9 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.

Actions #1

Updated by Renato Botelho over 9 years ago

  • Assignee set to Renato Botelho
Actions #2

Updated by Renato Botelho over 9 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #4

Updated by Kill Bill over 9 years ago

Works, thanks.

Actions #5

Updated by Renato Botelho over 9 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF