Feature #744
Add a Catchall Account Per Domain on iRedMail
Description
This is a simple feature to add a catchall email account to iRedMail.
With default setting, iRedMail will reject emails sent to non-existing mail accounts under hosted mail domains. If you want to accept these emails, you need a domain catch-all account.
- With MySQL/MariaDB or PostgreSQL backend, to add a catch-all account for existing domain example.com, log into the mysql databse:
mysql -u root -p
- And add the following in SQL table vmail.alias:
USE vmail; INSERT INTO alias (address, goto, domain) VALUES ('example.com', 'catchall@example.com', 'example.com');
- And add the following in SQL table vmail.alias:
This SQL command creates catchall address for domain example.com
, all mails sent to non-existing accounts under example.com
will be delivered to catchall@example.com.
Resources¶
Updated by Daniel Curtis almost 9 years ago
- Description updated (diff)
- Status changed from New to Resolved
- % Done changed from 0 to 100