Disabling mail service to a domain

jsmario

Registered
Feb 26, 2013
2
0
1
cPanel Access Level
DataCenter Provider
If I disable mail service temporarily to a domain will this delete the users mail? A email of a client was hacked and was sending out spam. We have changed the password, but would like to disable email for this entire domain. Any advise onthis would be Awesome!!!

Thanks.
 

sawbuck

Well-Known Member
Jan 18, 2004
1,365
8
168
cPanel Access Level
Root Administrator
One option is to move the domain from /etc/localdomains to /etc/remotedomains effectively disabling access to the account. Then move it back when the issue is resolved.

There previously was an option using the Exim Advanced Editor to use the directive "domainlist blocked_domains" but it is no longer working (at least for us) in the 11.34 product version and above.
 

jsmario

Registered
Feb 26, 2013
2
0
1
cPanel Access Level
DataCenter Provider
If I move the domain to /etc/remotedomains will the domain remain active and just disables access or does it disable the domain completely?