What type of hardware are you using: Other(?) What YunoHost version are you running: Powered by YunoHost 12.1.41.2 (stable) How are you able to access your server: The webadmin
SSH
Describe your issue
What is the proper way to configure a catch-all email alias?
So you would get at catch-all@domain.xx any mail sent to @domain.xx
except the already existing mailboxes, like john@domain.xx and mary@domain.xx
There are a lot of posts about this, but seems things have changed and I don’t know which one is the proper instructions
If somebody points me to the proper forum post/instructions, I can document and collaborate with YNH doc
As for documentation, it seems a bit dangerous to add any of these workarounds there and suggest that more people use them. A “proper” solution or support in the yunohost admin interface would be much better I guess. But I don’t even know who would be the right developer / team member to ask and support (financially) for making it happen.
So, I think @m4lvin solution is the best and most updated at this day, so I would try to document the steps, because I was personally confused with all the info on the original post. Please @m4lvin correct me.
And yes, the tricky part is that whenever you add another user later then you need to update the my-catchalls file to ensure they get their mails (as an exception to the catchall).
One practical addition: any time /etc/postfix/my-catchalls changes—whether adding a user, alias, or exception—rerun postmap /etc/postfix/my-catchalls. It’s easy to forget that step after the initial setup, and then the catch-all/exceptions silently keep using the old map. If you document this, a small note about checking postmap -q for a couple of addresses would make the workaround easier to verify.