If you add a relay domain and relay recipient like gmail.com (relay domain) and @gmail.com (relay recipient) than everyone can send to <anyalias>@gmail.com without sasl auth/mynetworks ip. I am not sure this is intentional or a bug? Ispconfig: 3.3.0p1 thanks
This is not a bug. It is intentional and only the admin can control these settings. You should never add domains/rcpts in there for which your server is not responsible. With that said, there is a small improvement that we could do here and that would be in the ordering of smtpd_recipient_restrictions
I used this function to reroute outgoing destinations some times (because server ip is blocked / rate limit / anything else) - my fault - didn't look into the config Thanks