Hello!
we have got a main domain (domain1.com) and one alias domain (domain2.com).
If i create an email account info@domain1.com, the account automatically get the email address info@domain2.com (alias domain for domain1.com).
I want to block/delete all emails to info@domain2.com because we are receiving about 100 emails in one hour into the spam.
Does somebody know how i can do it on CLI?
Thanks and best regards
Philip
Single Server Installation: Zimbra 8.6.0 GA Network
Block specific destination email address
-
- Posts: 3
- Joined: Mon Jun 04, 2018 7:04 am
Re: Block specific destination email address
Did you actually create an alias domain with a catchall address? If you have a catchall address on your server you will never stop spam for the obvious reason that a 'catcall' address will catch everything including spam.
-
- Posts: 3
- Joined: Mon Jun 04, 2018 7:04 am
Re: Block specific destination email address
Yes, it a catchall alias - we need it.
But my question is to block only one email address.
But my question is to block only one email address.
-
- Outstanding Member
- Posts: 304
- Joined: Sat Sep 13, 2014 2:23 am
- ZCS/ZD Version: Release 8.8.15.GA.3829.UBUNTU16.64
- Contact:
Re: Block specific destination email address
Hi,phil_discount wrote:Yes, it a catchall alias - we need it.
But my question is to block only one email address.
You can install policyd on your server and use access control module. I am use access control module to restrict user sending email into outside. But, you can adjust with your requirement
Below is sample guidance : https://imanudin.net/2014/09/29/how-to- ... h-policyd/
Thanks
AI
-
- Posts: 3
- Joined: Mon Jun 04, 2018 7:04 am
Re: Block specific destination email address
The system works fine - i dont want to change anything big (-:
I hoped there is a easy way like our whitelist and blacklist.
Whitelist /opt/zimbra/conf/salocal.cf.in
Blacklist /opt/zimbra/postfix/conf/postfix_reject_sender
I hoped there is a easy way like our whitelist and blacklist.
Whitelist /opt/zimbra/conf/salocal.cf.in
Blacklist /opt/zimbra/postfix/conf/postfix_reject_sender