1

Topic: Catch all email

- iRedMail version: 0.8.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: CentOS 6
- Related log if you're reporting an issue: None

How to catchall?
for all non-exist users mails to  be forwared to another email

example

one@domain.com(does not exist ) forward to myname@gmail.com
two@domain.com(does not exist ) forward to myname@gmail.com
three@domain.com(exists but forward only) forward to actual address

thanks

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Catch all email

Try this:

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

Emails sent to non-existing addresses will be forwarded to 'byname@gmail.com'.

If you have iRedAdmin-Pro installed, you can manage catch-all in domain profile page. Screenshot for your reference:

http://iredmail.org/images/iredadmin/domain_profile_catchall.png

3

Re: Catch all email

thank you