Author Topic: Disable Mail  (Read 16780 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Disable Mail
« on: January 07, 2015, 06:34:18 AM »
Hi All,

How can i disable/Hide mail menu for users.

Or disable users from using mail function cause i have a KMS in the server and i disabled postfix.

Offline
*
Re: Disable Mail
« Reply #1 on: March 12, 2015, 08:13:23 PM »
simple stop postfix and dovecot and mailserver is down.
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
*
Re: Disable Mail
« Reply #2 on: January 20, 2016, 01:06:40 PM »
Hello,

But after reboot they start working again. is there a way to disable them completely?

i have vps with 1gb ram. i do not want to let email related 6-7  services to be active.

Hope someone can help me.

Cheers

Offline
***
Re: Disable Mail
« Reply #3 on: January 20, 2016, 10:37:09 PM »
Hi,

you can disable postfix & dovecot via chkconfig manager
or simply run these commands

Code: [Select]
service postfix stop && chkconfig postfix off
service dovecot stop && chkconfig dovecot off

Offline
*
Re: Disable Mail
« Reply #4 on: May 09, 2020, 12:40:28 PM »
Can I disable for just one user account?

Offline
****
Re: Disable Mail
« Reply #5 on: May 10, 2020, 09:03:46 AM »
Can I disable for just one user account?

In CWP Admin
User Accounts -> Features,Themes,Languages

Under new Features, choose Account, select the Accound, and don't check "email_accounts"
Google Hangouts:  rcschaff82@gmail.com

Offline
*
Re: Disable Mail
« Reply #6 on: May 11, 2020, 02:14:00 PM »
Thank you.

Sorry let me rephrase my question,

One website is sending out spam emails using phpmail(). Can I disable phpmail function just for that user?

Offline
****
Re: Disable Mail
« Reply #7 on: May 11, 2020, 08:00:07 PM »
If you're using php-fpm, you can disable it for the user.  If not, look at user.ini files, but they can change them.
Google Hangouts:  rcschaff82@gmail.com

Offline
*
Re: Disable Mail
« Reply #8 on: May 12, 2020, 02:58:03 AM »
Great. Thank you.

Offline
*
Re: Disable Mail
« Reply #9 on: May 30, 2020, 03:45:19 AM »
If you're using php-fpm, you can disable it for the user.  If not, look at user.ini files, but they can change them.
How to do that for specific user.