Virtualmin
Choose the domain name of your server from the pull-down menu
Click "Edit Mail Aliases"
Click "Add an alias to this domain"
Set "Name" to "All mailboxes"
Fill in the delivery settings as usual (a local mailbox, usually).
Click "Bounce mail?" if you want to use this catch-all email account to bounce inbound emails with invalid email addresses.
To "turn off" the automatic email bouncing, simply delete this catch-all email alias.