php-function veraltet ... empfehlen ein SMTP Mail Plugin

Erweiterungen
Grockle
Posts: 14
Joined: Sat 10. May 2014, 22:15
Location: Switzerland
Contact:

Re: php-function veraltet ... empfehlen ein SMTP Mail Plugin

Post by Grockle »

Guten Tag,

OK, normalerweise ist die Mail-Adresse gv@pvpsi.ch in diesen Aufruf. (Generalversammlung)
Dies ist eine Verteiler auf hosteurope.de und verteilt dieser Mail an der Präsidenten E-Mail und meins.

Nach meiner Umstellung CMS Upgrade und Hostservice > 8.0 oder 8.1 hatten wir plötzlich Probleme.
Beim Zurückstellen auf 7.4 lauft alles wieder Normal. Benutzt hosteurope.de ein inkompatiblen PHP 8.1.11-he.0 ?
Ab den 14. November gibt es nur noch 8.1.

In https://www.pvpsi.ch/?Test
{{{plugin:dd_mailform('TestMailform','test@pvpsi.ch','false','2cols','Test GV Web Anmeldung');}}}

Zum Testen habe ich dann test@pvpsi.ch in einer einfachen Form eingerichtet. (Ich wollte die anderen in den Verein nicht stören)
dies geht in Moment an
neil@gregorius.ch und neil.gregory48@gmail.com (Normalerweise verwende ich neil.gregory@gmx.ch nicht neil@gregorius aber der gmx Mail kam nie mehr an.)
Der erste kommt so an und der Reply To Header ist falsch. 1667291457ddfm@www.pvpsi.ch> X-Sender-IP: 2001:171b:c9ba:848

--6fa2c14287686b0d257fe6ee6e851bbd
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Vorname: Neil
Name: Gregory
E-Mail: neil.gregory@gmx.ch
Kommentar: Test

--6fa2c14287686b0d257fe6ee6e851bbd--

Dieses E-Mail kommt auch genau so an bei sunrise.ch, hotmail.ch (aber hier als Junk) und bei neil.gregory@gmx.ch kommt gar nichts a!
Der Gmail Mail kommt retour mit folgenden Meldungen!

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

neil.gregory48@gmail.com
(generated from test@pvpsi.ch)
host gmail-smtp-in.l.google.com [64.233.184.26]
SMTP error from remote mail server after pipelined end of data:
550-5.7.1 [80.237.138.245] Messages with multiple addresses in From:
header are
550 5.7.1 not accepted. m12-20020a5d64ac000000b002367a231d23si6874265wrp.795 - gsmtp
Reporting-MTA: dns; mi010.mc1.hosteurope.de

Action: failed
Final-Recipient: rfc822;test@pvpsi.ch
Status: 5.0.0
Remote-MTA: dns; gmail-smtp-in.l.google.com
Diagnostic-Code: smtp; 550-5.7.1 [80.237.138.245] Messages with multiple addresses in From: header are
550 5.7.1 not accepted. m12-20020a5d64ac000000b002367a231d23si6874265wrp.795 - gsmtp
Return-path: <info@pvpsi.ch>
Received: from wp078.webpack.hosteurope.de ([80.237.132.85])
by mx0.webpack.hosteurope.de (mi010) with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim)
id 1opmfh-0005I6-UJ
for test@pvpsi.ch; Tue, 01 Nov 2022 09:31:00 +0100
Received: from localhost ([127.0.0.1]) by wp078.webpack.hosteurope.de running ExIM with local
id 1opmfh-0005B4-QP; Tue, 01 Nov 2022 09:30:57 +0100
To: test@pvpsi.ch
Subject: Test GV Web Anmeldung
From: CMSimple MailForms Plugin <webmaster@pvpsi.ch>
Reply-To: CMSimple MailForms Plugin <neil.gregory@gmx.ch>
Return-Path: CMSimple MailForms Plugin <neil.gregory@gmx.ch>
Message-ID: <1667291457ddfm@www.pvpsi.ch>
X-Sender-IP: 2001:171b:c9ba:8481:c854:f45b:ae48:31bb
X-Mailer: PHP v8.1.11-he.0
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="6fa2c14287686b0d257fe6ee6e851bbd"
Message-Id: <E1opmfh-0005B4-QP@wp078.webpack.hosteurope.de>
Date: Tue, 01 Nov 2022 09:30:57 +0100
X-HE-PHP-Submitted: yes
X-bounce-key: webpack.hosteurope.de;info@pvpsi.ch;1667291457;6ee057d6;
X-HE-SMSGID: 1opmfh-0005B4-QP
X-HE-Spam-Level: /
X-HE-Spam-Score: -0.0
X-HE-Spam-Report: Content analysis details: (-0.0 points)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/,
low trust
[80.237.132.85 listed in list.dnswl.org]
0.3 FROM_LOCAL_HEX From: localpart has long hexadecimal sequence
0.4 PP_MIME_FAKE_ASCII_TEXT BODY: MIME text/plain claims to be ASCII
but isn't
X-HE-SPF: PASSED

