Page 1 of 1

frage_zur_konfiguration_loggen_von_emails

Posted: 19 Apr 2016, 10:18
by Sasquatch
Hallo in die Runde,

nach einem erfolgreichen Testlauf funktioniert der Email-Versand momentan bei unserem neuen Mantis nicht mehr. Meine Frage hier bezieht sich aber auf das Loggen der Emails. Leider kann ich nicht mehr
sagen, woher ich die entsprechenden Zeilen zum Loggen gefunden habe. Hier die momentane Konfiguration (vielleicht liegt da ja auch irgendwo ein grober Fehler vor):

Code: Select all

<?php
	$g_hostname = 'localhost';
	$g_db_type = 'mysql';
	$g_database_name = 'bugtracker';
	$g_db_username = 'root';
	$g_db_password = '[password]';
	$g_administrator_email  = 'mantis@abc.de';
	$g_webmaster_email      = 'mantis@abc.de';
	$g_from_email           = 'mantis@abc.de';
	$g_allow_file_upload	= ON;
	$g_allow_signup			= OFF;
	$g_email_receive_own	= ON;
	$g_show_project_menu_bar = OFF;
	$g_allow_reporter_close		= ON;

                            $g_default_notify_flags =
                            array('reporter' => ON, 'handler' => ON, 'monitor' => ON,
                            'bugnotes' => ON, 'threshold_min' => MANAGER, 'threshold_max'
                            => ADMINISTRATOR);
                            $g_notify_flags['new']['threshold_min'] = MANAGER;
                            $g_notify_flags['new']['threshold_max'] = ADMINISTRATOR;

$g_notify_flags['owner']['threshold_max'] = MANAGER; 
$g_notify_flags['owner']['threshold_max'] = ADMINISTRATOR; 
$g_notify_flags['owner']['reporter'] = ON;

/* Hinzugefuegt von xyz, 20160303 */

$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.office365.com';
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 587;
$g_smtp_username = 'xyz@abc.de';
$g_smtp_password = '[password]';
$g_enable_email_notification = ON;

/*Email tracing, loeschen wenn nicht mehr benoetigt, [xyz, 20160229] */

$g_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:/var/log/mantis_email_log.log';

$g_return_path_email = 'mantis@abc.de';

Bei den letzten Zeilen, also

Code: Select all

$g_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:/var/log/mantis_email_log.log';
stimmt meiner Meinung nach irgendwas nicht, da das entsprechende Log nicht erzeugt wird. Da wie gesagt, momentan gar keine Emails mehr verschickt werden, ist so ein LOG ziemlich wichtig, da
ich sonst gar keine Anhaltspunkte habe (oder gibt es da noch einen Linux-Trick, der mir weiterhelfen könnte? Die Distribution ist Debian Jessie mit Apache2)

Vielen Dank vorab für jegliche Unterstützung.

LG

Sas

Re: frage_zur_konfiguration_loggen_von_emails

Posted: 19 Apr 2016, 13:00
by atrol
Sasquatch wrote:

Code: Select all

$g_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
Es muss heißen

Code: Select all

$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;