Send mails from wildcard *@example.com

Hi,

I managed to receive mail on my own domain with wildcards/regular expressions. For example user@example.com receives all the mails in the form of *user@example.com.

But unfortunately I’m not able to send mails from this account with the corresponding sender.

I would love to be able to send mails as *@example.com.

I’m not familiar enough to know the right postfix options.

Thank you for your help!
Samuel

For reference, my setup right now:

Hi

Not sure to all understand, but if you want to send a email to all users of your yunohost server, you can see this thread

Cheers

Sorry, then I was unclear in my first post.

Every user has its own mail-space where she receives mails to the addresses in the space *username@example.com.

But unfortunately they can only send mails from username@example.com and not from all mail-addresses in the form of *username@example.com.

Right now I fixed it with the commenting out reject_sender_login_mismatch in the postfix main.cf.
But that is not the perfect way to handle it, I guess.