Ich kann die gleiche Verhaltung auf andere hosteurope.de Websites reproduzieren.
Ich bin dabei mit einem frisch aufgesetzte CMSIMPLE und MAILFORMS auf ein andere Hosteurope.de Server platz zu testen. Ich kann dies DIr freigeben in debug mode wenn Du willst.

Vielen Dank für einen Tipp.

Neil
Gert
Posts: 2092
Joined: Sun 18. Nov 2012, 14:18

Re: php-function veraltet ... empfehlen ein SMTP Mail Plugin

Post by Gert »

Grockle wrote: Tue 1. Nov 2022, 09:58 Zum Testen habe ich dann test@pvpsi.ch in einer einfachen Form eingerichtet. (Ich wollte die anderen in den Verein nicht stören)
dies geht in Moment an
neil@gregorius.ch und neil.gregory48@gmail.com
Wie kommt die mail auf test@pvpsi.ch an? Bevor die weitergeleitet wird? Das solltest Du mal testen,

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services
Gert
Posts: 2092
Joined: Sun 18. Nov 2012, 14:18

Re: php-function veraltet ... empfehlen ein SMTP Mail Plugin

Post by Gert »

Gert wrote: Tue 1. Nov 2022, 10:46 ... Messages with multiple addresses in From: header are ... not accepted.
Hast Du irgendwo mehrere, durch Kommata getrennte Mailadressen eingegeben? (CMS Konfiguration, MailForms Plugin, ...)

Wenn Du mit MailForms das CMSimple Standard Mailform ersetzt, kommt evtl. die Mailadresse aus der CMS Konfiguration zum Einsatz, ich habe das jetzt aber nicht geprüft ...
Gert Ebersbach | CMSimple | Templates - Plugins - Services
Grockle
Posts: 14
Joined: Sat 10. May 2014, 22:15
Location: Switzerland
Contact:

Re: php-function veraltet ... empfehlen ein SMTP Mail Plugin

Post by Grockle »

Der Mailing-List Dienst kommt von hosteurope.de es sind keine Kommas darin und ich benutze seit Jahren verschiedene solche Listen, teilweise mit mehrere hunderte Mitglieder.
Mit PHP 7.4 hatte ich nie solche Probleme und habe auch keine, wenn 7.4 bleiben würde. Nur wenn ich auf 8 umschalte, funktioniert es nicht mehr richtig.
In CMSIMPLE sind nur die E-Mail Verteiler von hosteurope.de darin gv@pvpsi.ch, vorstand@pvpsi.ch, webmaster@pvpsi.ch usw.

Test: In mailforms config replace cmsimple mailform: false anstatt true dann der eingebaute MAILFORM Ruf funktionert und liefern den richtigen text
Your name: Neil
Your phone number: 1234

help

Test: In mailforms config replace cmsimple mailform: true anstatt false dann der eingebaute MAILFORM Ruf liefert den folgende text (MAILFORMS 2.5 wird hier benutzt)

--86c1f6ae3e9f7b89da06461c0a4ba3e9
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Name:: Neil

Email:: neil.gregory@gmx.ch

Telefon:: 1234

Ihre Nachricht:: help 2

--86c1f6ae3e9f7b89da06461c0a4ba3e9--

Ich kann leider nicht sehen, wie der Mail an test@pvpsi.ch ankommt, dies liegt bei hosteurope.de
Ich musste vielleicht ein pvpsi.ch Mail Konto einrichten und testen - werde ich tun.
Grockle
Posts: 14
Joined: Sat 10. May 2014, 22:15
Location: Switzerland
Contact:

