Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

Block incoming email from specific domain @qq.com

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
8 posts • Page 1 of 1
lakis21
Posts: 15
Joined: Sun Dec 28, 2014 11:48 am
Contact:
Contact lakis21
Website

Os: CentOS 5x
Web: apache + nginx
Block incoming email from specific domain @qq.com
  • Quote

Post by lakis21 » Tue Jan 02, 2018 3:49 pm

Hello,
I am trying to block all incoming from specific domain: *@qq.com.
Can anyone help me step by step?
I tried using spam-block.conf but I didn't have any success.
CentOS 6.8
Exim version 4.84_2 #1 built 09-Jun-2016 11:48:30
Thanks in advance!
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Block incoming email from specific domain @qq.com
  • Quote

Post by imperio » Tue Jan 02, 2018 8:36 pm

The requirements of the rules are not executed
Top

lakis21
Posts: 15
Joined: Sun Dec 28, 2014 11:48 am
Contact:
Contact lakis21
Website

Os: CentOS 5x
Web: apache + nginx
Re: Block incoming email from specific domain @qq.com
  • Quote

Post by lakis21 » Wed Jan 03, 2018 5:58 am

imperio wrote:The requirements of the rules are not executed
Thanks for the prompt reply!
Can anyone help me how to do it, step by step?
Thank you once again!
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Block incoming email from specific domain @qq.com
  • Quote

Post by imperio » Wed Jan 03, 2018 7:07 am

viewtopic.php?f=10&t=15830
Top

lakis21
Posts: 15
Joined: Sun Dec 28, 2014 11:48 am
Contact:
Contact lakis21
Website

Os: CentOS 5x
Web: apache + nginx
Re: Block incoming email from specific domain @qq.com
  • Quote

Post by lakis21 » Wed Jan 03, 2018 8:26 am

imperio wrote:viewtopic.php?f=10&t=15830
Thank you for helping me to Update OS and Web : Fields.
Sorry for any inconvenience i may have caused.
Top

lakis21
Posts: 15
Joined: Sun Dec 28, 2014 11:48 am
Contact:
Contact lakis21
Website

Os: CentOS 5x
Web: apache + nginx
Re: Block incoming email from specific domain @qq.com
  • Quote

Post by lakis21 » Thu Jan 04, 2018 4:00 pm

Can anyone please help me and saw me how I can block email from a specific domains?
for example: [email protected]
Thanks in advance!
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: Block incoming email from specific domain @qq.com
  • Quote

Post by mehargags » Fri Jan 05, 2018 2:05 am

You need to create a block list and then tell Exim to process it by setting up an ACL
Search Google for exim block domain for incoming mails you will get many good pointers.

A few good mentions (even though they are for cPanel, they should work fine for anyone with EXIM MTA)
https://www.ndchost.com/wiki/cpanel/exi ... -by-domain
https://www.tekovic.com/exim-acl-for-bl ... in-senders
Top

lakis21
Posts: 15
Joined: Sun Dec 28, 2014 11:48 am
Contact:
Contact lakis21
Website

Os: CentOS 5x
Web: apache + nginx
Re: Block incoming email from specific domain @qq.com
  • Quote

Post by lakis21 » Sun Jan 07, 2018 8:38 am

mehargags wrote:You need to create a block list and then tell Exim to process it by setting up an ACL
Search Google for exim block domain for incoming mails you will get many good pointers.

A few good mentions (even though they are for cPanel, they should work fine for anyone with EXIM MTA)
https://www.ndchost.com/wiki/cpanel/exi ... -by-domain
https://www.tekovic.com/exim-acl-for-bl ... in-senders
Thank you mehargags!!!!
I think it worked! I just did two thinks (after I read you second link)
1. add the following line after acl_check_data:

Code: Select all

deny senders = /etc/deny_senders
2. create the following file /etc/deny_senders with the following line

Code: Select all

*@qq.com
after that I restart the server and it worked!!!!

THANK YOU!!!!
Top


Post Reply
  • Print view

8 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password