How to make, that would be all letters, with an error in the recipient's name, came to the specified address?

There is a mail server postfix + dovecot + mysql.
There are several domains and many mailboxes.
You need to make sure that, if there was an error in the user name (for example "ivanov@domain1.com" (not existing) instead of "IvanovA@domain1.com" the (existing) ) all letters were sent to the box "secretary@domain1.com" it is desirable that in the subject immediately stamped on the email which was sent.
Likewise for domain2 and others.

It would be ideal if we could set the parsing of regular expressions, with possible errors and immediately send to the right address, and if not managed and no do not come, in General.

PS in theory, ready to spam (filters + specially-assigned person to review and redirect to the right address).

At the moment, based on the logs were made virtual users with popular misspellings, and redirects immediately to the correct address.
April 7th 20 at 15:37
2 answers
April 7th 20 at 15:39
Solution
Read VIRTUAL_README.

Example
Add to main.cf:
virtual_alias_maps = hash:/etc/postfix/virtual

/etc/postfix/virtual:
# Popular mistakes
ivanov@domain1.com IvanovA@domain1.com

# Else the Secretary
@domain1.com secretary@domain1.com

To perform:
[user@server ~]> postmap /etc/postfix/virtual
[user@server ~]> systemctl reload postfix


Treating the place with a file.

As already noted, the spam you are flooded with your head. Extras are bound to be boxes, which will come only spam. It makes sense to block the reception of email to these addresses using smtpd_recipient_restrictions, or use them to train anti-spam (honeypot).

Parsing using regular expressions, you can implement forces using Dovecot Sieve: Pigeonhole Sieve Interpreter (using Dovecot as LDA for Postfix required). But exercise is obviously ungrateful.
April 7th 20 at 15:41
How to make, that would be all letters, with an error in the recipient's name, came to the specified address?

The query in Google "postfix catchall".
PS
But spam will collect otdushi...

Find more questions by tags DovecotE-mailMail serverPostfix