Private
Public Access
1
0

Compare commits

..

1 Commits

Author SHA1 Message Date
d3fa0cbbf9 fix: dev: quickfix for email sending #4
All checks were successful
Deploy to Production / deploy (push) Successful in 12s
2026-04-14 16:38:55 +02:00
3 changed files with 8 additions and 3 deletions

View File

@@ -76,8 +76,13 @@ services:
image: boky/postfix:latest image: boky/postfix:latest
restart: unless-stopped restart: unless-stopped
container_name: '${APP_NAME}-mail' container_name: '${APP_NAME}-mail'
hostname: postfix.mail.${MAIL_DOMAIN:-localhost}
environment: environment:
ALLOWED_SENDER_DOMAINS: ${MAIL_DOMAIN:-localhost} 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: ${MAIL_RELAYHOST:-}
RELAYHOST_AUTH: ${MAIL_RELAYHOST_AUTH:-} RELAYHOST_AUTH: ${MAIL_RELAYHOST_AUTH:-}
RELAYHOST_PASSWORD: ${MAIL_RELAYHOST_PASSWORD:-} RELAYHOST_PASSWORD: ${MAIL_RELAYHOST_PASSWORD:-}

View File

@@ -94,7 +94,7 @@ class SecurityController extends AbstractController
$mailer->send( $mailer->send(
new TemplatedEmail() new TemplatedEmail()
->from('noreply@mineseeker.ninja') ->from('noreply@mineseeker.hu')
->to($user->getEmail()) ->to($user->getEmail())
->subject('Activate your MineSeeker account') ->subject('Activate your MineSeeker account')
->htmlTemplate('emails/activation.html.twig') ->htmlTemplate('emails/activation.html.twig')
@@ -145,7 +145,7 @@ class SecurityController extends AbstractController
$mailer->send( $mailer->send(
new TemplatedEmail() new TemplatedEmail()
->from('noreply@mineseeker.ninja') ->from('noreply@mineseeker.hu')
->to($email) ->to($email)
->subject('Reset your MineSeeker password') ->subject('Reset your MineSeeker password')
->htmlTemplate('emails/reset_password.html.twig') ->htmlTemplate('emails/reset_password.html.twig')

View File

@@ -8,7 +8,7 @@
<h3>1. Terms</h3> <h3>1. Terms</h3>
<p>By accessing the website at <a href="https://www.mineseeker.ninja">https://www.mineseeker.ninja</a>, you are <p>By accessing the website at <a href="https://www.mineseeker.hu">https://www.mineseeker.hu</a>, you are
agreeing to be bound by these terms of service, all applicable laws and regulations, and agree that 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 responsible for compliance with any applicable local laws. If you do not agree with any of these terms, you
are are