I just installed MailCow and I’m trying to move all notification services previously using GMail to MailCow.
One feature of GMail I like, not present out of the box in mailcow, is the the fact that, after authentication from user@gmail.com, their SMTP sever implementation accept email with any sender address, and rewrite sender to user@gmail.com if needed.
This could be useful sometimes, if the service trying to send email doesn’t allow to easily set the sender address.
Mailcow, on the other hand, reject the mail if the sender is not an alias of the mailbox account.
It is possible to configure mailcow/postfix so that, instead of rejecting, rewrite the sender address if the sender address is not a mailbox alias/extension?