disabling only mail service for a hosted domain

kapOcha

Member
Jan 13, 2004
21
0
151
Cpanel Friends,

I need to disable only mail service for a hosted domain. The another services (web, ftp, stats ...) must keep working normally. I only need that my customer can not send nor receive mail neither.

I tried to remove the domain from /etc/localdomains file but it is not a complete solution. This way, the customer can not receive mail, but the customer can send mail.

Any help will be aprettiated.
Greetings.
 
Last edited:

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
15
313
Houston, TX
cPanel Access Level
Root Administrator
Cpanel Friends,

I need to disable only mail service for a hosted domain. The another services (web, ftp, stats ...) must keep working normally. I only need that my customer can not send nor receive mail neither.

I tried to remove the domain from /etc/localdomains file but it is not a complete solution. This way, the customer can not receive mail, but the customer can send mail.

Any help will be aprettiated.
Greetings.
You can remove mail and webmail functionality by creating a feature list that doesn't have that functionality and assigning that feature list to a package then assign that package to that user.

However, that still leaves the door open for creating a custom script that can still send email.