E-Mails an andere Domains

Juhu,

mir ist gestern was komisches aufgefallen. Bisher habe ich es so gehandhabt das sich nur User mit einer Mailadresse anmelden registrieren können die auch von unserer Domain kommen.

Jetzt wollte ich einen „Fremdnutzer“ im Backend anlegen. Das geht soweit auch. Allerdings bekommt dieser die Willkommensmail nicht. Wenn ich sie von Hand schicken möchte, bekomme ich eine Fehlermeldung das die Mail nicht verschickt werden kann.

Die Mail Einstellungen sind korrekt. Die Testmail geht raus und alle Mails innerhalb der Domain gehen auch raus. Alles an andere Domains geht nicht.

Das ganze lÀuft mit NC 20 auf einem Ubuntu VServer

Ich denke ohne eine PRÄZISE Fehlermeldung in Nextcloud und vom Mailserver ist hier eine detaillierte Hilfestellung hier nicht möglich. DarĂŒber hinaus ist es vermutlich erforderlich zu wissen welche Domains EXAKT verwendet werden und welcher Server fĂŒr den Versand genutzt wird.

1 Like

Das hier ist im Protokoll

{“reqId”:“3DAe4TLDPvX2u2hWOXyE”,“level”:3,“time”:“2021-03-27T06:37:57+00:00”,“remoteAddr”:“77.180.41.233”,“user”:“mdick”,“app”:“settings”,“method”:“POST”,“url”:"/ocs/v2.php/cloud/users/mmustermann/welcome",“message”:{“Exception”:“Swift_TransportException”,“Message”:“Expected response code 354 but got code “554”, with message “554 5.5.1 Error: no valid recipients\r\n””,“Code”:554,“Trace”:[{“file”:"/home/users/mdick/www/cloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php",“line”:345,“function”:“assertResponseCode”,“class”:“Swift_Transport_AbstractSmtpTransport”,“type”:"->"},{“file”:"/home/users/mdick/www/cloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/EsmtpTransport.php",“line”:305,“function”:“executeCommand”,“class”:“Swift_Transport_AbstractSmtpTransport”,“type”:"->"},{“file”:"/home/users/mdick/www/cloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php",“line”:393,“function”:“executeCommand”,“class”:“Swift_Transport_EsmtpTransport”,“type”:"->"},{“file”:"/home/users/mdick/www/cloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php",“line”:500,“function”:“doDataCommand”,“class”:“Swift_Transport_AbstractSmtpTransport”,“type”:"->"},{“file”:"/home/users/mdick/www/cloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php",“line”:519,“function”:“doMailTransaction”,“class”:“Swift_Transport_AbstractSmtpTransport”,“type”:"->"},{“file”:"/home/users/mdick/www/cloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php",“line”:206,“function”:“sendTo”,“class”:“Swift_Transport_AbstractSmtpTransport”,“type”:"->"},{“file”:"/home/users/mdick/www/cloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Mailer.php",“line”:71,“function”:“send”,“class”:“Swift_Transport_AbstractSmtpTransport”,“type”:"->"},{“file”:"/home/users/mdick/www/cloud/lib/private/Mail/Mailer.php",“line”:205,“function”:“send”,“class”:“Swift_Mailer”,“type”:"->"},{“file”:"/home/users/mdick/www/cloud/apps/settings/lib/Mailer/NewUserMailHelper.php",“line”:180,“function”:“send”,“class”:“OC\Mail\Mailer”,“type”:"->"},{“file”:"/home/users/mdick/www/cloud/apps/provisioning_api/lib/Controller/UsersController.php",“line”:1048,“function”:“sendMail”,“class”:“OCA\Settings\Mailer\NewUserMailHelper”,“type”:"->"},{“file”:"/home/users/mdick/www/cloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:218,“function”:“resendWelcomeMessage”,“class”:“OCA\Provisioning_API\Controller\UsersController”,“type”:"->"},{“file”:"/home/users/mdick/www/cloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:127,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->"},{“file”:"/home/users/mdick/www/cloud/lib/private/AppFramework/App.php",“line”:157,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:"->"},{“file”:"/home/users/mdick/www/cloud/lib/private/Route/Router.php",“line”:302,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:"::"},{“file”:"/home/users/mdick/www/cloud/ocs/v1.php",“line”:63,“function”:“match”,“class”:“OC\Route\Router”,“type”:"->"},{“file”:"/home/users/mdick/www/cloud/ocs/v2.php",“line”:24,“args”:["/home/users/mdick/www/cloud/ocs/v1.php"],“function”:“require_once”}],“File”:"/home/users/mdick/www/cloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/AbstractSmtpTransport.php",“Line”:460,“CustomMessage”:“Can’t send new user mail to xxx@gmx.de”},“userAgent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15”,“version”:“21.0.0.18”,“id”:“605ed2d104730”}

Suche doch mal im Web nach den Fehlern.

https://duckduckgo.com/?q=mail+error+554+5.5.1&t=ffab&ia=web

Ich habe die E-Mail Adresse jetzt mal komplett zurĂŒck gesetzt und neu eingegeben. Jetzt gehts. Also irgendwo dort nen Fehler drin gehabt. Ist nie aufgefallen, da die Mails nur innerhalb der Domain verschickt wurden.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.