OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • International Forums »
  • German - Deutsch (Moderator: Patrick M. Hausen) »
  • Probleme notifications per email
« previous next »
  • Print
Pages: [1]

Author Topic: Probleme notifications per email  (Read 7851 times)

Andreas

  • Sr. Member
  • ****
  • Posts: 272
  • Karma: 9
    • View Profile
Probleme notifications per email
« on: October 14, 2015, 08:27:25 pm »
Hi die Einstellung
" Enable STARTTLS" auf True ergibt ewiges warten beim speichern  und dieser fehlermeldung

    opnsense: /system_advanced_notifications.php: Could not send the message to email@emaildomain -- Error: it was not possible to read line from the SMTP server: data access time out
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1615
    • View Profile
Re: Probleme notifications per email
« Reply #1 on: October 23, 2015, 08:55:17 am »
Kann der Server denn STARTTLS?
Logged

Andreas

  • Sr. Member
  • ****
  • Posts: 272
  • Karma: 9
    • View Profile
Re: Probleme notifications per email
« Reply #2 on: October 23, 2015, 10:00:45 am »
https://faq.strato.de/article/74/So-lauten-die-STRATO-E-Mail-Server.html


Wichtiger Hinweis: Bitte beachten Sie, dass E-Mail Postfächer die nach dem 01.12.2013 eingerichtet wurden nur mittels einer gesicherten Verbindung (SSL) angesprochen werden können.

Beachten Sie dazu bitte die weiteren Hinweise im Artikel: Kann ich meine E-Mails über eine gesicherte Verbindung (SSL oder TLS) versenden?

Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1615
    • View Profile
Re: Probleme notifications per email
« Reply #3 on: October 28, 2015, 11:10:11 pm »
Andreas, das sind statische TLS Ports, nicht zu verwechseln mit STARTTLS. STARTLS wird auf den alten IMAP (143), POP3 (110) und SMTP (25) Ports eingerichtet. Die Verbindung ist abwärtskompatibel, beginnt also unverschlüsselt und kann dann mittels STARTTLS umgewandelt werden.

Bei den STRATO Ports handelt es sich um HTTPS-Ähnliche Ports, es muss gleich TLS gesprochen werden, sonst antworten die Ports nicht (korrekt).

Aktiviert werden muss also: Aktiviere SMTP über SSL/TLS (deutsche GUI).
« Last Edit: October 28, 2015, 11:12:01 pm by franco »
Logged

Andreas

  • Sr. Member
  • ****
  • Posts: 272
  • Karma: 9
    • View Profile
Re: Probleme notifications per email
« Reply #4 on: October 29, 2015, 07:04:31 am »
Guten Morgen Franco.
das ergibt dann
opnsense: /system_advanced_notifications.php: Could not send the message to user@domain -- Error: it was not possible to read line from the SMTP server: data access time out
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1615
    • View Profile
Re: Probleme notifications per email
« Reply #5 on: October 29, 2015, 07:22:49 am »
Ich denke du hast sowohl 465 und 587 probiert? Am einfachsten wär es wenn du mir einen temporären Login geben könntest?
Logged

Andreas

  • Sr. Member
  • ****
  • Posts: 272
  • Karma: 9
    • View Profile
Re: Probleme notifications per email
« Reply #6 on: October 29, 2015, 07:49:01 am »
Mein Fehler.
Konfiguration ändern, speichern dann testen wäre besser gewesen statt das speichern auszulassen...

aber

nächste meldung

    opnsense: /system_advanced_notifications.php: Could not send the message to user@domain -- Error: could not connect to the host "smtp.strato.de": ??
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1615
    • View Profile
Re: Probleme notifications per email
« Reply #7 on: October 29, 2015, 01:06:33 pm »
Blöde Vermutung... versuch mal die IP Adresse zum Test?
Logged

Andreas

  • Sr. Member
  • ****
  • Posts: 272
  • Karma: 9
    • View Profile
Re: Probleme notifications per email
« Reply #8 on: January 05, 2016, 07:43:52 pm »
Ergbit weiterhin
opnsense: /system_advanced_notifications.php: Could not send the message to velten@av-e.eu -- Error: could not connect to the host "81.169.145.133": ??
Logged

blubern

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Probleme notifications per email
« Reply #9 on: February 19, 2017, 02:43:04 pm »
Hi,

ich bin der neue :)
ich habe als Hoster df.eu - allerdings habe ich die selbe Symptomatik.

Wenn ich ohne SSL also Port 25 die Notification einrichte funktionierit alles wunderbar.
Sobald aber der hacken auf Enable SMTP over SSL/TLS gesetzt und der Port auf 465 geändert wird bekomme ich auch "Error: could not connect to the host "134.119.18.24": ??" egal ob über den DNS oder die IP.

Kann es sein dass, das opnsense nicht das Zertifikat validieren kann?
Hier kann man sich das Zertifikat runterladen https://www.df.eu/de/support/downloads/ bzw. https://www.df.eu/fileadmin/user_upload/sslout.df.eu.cer

Muss ich das Zertifikat irgendwie importieren?

Viele Grüße
Logged

a089

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: Probleme notifications per email
« Reply #10 on: March 17, 2017, 09:29:09 pm »
Musst Du wohl...

auf System: Sicherheit: Aussteller "Zertifikat hinzufügen oder importieren", Inhalt der CER-Files in 'Zertifikatdaten' einfügen

soweit bin ich auch gekommen, aber es bleibt bei
opnsense: /system_advanced_notifications.php: Could not send the message to x@yyyyyy.zz -- Error: could not connect to the host "sslout.df.eu": ??

mehr an Diagnosemöglichkeiten gibts nicht?  ::)
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Probleme notifications per email
« Reply #11 on: March 17, 2017, 09:46:30 pm »
Eine Paketaufzeichnung (bitte Filter auf den Port einstellen, da es sonst viel wird) kann helfen. "Could not connect to host" klingt man nach einem Problem, dass der Port auf dem Server nicht erreichbar ist (ist die Nummer korrekt?)

CER-Dateien einfügen halte ich übrigens für eine ganz schlechte Idee (das sind Binärdateien). Diese sollten zuerst nach PEM konvertiert werden. Hier kommt dazu, dass diese für diesen Zweck ohnehin nicht übernommen werden (Ticket: https://github.com/opnsense/core/issues/1460). Ich bin mir hier nicht ganz sicher, aber der Befehl müsste so lauten:
Code: [Select]
openssl x509 -in cert.cer -inform der -out cert.pem
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • International Forums »
  • German - Deutsch (Moderator: Patrick M. Hausen) »
  • Probleme notifications per email
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2