Your message dated Wed, 17 Oct 2012 07:45:05 +0200
with message-id <c3cca157cc116efdd311d352a35b7e17@localhost>
and subject line Re: Bug#689133: mantis: Does not work with TLS+auth on smtp 
mail setups
has caused the Debian Bug report #689133,
regarding mantis: Does not work with TLS+auth on smtp mail setups
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
689133: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689133
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mantis
Version: 1.1.8+dfsg-10squeeze2
Severity: normal

Hi,

Mantis from squeeze does not work with TLS on smtp email delivery
method.
Eg. if authentication requires tls to be enabled.

After checking the source it is because mantis as in squeeze does simply
not forward the 'g_smtp_connection_mode' setting to phpmailer.

A quick fix was to just add this to the email_send function used in
core/

I just put it in a branch which is only called if PHPMAILER_METHOD_SMTP is used:

if ( !is_blank( config_get( 'smtp_connection_mode' ) ) ) {
    $mail->SMTPSecure = config_get( 'smtp_connection_mode' );
}

After this little change smtp+tls+auth worked without problems.

Michael Gebetsroither

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

--- End Message ---
--- Begin Message ---
Hi Michael,

The 'g_smtp_connection_mode' setting was implemented in mantis on >1.2.x
versions.

This issue it could not be reproduced on mantis 1.1.8 versions because the
'g_smtp_connection_mode' setting to phpmailer is NOT present on this
version. 

If you are using this setting is may be because you have declared it
manually in your configuration, and the fix you have used is "textual" the
same code which is present in the 1.2.x version on /core/email_api.php, as
a new feature.

Even it seams to be supported this functionality, it wasn't implemented by
upstream on 1.1.8, then, this will not be implemented on squeeze package,
because is a new feature added on the next version, 1.2.x. 

Thanks a lot for your report and your time.

Best Regards,

Sils

--- End Message ---

Reply via email to