Mantis package does not support SMTP based e-mailing

Bug #548708 reported by Alaak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mantis (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: mantis

I tried to setup E-Mail notification using the mantis package from the ubuntu repository with ubuntu 9.10. I already did this setup successfully on a Windows XP Machine in the same network and so I simply copied the settings from config_inc.php on the windows machine to the configuration on the ubuntu machine. At first I tried with config_local.php then with config_inc.php. But E-Mailing did not work. Logging did also not work. I commented out the database settings to check if the configuration file is even read. It is! I also setup my SMTP Server in my E-Mail Programm on the ubuntu machine and was able to send E-Mails with the same settings I used to setup mantis.
Finally I removed the mantis package and tried a manual installation of mantis (using version 1.2 however). Everything works fine with the same settings as in the packaged version, so I think there is some configuration bug in the package. The parameters are (a little changed to hide my credentials):

<?php
        $g_hostname = 'localhost';
        $g_db_type = 'mysql';
        $g_database_name = 'bugtracker';
        $g_db_username = 'dbusername';
        $g_db_password = 'dbpassword;

        $g_administrator_email='myemailaddress';
        $g_webmaster_email='myemailaddress';
        $g_from_email='noreplyaddress';
        $g_return_path_email='myemailaddress';
        $g_enable_email_notification=ON;
        $g_phpMailer_method = PHPMAILER_METHOD_SMTP; # or 2 in the case of the mantis package
        $g_smtp_host = 'myserver:myport';
        $g_smtp_username = 'smtpusername';
        $g_smtp_password = 'smtppassword';
        $g_from_name = 'somename';

?>

Since logging did not work I can not provide any further error details.

ProblemType: Bug
Architecture: amd64
Date: Fri Mar 26 09:37:05 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027.1)
Package: mantis 1.1.8+dfsg-3
PackageArchitecture: all
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-19.56-generic
SourcePackage: mantis
Uname: Linux 2.6.31-19-generic x86_64
XsessionErrors:
 (gnome-settings-daemon:1839): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
 (nautilus:1898): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
 (polkit-gnome-authentication-agent-1:1921): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

Revision history for this message
Alaak (alaak-gmx) wrote :
Revision history for this message
Dario Minnucci (midget) wrote :

Since mantis uses phpmailer for email transactions, and is not such bug under phpmailer, it's seems a user misconfiguration.

Recheck your settings [0]

[0] http://www.mantisbt.org/wiki/doku.php/mantisbt:instantmantis_faq

Changed in mantis (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.