0 0 Punkte

Hallo,

habe gerade auf die neue kivitendo 3.5.4-beta via git upgedatet.

Erhalte beim Versuch eine AB zu mailen folgendes:

Fehler: Die E-Mail wurde aufgrund des folgenden Fehlers nicht verschickt: SMTP connection could not be initialized at /var/www/kivitendo-erp/SL/Mailer/SMTP.pm line 39.<br>

Wo muss ich drehen das es funzt?

Info, nutze Debian 10 mit php Version 7.2, config siehe unten:

[mail_delivery]
method = smtp
sendmail = /usr/sbin/sendmail -t<%if myconfig_email%> -f <%myconfig_email%><%end%>
host = localhost
host = mein websever adresse
port = 465

1 Antwort

Beste Antwort
0 0 Punkte

Am Besten immer einen diff von der kivitendo.conf.default mit Deiner machen.

In der obigen Config ist der Host-Eintrag doppelt vorhanden, ferner fehlt der security Parameter.
security=ssl

Hier der aktuelle Eintrag:

[mail_delivery]
# Delivery method can be 'sendmail' or 'smtp'. For 'method = sendmail' the
# parameter 'mail_delivery.sendmail' is used as the executable to call. If
# 'applications.sendmail' still exists (backwards compatibility) then
# 'applications.sendmail' will be used instead of 'mail_delivery.sendmail'.
# If method is empty, mail delivery is disabled.
method = smtp
# Location of sendmail for 'method = sendmail'
sendmail = /usr/sbin/sendmail -t<%if myconfig_email%> -f <%myconfig_email%><%end%>
# Settings for 'method = smtp'. Only set 'port' if your SMTP server
# runs on a non-standard port (25 for 'security=none' or
# 'security=tls', 465 for 'security=ssl').
host = localhost
#port = 25
# Security can be 'tls', 'ssl' or 'none'. Unset equals 'none'. This
# determines whether or not encryption is used and which kind. For
# 'tls' the module 'Net::SSLGlue' is required; for 'ssl'
# 'Net::SMTP::SSL' is required and 'none' only uses 'Net::SMTP'.
security = none
# Authentication is only used if 'login' is set. You should only use
# that with 'tls' or 'ssl' encryption.
login =
password =
ausgewählt von

Ähnliche Fragen

0 0 Punkte
3 3 Antworten
turtle Gefragt 2, Jan 2013
Hallo, weiterhin gelingt es mir nicht, auch via kivitendo 3x heraus eine Mail zu senden. Weder mit exim noch auf die simple (smtp) Art. Bei letzterem ist im Browser zu le...
0 0 Punkte
2 2 Antworten
turtle Gefragt 24, Mär 2013
Neuer Versuch: Brauche Hilfe beim drucken von Mahungen, bekomme es nicht hin. Selbst mit der Vorlage RB (alle RB Files in meinem Temp-Ordner, die fancy Files verschoben) ...
0 0 Punkte
1 1 Antwort
silencer2010 Gefragt 4, Mär 2021
Hi Leute! Wir sind von der 3.5.1 auf die 3.5.6.1 gesprungen (nebst Serverwechsel). Soweit ist auch alles gut, Datenbanken laufen, Login möglich, PDF erzeugen, .. alles k...
0 0 Punkte
3 3 Antworten
Anonym Gefragt 2, Apr 2013
Hallo, ich weiß noch nicht 100%ig ob die Frage hier überhaupt her gehört oder eher gen Postfix, aber ich probiere es einfach mal, vielleicht hat ja jemand eine Idee. P...
0 0 Punkte
1 1 Antwort
mneumann Gefragt 20, Aug 2024
Hallo liebes Forum, ich habe hier ein geupdatetes System von vorher 3.5.5 auf jetzt 3.9.1. Der Kunde hat damit bisher problemlos per globaler BCC-Adresse seine Rechnungen...