How to block email address or domain

Post Reply
User avatar
T4B
Posts: 124
Joined: Sat Jul 11, 2020 9:44 am

hey, can block the mail address in myvestacp ?
User avatar
myVesta
Site Admin
Posts: 756
Joined: Fri Jun 19, 2020 9:59 am

To block Incoming mail

First run:

Code: Select all

vi /etc/exim4/deny_senders
Here you add email or whole domain which you want to block for receiving emails.
You can also use the wildcards.

Example:

Code: Select all

*.win
*@example.com
*.stream
*.bid
*.racing
*.trade
*.cricket
*.download
*.date
*.loan
*.faith
qq.com
126.com
getgoood.com
*.fun
ict.com
procore.com
[email protected]
Each email/domain have to be in separate line.
User avatar
T4B
Posts: 124
Joined: Sat Jul 11, 2020 9:44 am

thank you :P
Post Reply