mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +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
719af62d6a
commit
534ad186fe
@ -238,6 +238,7 @@ class mail_sieve
|
||||
|
||||
$rules = $this->rulesByID;
|
||||
$content= $rules;
|
||||
$content['no_forward'] = $this->account->acc_smtp_type !== Api\Mail\Smtp::class && !$this->account->acc_user_forward;
|
||||
$content ['ruleID'] = $_GET['ruleID'];
|
||||
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" />
|
||||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<row disabled="@no_forward">
|
||||
<radio label="Forward to address (*):" id="action" options="address"/>
|
||||
<hbox>
|
||||
<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