Disable Mail

Started by mr.eslamo, January 07, 2015, 06:34:18 AM

Previous topic - Next topic

mr.eslamo

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.

Administrator

simple stop postfix and dovecot and mailserver is down.

TemhAAhmeT

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

Jae

Hi,

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


service postfix stop && chkconfig postfix off
service dovecot stop && chkconfig dovecot off

rifazmohammed

Can I disable for just one user account?

rcschaff

Quote from: rifazmohammed on May 09, 2020, 12:40:28 PM
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

rifazmohammed

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?

rcschaff

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

rifazmohammed


ekgrad

Quote from: 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.
How to do that for specific user.