diff --git a/compose.yaml b/compose.yaml index 9c5803d..036d86c 100644 --- a/compose.yaml +++ b/compose.yaml @@ -76,8 +76,13 @@ services: image: boky/postfix:latest restart: unless-stopped container_name: '${APP_NAME}-mail' + hostname: postfix.mail.${MAIL_DOMAIN:-localhost} environment: ALLOWED_SENDER_DOMAINS: ${MAIL_DOMAIN:-localhost} + HOSTNAME: postfix.mail.${MAIL_DOMAIN:-localhost} + POSTFIX_myhostname: postfix.mail.${MAIL_DOMAIN:-localhost} + POSTFIX_mynetworks: "127.0.0.0/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16" + POSTFIX_smtpd_tls_security_level: none RELAYHOST: ${MAIL_RELAYHOST:-} RELAYHOST_AUTH: ${MAIL_RELAYHOST_AUTH:-} RELAYHOST_PASSWORD: ${MAIL_RELAYHOST_PASSWORD:-} diff --git a/src/Controller/SecurityController.php b/src/Controller/SecurityController.php index 71eec0f..79bac1a 100644 --- a/src/Controller/SecurityController.php +++ b/src/Controller/SecurityController.php @@ -94,7 +94,7 @@ class SecurityController extends AbstractController $mailer->send( new TemplatedEmail() - ->from('noreply@mineseeker.ninja') + ->from('noreply@mineseeker.hu') ->to($user->getEmail()) ->subject('Activate your MineSeeker account') ->htmlTemplate('emails/activation.html.twig') @@ -145,7 +145,7 @@ class SecurityController extends AbstractController $mailer->send( new TemplatedEmail() - ->from('noreply@mineseeker.ninja') + ->from('noreply@mineseeker.hu') ->to($email) ->subject('Reset your MineSeeker password') ->htmlTemplate('emails/reset_password.html.twig') diff --git a/templates/Official/terms.html.twig b/templates/Official/terms.html.twig index 12cb981..3eb64a6 100644 --- a/templates/Official/terms.html.twig +++ b/templates/Official/terms.html.twig @@ -8,7 +8,7 @@
By accessing the website at https://www.mineseeker.ninja, you are +
By accessing the website at https://www.mineseeker.hu, you are agreeing to be bound by these terms of service, all applicable laws and regulations, and agree that you are responsible for compliance with any applicable local laws. If you do not agree with any of these terms, you are