Block specific destination email address

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
phil_discount
Posts: 3
Joined: Mon Jun 04, 2018 7:04 am

Block specific destination email address

Postby phil_discount » Mon Jun 04, 2018 7:11 am

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


phoenix
Ambassador
Ambassador
Posts: 26727
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Block specific destination email address

Postby phoenix » Mon Jun 04, 2018 7:34 am

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.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
phil_discount
Posts: 3
Joined: Mon Jun 04, 2018 7:04 am

Re: Block specific destination email address

Postby phil_discount » Mon Jun 04, 2018 8:09 am

Yes, it a catchall alias - we need it.
But my question is to block only one email address.
imanudin11
Outstanding Member
Outstanding Member
Posts: 297
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

Postby imanudin11 » Tue Jun 05, 2018 7:56 am

phil_discount wrote:Yes, it a catchall alias - we need it.
But my question is to block only one email address.

Hi,

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
phil_discount
Posts: 3
Joined: Mon Jun 04, 2018 7:04 am

Re: Block specific destination email address

Postby phil_discount » Tue Jun 05, 2018 8:16 am

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

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 21 guests