1

Topic: [need help]got planty junk mail between non-existent_user@domain.com

==== Required information ====
- iRedMail version (check /etc/iredmail-release):  0.9.0
- Linux/BSD distribution name and version:  CentOS Linux 6.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? NO
- Related log if you're reporting an issue:

i got a problem receiving virus mail from non-existent_user1@domaon to non-existent_user2@domain
i setup catch-all account and i need it, cant disable catch-all
and i found there is a config section in Postfix is:
REJECTING MAIL FOR UNKNOWN LOCAL USERS
where there is a line: local_recipient_maps = xxxxxxxxxxx
i dont know what maps i need to set in this version of iRedMail?
if i set the maps, can it reject non-existent_user sending local emails?

----

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

2

Re: [need help]got planty junk mail between non-existent_user@domain.com

Catch-all account means your server will receive emails sent to any addresses like "xxx@your_domain.com". so there's no way to reject "unknown" local user.

3

Re: [need help]got planty junk mail between non-existent_user@domain.com

ZhangHuangbin wrote:

Catch-all account means your server will receive emails sent to any addresses like "xxx@your_domain.com". so there's no way to reject "unknown" local user.

Sorry my fault. I mean Sender, the virus keep sending mail from unknow-user@domain.
Shouldn't postfix relaying mail after auth?

4

Re: [need help]got planty junk mail between non-existent_user@domain.com

anyone know?
for example: i receive a mail from Gsupport@mydomain.com (not existent user Gsupport) and this mail contain a ***.zip which has been reported infected. Sent to Paul@mydomain.com (Paul not existent also).
So how can I filter or reject this mail?

my consideration is to restrict non-existent user send email to mydomain.com.