Hey guys, I have a problem with Mailcow. When I try to send an email to an internal email address it works fine, but as soon as I want to send an email via SMTP (e.g. Moodle) to an external address e.g. gmail it doesn’t work anymore and I get the following in the Postfix log. Strangely enough, I can send an e-mail to any e-mail address manually via SoGo.
06.05.2024, 18:51:18 info disconnect from mail.<DOMAIN>.net[<IP>] ehlo=2 starttls=1 mail=1 rcpt=0/1 quit=1 commands=5/6
06.05.2024, 18:51:18 info NOQUEUE: reject: RCPT from mail.<DOMAIN>.net[<IP>]: 554 5.7.1 <<MAIL>@gmail.com>: Relay access denied; from=<noreply@<DOMAIN>.net> to=<<MAIL>@gmail.com> proto=ESMTP helo=<moodle.<DOMAIN>.net>
06.05.2024, 18:51:13 info discarding EHLO keywords: CHUNKING
06.05.2024, 18:51:13 info Anonymous TLS connection established from mail.<DOMAIN>.net[<IP>] to mail.<DOMAIN>.net: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
06.05.2024, 18:51:13 info discarding EHLO keywords: CHUNKING
06.05.2024, 18:51:13 info connect from mail.<DOMAIN>.net[<IP>]
06.05.2024, 18:51:13 info WHITELISTED [<IP>]:36732
06.05.2024, 18:51:13 info CONNECT from [<IP>]:36732 to [<IP>]:25
It would be very helpful if anyone could help me!