1

Topic: Delete incoming mails to certain address

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Deployed with iRedMail Easy or the downloadable installer? download
- Linux/BSD distribution name and version: ubuntu 16 lts latest
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx): apache
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hello!

I've got one domain with catchall *@domain.com to 1@domain.com and 3 real imap addresses 1@domain.com 2@domain.com 3@domain.com

How can I delete automatically all incoming mails to 4@domain.com at server level ? And maybe add auto reply, But that's not important.

-ted

2

Re: Delete incoming mails to certain address

Set its per-user transport to "discard" (without quotes). This is default transport offered by Postfix used to discard received emails.

FYI: https://docs.iredmail.org/per-account.transport.html

----

Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee