You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -86,13 +86,108 @@ It is done automatically during installation. In case if filtering needs to be d
86
86
87
87
The configuration change is compatible with WHM Advanced Editor, you can continue using it for other modifications.
88
88
89
+
### CLN: Managing Imunify Email
90
+
91
+
#### How to Enable Imunify Email
92
+
93
+
#### Background
94
+
95
+
In order to use ImunifyEmail you have to enable it in CLN. You can achieve it in two ways:
96
+
1. via UI
97
+
2. via CLN API
98
+
99
+
When you enable/disable Imunify Email, the script will automatically run the corresponding action within 24 hours. In order to apply changes on the particular server immediately, please run the following command on behalf of the `root` user:
100
+
```
101
+
imunify360-agent update-license
102
+
```
103
+
104
+
#### CLN UI: enable/disable Imunify Email
105
+
106
+
You can manage Imunify Email state on 3 levels: Account, Key, Server.
107
+
108
+
#### 1. Account
109
+
110
+
To manage permission on an account level choose the “Enable for all servers” option.
111
+
112
+

113
+
114
+
When you enable the feature on an account level, the script will install Imunify Email **on all Imunify360 servers in your account** in 24 hours.
115
+
116
+
When disabling the feature on an account level, the script will deactivate the Imunify Email **on all Imunify360 servers in your account** in 24 hours.
117
+
118
+
There's also a default option called “depends on lower level”. This allows you to control permissions based on each key or license, rather than for the whole account.
119
+
120
+
#### 2. Key
121
+
122
+
To manage permission on a key level go to the “Activation keys” tab and select “add-ons”.
123
+
124
+

125
+
126
+
You will see this screen:
127
+
128
+

129
+
130
+
When you enable the feature on all servers in the key, the script will install Imunify Email **on all Imunify360 servers under this key** in 24 hours.
131
+
132
+
When disabling the feature on a key level, the script will deactivate the Imunify Email **on all Imunify360 servers under this key** in your account in 24 hours.
133
+
134
+
There's also a default option called “depends on lower level”. This allows you to control permissions based on each server.
135
+
136
+
#### 3. Server
137
+
To manage permission on a server level. Go to the “Servers” tab and select “add-ons”.
138
+
139
+

140
+
141
+
You will see this pop up:
142
+
143
+

144
+
145
+
When you enable the feature, the script will install Imunify Email **on a server** in 24 hours.
146
+
147
+
When disabling the feature, the script will deactivate the Imunify Email **on a server** in 24 hours.
148
+
149
+
#### CLN API: enable/disable Imunify Email
150
+
151
+
Useful links:
152
+
1.[CLN API documentation](https://docs.cloudlinux.com/cloudlinux_rest_api.pdf) (page 30 is about Imunify Email)
153
+
2.[CLN API swagger file](https://cln.cloudlinux.com/cln/api/webjars/swagger-ui/index.html#/)
154
+
155
+
Imunify Email state is managed by the next requests:
156
+
157
+
1.`PATCH /api/v2/features/account`: to enable/disable Imunify Email for account.
158
+
2.`PATCH /api/v2/imunify/keys`: to enable/disable Imunify Email for Imunify360 key.
159
+
3.`PATCH /api/v2/imunify/server`: to enable/disable Imunify Email for server with Imunify360.
160
+
161
+
In CLN terms Imunify Email is a "feature" and it has **id=4600**.
162
+
163
+
Below is a example of how to enable Imunify Email for particular server:
To enable Imunify Email on account/key level you have to follow almost the same algorithm but use endpoints (1)/(2) (refer to documentation above to get more details).
183
+
89
184
### User interface access
90
185
91
186
In order to access the UI as a hosting administrator, navigate to WHM -> Plugins -> Imunify360 -> Email tab.
92
187
93
188
Your clients will be able to access the Imunify Email Quarantine under: cPanel -> Security -> Imunify360 -> Email.
0 commit comments