PHP Mailer SENDMAIL Konfigurationsproblem

Deutschsprachiges Forum für Diskussionen und Fragen zu MantisBT

Moderators: Developer, Contributor

Post Reply
Florian W
Posts: 1
Joined: 24 Feb 2021, 10:55

PHP Mailer SENDMAIL Konfigurationsproblem

Post by Florian W »

Hallo!

Ich habe ein Problem mit der Email Konfiguration.
die neuste Version von Mantis läuft auf einem Ubuntu Server. Ich nutze einen Exchange als Mailserver. Vorher ist das System einwandfrei gelaufen, nur der Exchange wurde getauscht und in der conf_inc.php und im Mantis Konfigurationsreport unter plugin_EmailReporting_mailboxes eingepflegt.
Hier die conf_inc.php


$g_phpMailer_method = PHPMAILER_METHOD_SENDMAIL; (auch mit PHPMAILER_METHOD_SMTP getestet)
$g_smtp_connection_mode = '';
$g_smtp_host = 'unser@exchange.com';
$g_smtp_port = 25;
$g_smtp_username = 'domäne\username';
$g_smtp_password = 'PW';
$g_administrator_email = 'administrator@domäne.com';
$g_from_name = 'MC BugTracker';
$g_from_email = 'ticket@domäne';
$g_return_path_email = 'ticket@domäne';
#$g_log_level = LOG EMAIL | LOG_EMAIL_RECIPIENT;
#$g_log_destination = 'file:var/log/MANTISBT_smtp.log' (wird nicht in dem Verzeichnis erstellt. Ich weiß nicht warum)
$g_email_receive_own = OFF;
$g_email_send_using_cronjob = OFF;
?>

schreibt man eine Email an ticket@domäne.com gibt die mail.log folgendes aus:

11OAGWwV001777: 11OAGWwV001779: DSN: Service unavailable
Feb 24 11:16:32 mantisbt sm-mta[1779]: STARTTLS=client, relay=mail.domäne.com., version=TLSv1.2, verify=FAIL, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256/256
Feb 24 11:16:32 mantisbt sm-mta[1779]: 11OAGWwV001779: to=<ticket@domäne.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=30000, relay=mail.domäne.com. [178.77.98.85], dsn=2.0.0, stat=Sent (Ok: queued as 81E433E4E9)

Ich kann mir nicht erklären woran das liegt und warum in dem Logfile STARTTLS erscheint, obwohl $g_smtp_connection_mode = ''; eingestellt ist.

Konfigurations-Report
array (
'enabled' => 1,
'description' => 'ticket@domäne.com',
'mailbox_type' => 'IMAP',
'hostname' => 'mail1.domäne.com',
'port' => '143',
'encryption' => '',
'ssl_cert_verify' => 0,
'erp_username' => 'domäne\\ticket',
'erp_password' => 'PW',
'auth_method' => 'USER',
'project_id' => 5,
'global_category_id' => 11,
'imap_basefolder' => '',
'imap_createfolderstructure' => 0,
),

Für jede Hilfe bin ich sehr dankbar :)
Grüße
Florian
Post Reply