Control Web Panel

WebPanel => E-Mail => Topic started by: mr.eslamo on January 07, 2015, 06:34:18 AM

Title: Disable Mail
Post by: mr.eslamo 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.
Title: Re: Disable Mail
Post by: Administrator on March 12, 2015, 08:13:23 PM
simple stop postfix and dovecot and mailserver is down.
Title: Re: Disable Mail
Post by: TemhAAhmeT 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
Title: Re: Disable Mail
Post by: Jae 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
Title: Re: Disable Mail
Post by: rifazmohammed on May 09, 2020, 12:40:28 PM
Can I disable for just one user account?
Title: Re: Disable Mail
Post by: rcschaff 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"
Title: Re: Disable Mail
Post by: rifazmohammed 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?
Title: Re: Disable Mail
Post by: rcschaff 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.
Title: Re: Disable Mail
Post by: rifazmohammed on May 12, 2020, 02:58:03 AM
Great. Thank you.
Title: Re: Disable Mail
Post by: ekgrad 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.