From iRedMail
Jump to: navigation, search

With MySQL or PostgreSQL backend, you can add catch-all account for existing domain '' in vmail.alias table, like this:

$ mysql -uroot -p
mysql> USE vmail;
mysql> INSERT INTO alias (address, goto, domain) VALUES ('', '', '');

This mysql command creates catch-all address for domain, all mails sent to non-exist accounts will be delivered to

NOTE: If you have iRedAdmin-Pro, you can manage catch-all address in domain profile directly. Screenshot:

Personal tools