1

Topic: catchall ANY domain

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: Centos
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====
Hello
I'm using default installation.
I want to forward all emails to ALL ANY domains.

I found:
/etc/postfix/main.cf:
local_recipient_maps =
luser_relay = myemailcatchall@domain.com

but I receive the error "Relay access denied"

Can you help me or advise something?

Thank you

----

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

2

Re: catchall ANY domain

*) Excuse me, what do you mean "forward all emails to ALL ANY domains"?
*) Do you want to catch ALL outgoing emails, or incoming emails?

3

Re: catchall ANY domain

I want to receive all INCOMING emails to any domains(I don't know these domain names so I can't insert it to db) that come to my server.

catchall to my email myemailcatchall@domain.com

4

Re: catchall ANY domain

You must update DNS records to point the MX/A record to your mail server, so that others will connect to your server to deliver emails. The question is:

*) who will point their MX/A records to your mail server?
*) and WHY, why do you want to receive emails to any domains?
*) Why you don't know the domain names?

This doesn't make sense.

5

Re: catchall ANY domain

>>You must update DNS records to point the MX/A record to your mail server, so that others will connect to your server to deliver emails.

Of course, I understand and remember it. It's no problem.

I need it for developing and tests.

I can setup catch-all for certain domain *@certaindomain.com
But I want to setup catchall for any domain *@*

6

Re: catchall ANY domain

Can you advise something?

thanks