Hello, is there any option to have mailfiter "Move Spam Emails to Junk directory" set by default for each mailbox? Regular BFU will never turn any kind of mail filter on, and then people are complainign that they are getting spams into inbox i Tried to change move_junk=y as default in table mail_user , but its not enough.. for new user Move Spam Emails.. is checked in in ISPC, but sieve script is not on place.. i have to uncheck this option in ISPC and then check it back if i want to right /var/vmail/domain/user/.sieve script on place -------------- It will be beautifull have also the choice Mail Domain => Spamfilter => Normal Mailbox => Spamfilter => Normal selected by default with all new email domains and all new mailboxes.. Something as default "Email Domain/Mailbox" template.... i'm using Ubuntu 10.04LTS + Dovecot
Sorry That part with NORMAL policy was explained to me by Till here http://www.howtoforge.com/forums/showthread.php?p=243392#post243392 Just summary: edit: /usr/local/ispconfig/interface/web/mail/mail_domain_edit.php after existing line 166 - $policy_select = "<option value='0'>".$app->tform->wordbook["no_policy"]."</option>"; add line: if($this->id == 0) $tmp_user["policy_id"] = 5; edit: /usr/local/ispconfig/interface/web/mail/mail_user_edit.php after existing line 95 - $policy_select = "<option value='0'>".$app->tform->lng("no_policy")."</option>"; add line: if($this->id == 0) $tmp_user["policy_id"] = 5; ===== But i still cannot find, where to turn "Move Spam Emails to Junk directory" ON by default ???
I'm also looking for a way to set the move_junk field on by default. I tried by editing: /usr/local/ispconfig/interface/web/mail/form/mail_user.tform.php:261 Setting default to 'y'. PHP: 'move_junk' => array ( 'datatype' => 'VARCHAR', 'formtype' => 'CHECKBOX', 'default' => 'y', 'value' => array(1 => 'y',0 => 'n') ), It's simply doesn't work for that field. If i change other CHECKBOX fields on the same page from No to Yes it works. Thats pretty confusing. Thanks, Alex
Sorry , i did double post by mistake, did'nt remember i have asked in this forum some time ago... There is the second one http://www.howtoforge.com/forums/showthread.php?t=55801