mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
* Mail/Admin: do NOT allow to set forwards via Sieve rules, if user forwards are disabled (not standard SMTP!)
This commit is contained in:
parent
3ece75667d
commit
d8752eecf8
@ -238,6 +238,7 @@ class mail_sieve
|
|||||||
|
|
||||||
$rules = $this->rulesByID;
|
$rules = $this->rulesByID;
|
||||||
$content= $rules;
|
$content= $rules;
|
||||||
|
$content['no_forward'] = $this->account->acc_smtp_type !== Api\Mail\Smtp::class && !$this->account->acc_user_forward;
|
||||||
$content ['ruleID'] = $_GET['ruleID'];
|
$content ['ruleID'] = $_GET['ruleID'];
|
||||||
switch ($rules['action'])
|
switch ($rules['action'])
|
||||||
{
|
{
|
||||||
|
@ -84,7 +84,7 @@
|
|||||||
<taglist id="action_folder_text" class="et2_fullWidth" autocomplete_url="mail.mail_sieve.ajax_getFolders" autocomplete_params="" allowFreeEntries="false" maxSelection="1" onfocus="app.mail.sieve_focus_radioBtn" />
|
<taglist id="action_folder_text" class="et2_fullWidth" autocomplete_url="mail.mail_sieve.ajax_getFolders" autocomplete_params="" allowFreeEntries="false" maxSelection="1" onfocus="app.mail.sieve_focus_radioBtn" />
|
||||||
</hbox>
|
</hbox>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row disabled="@no_forward">
|
||||||
<radio label="Forward to address (*):" id="action" options="address"/>
|
<radio label="Forward to address (*):" id="action" options="address"/>
|
||||||
<hbox>
|
<hbox>
|
||||||
<taglist-email allowFreeEntries="true" id="action_address_text" class="et2_fullWidth" onfocus="app.mail.sieve_focus_radioBtn" />
|
<taglist-email allowFreeEntries="true" id="action_address_text" class="et2_fullWidth" onfocus="app.mail.sieve_focus_radioBtn" />
|
||||||
|
Loading…
Reference in New Issue
Block a user