Re: php-function veraltet ... empfehlen ein SMTP Mail Plugin

Post by Grockle »

Test: Mail direkt an HostEurope lesen:

Mail Source
Return-path: <info@pvpsi.ch>
Delivery-date: Tue, 01 Nov 2022 11:58:06 +0100
Received: from mi001.mc1.hosteurope.de ([80.237.138.254])
by wp324.webpack.hosteurope.de running ExIM with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
id 1opoy6-0000K7-HB; Tue, 01 Nov 2022 11:58:06 +0100
Received: from wp078.webpack.hosteurope.de ([80.237.132.85])
by mx0.webpack.hosteurope.de (mi001) with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim)
id 1opoy3-000T4k-VF
for test@pvpsi.ch; Tue, 01 Nov 2022 11:58:06 +0100
Received: from localhost ([127.0.0.1]) by wp078.webpack.hosteurope.de running ExIM with local
id 1opoy3-0007wu-Sa; Tue, 01 Nov 2022 11:58:03 +0100
To: test@pvpsi.ch
Subject: Test GV Web Anmeldung
From: CMSimple MailForms Plugin <webmaster@pvpsi.ch>
Reply-To: CMSimple MailForms Plugin <hansli.fischer@gmail.com>
Return-Path: CMSimple MailForms Plugin <hansli.fischer@gmail.com>
Message-ID: <1667300283ddfm@www.pvpsi.ch>
X-Sender-IP: 2001:171b:c9ba:8481:c854:f45b:ae48:31bb
X-Mailer: PHP v8.1.11-he.0
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="01f9f5266b5fa696220ed5689ffdc15d"
Message-Id: <E1opoy3-0007wu-Sa@wp078.webpack.hosteurope.de>
Date: Tue, 01 Nov 2022 11:58:03 +0100
X-HE-PHP-Submitted: yes
X-bounce-key: webpack.hosteurope.de;info@pvpsi.ch;1667300283;639415bf;
X-HE-SMSGID: 1opoy3-0007wu-Sa
X-HE-Spam-Level: /
X-HE-Spam-Score: -0.0
X-HE-Spam-Report: Content analysis details: (-0.0 points)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/,
low trust
[80.237.132.85 listed in list.dnswl.org]
0.3 FROM_LOCAL_HEX From: localpart has long hexadecimal sequence
0.4 PP_MIME_FAKE_ASCII_TEXT BODY: MIME text/plain claims to be ASCII
but isn't
X-HE-SPF: PASSED
Envelope-to: webmaster@webengineering.ch

--01f9f5266b5fa696220ed5689ffdc15d
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Vorname: Hans

Name: Fischer

   E-Mail: hansli.fischer@gmail.com

   Kommentar: Fantasy name



--01f9f5266b5fa696220ed5689ffdc15d--

Genau gleich falsch wie ich die Mails empfange oder in einige Mail Systeme (gmx, gmail) nicht empfangen kann.
Grockle
Posts: 14
Joined: Sat 10. May 2014, 22:15
Location: Switzerland
Contact:

Re: php-function veraltet ... empfehlen ein SMTP Mail Plugin

Post by Grockle »

Jetzt den gleichen Test mit PHP 7.4 anstatt PHP 8.1 - alles korrekt. Email Body Text empfangen ist hier richtig

