Project

General

Profile

Feature #744

Updated by Daniel Curtis almost 9 years ago

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: 
 <pre> 
 mysql -u root -p 
 </pre> 
 #* And add the following in SQL table vmail.alias: 
 <pre> 
 USE vmail; 
 INSERT INTO alias (address, goto, domain) VALUES ('example.com', 'catchall@example.com', 'example.com'); 'dest@example.com', 'domain.com'); 
 </pre> 

 This SQL sql command creates catchall catch-all address for domain @example.com@, example.com, all mails sent to non-existing accounts under @example.com@ example.com will be delivered to catchall@example.com. dest@example.com. 

 h2. Resources 

 * http://www.iredmail.org/docs/sql.create.catch-all.html 
 * http://www.iredmail.org/forum/topic3621-iredmail-support-catchall-email-setup-in-iredmail-081-mysql.html

Back