I am seeing a strange issue where I can send and receive mail between mailboxes in the same domain, but forwarding results in an access denied error.

E.g., postmaster@ThatOneDomain.com can exchange email with admin@ThatOneDomain.com (and vice versa), but if I set a forward in SOGo - using either a filter or using the actual forward function - the forwarded messages are denied; e.g.,

Mar 20 07:47:09 localhost ae4b7dfdd6e5[2071]: Mar 20 07:47:09 ae4b7dfdd6e5 postfix/sogo/smtpd[387]: NOQUEUE: reject: RCPT from mailcowdockerized-dovecot-mailcow-1.mailcowdockerized_mailcow-network[fd4d:6169:6c63:6f77::b]: 554 5.7.1 <mailcowdockerized-dovecot-mailcow-1.mailcowdockerized_mailcow-network[fd4d:6169:6c63:6f77::b]>: Client host rejected: Access denied; from=<postmaster@thatonedomain.com> to=<admin@thatonedomain.com> proto=ESMTP helo=<97676f1d900e>

Any suggestions? I feel like I’m missing something obvious…

I resolved this issue by adding 172.22.0.0/24 to my trusted networks in extra.cf. On a side note, this also resolved a watchdog issue wherein postfix was continuously being restarted after 8 failures (to send mail).

And to further clarify, this is from my mailcow.conf:

#IPV4_NETWORK=172.22.1
IPV4_NETWORK=172.22.0

I don’t recall editing that, but based on the double entry (where the first is commented-out), I’m guessing that I did.

And to further clarify, this is from my mailcow.conf:

#IPV4_NETWORK=172.22.1
IPV4_NETWORK=172.22.0

I don’t recall editing that, but based on the double entry (where the first is commented-out), I’m guessing that I did.

Have something to say?

Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

No one is typing