Return-path: <info@pvpsi.ch>
Delivery-date: Tue, 01 Nov 2022 12:02:49 +0100
Received: from mi014.mc1.hosteurope.de ([80.237.138.241])
by wp324.webpack.hosteurope.de running ExIM with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
id 1opp2f-0001FZ-Il; Tue, 01 Nov 2022 12:02:49 +0100
Received: from wp078.webpack.hosteurope.de ([80.237.132.85])
by mx0.webpack.hosteurope.de (mi014) with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim)
id 1opp2d-0005eS-1K
for test@pvpsi.ch; Tue, 01 Nov 2022 12:02:49 +0100
Received: from localhost ([127.0.0.1]) by wp078.webpack.hosteurope.de running ExIM with local
id 1opp2c-00030x-VI; Tue, 01 Nov 2022 12:02:46 +0100
To: test@pvpsi.ch
Subject: Test GV Web Anmeldung
From: CMSimple MailForms Plugin <webmaster@pvpsi.ch>
Reply-To: CMSimple MailForms Plugin <hansli.fischer@gmail.com>
Message-ID: <1667300566ddfm@www.pvpsi.ch>
X-Sender-IP: 2001:171b:c9ba:8481:c854:f45b:ae48:31bb
X-Mailer: PHP v7.4.32-he.0
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="b6d92b88df2a945ad8a42bc4229a9549"
Date: Tue, 01 Nov 2022 12:02:46 +0100
X-HE-PHP-Submitted: yes
X-bounce-key: webpack.hosteurope.de;info@pvpsi.ch;1667300567;b9f8e55b;
X-HE-SMSGID: 1opp2c-00030x-VI
X-HE-Spam-Level: +
X-HE-Spam-Score: 1.8
X-HE-Spam-Report: Content analysis details: (1.8 points)
pts rule name description
---- ---------------------- --------------------------------------------------
-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/,
low trust
[80.237.132.85 listed in list.dnswl.org]
2.5 FREEMAIL_FORGED_REPLYTO Freemail in Reply-To, but not From
X-HE-SPF: PASSED
Envelope-to: webmaster@webengineering.ch

--b6d92b88df2a945ad8a42bc4229a9549
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit

Vorname: Hans

Name: Fischer

   E-Mail: hansli.fischer@gmail.com

   Kommentar: PHP 7.4 anstatt 8.1



--b6d92b88df2a945ad8a42bc4229a9549--

Email Body Text empfangen ist hier richtig:

Vorname: Hans

Name: Fischer

E-Mail: hansli.fischer@gmail.com

Kommentar: PHP 7.4 anstatt 8.1
Gert
Posts: 2092
Joined: Sun 18. Nov 2012, 14:18

Re: php-function veraltet ... empfehlen ein SMTP Mail Plugin

Post by Gert »

Grockle wrote: Tue 1. Nov 2022, 09:58 In https://www.pvpsi.ch/?Test
{{{plugin:dd_mailform('TestMailform','test@pvpsi.ch','false','2cols','Test GV Web Anmeldung');}}}
Wenn ich den Link aufrufe, sehe ich keinen Inhalt, also auch kein Formular.

Vielleicht kannst Du mir ja mal das Passwort per PM zukommen lassen. Oder Zugang zu einer Testinstallation.
Gert Ebersbach | CMSimple | Templates - Plugins - Services
Gert
Posts: 2092
Joined: Sun 18. Nov 2012, 14:18

Re: php-function veraltet ... empfehlen ein SMTP Mail Plugin

Post by Gert »

Hallo,

vielen Dank für das Passwort, jetzt sehe ich schon klarer. Hilft aber leider auch nicht weiter :cry:

Wir müssen dann wohl doch noch einmal auf Deine Vermutung von gestern mit den Zeilenenden zurückkommen, es ist eigentlich die letzte Möglichkeit. Ich habe Dir dazu eine PM geschickt,

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services
Grockle
Posts: 14
Joined: Sat 10. May 2014, 22:15
Location: Switzerland
Contact:

Zeilende Issues PHP 8

Post by Grockle »

Gert
Posts: 2092
Joined: Sun 18. Nov 2012, 14:18

Re: php-function veraltet ... empfehlen ein SMTP Mail Plugin

Post by Gert »

Ja - da geht es um das Problem mit den Zeilenenden. Ich habe auf die schnelle aber auch keine zuverlässige Lösung dafür.

Zumal bei mir alles zuverlässig und problemlos läuft unter php 8.1.7 bei allinkl.com:

https://php817.ge-webdesign.de/

Bei Dir funktioniert ja auch SMTPmail nicht, auch nicht die Funktion phpmail().

Ich bin mir nicht sicher, ob das an hosteurope liegt oder an der zusammengewürfelten Installation mit Plugins, die gar nicht für CMSimple 4++ gemacht sind. Vielleicht solltest Du mal eine Testinstallation aufsetzen, mit einem nagelneuen CMSimple 5.8, Standardtemplate und MailForms, und sonst nichts. Wenn das auch nicht funktioniert, sehen wir weiter.

Bitte CMSimple und Mailforms neu downloaden für die Testinstallation,

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services
Post Reply