Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th January 2012, 18:52
radim_h radim_h is offline
Senior Member
 
Join Date: Jan 2007
Location: Prague, Czech
Posts: 426
Thanks: 34
Thanked 26 Times in 21 Posts
Send a message via ICQ to radim_h
Default "Move Spam Emails to Junk directory" on by default ?

Hello,

is there a way to have mailbox mailfilter option "Move Spam Emails to Junk directory" turned on by default after laibox is created ?

Or, how to turn it on for all mailboxes without manual clicking ?

Thanks for any hints
RH
Reply With Quote
Sponsored Links
  #2  
Old 17th January 2012, 19:33
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

Change the default of the database field with phpmyadmin.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 17th January 2012, 19:53
radim_h radim_h is offline
Senior Member
 
Join Date: Jan 2007
Location: Prague, Czech
Posts: 426
Thanks: 34
Thanked 26 Times in 21 Posts
Send a message via ICQ to radim_h
Default

it is not enough, because correct sieve script is not copied into mailbox then...
Reply With Quote
  #4  
Old 18th January 2012, 00:24
radim_h radim_h is offline
Senior Member
 
Join Date: Jan 2007
Location: Prague, Czech
Posts: 426
Thanks: 34
Thanked 26 Times in 21 Posts
Send a message via ICQ to radim_h
Default

I think that all needed together with database to "y"
has to be change default sieve script

from:
require ["fileinto", "regex", "date", "relational", "vacation"];

to

require ["fileinto", "regex", "date", "relational", "vacation"];


# Move spam to spam folder
if header :contains "X-Spam-Flag" "YES" {
fileinto "Junk";
# Stop here so that we do not reply on spams
stop;
}

but i cannot find, where is the default script located...

it should be
/usr/local/ispconfig/server/conf/sieve_filter_1.2.master
but don't know how to change it

Last edited by radim_h; 18th January 2012 at 00:28.
Reply With Quote
  #5  
Old 18th January 2012, 00:34
Shifu Shifu is offline
Junior Member
 
Join Date: Jan 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The sieve script get copied for me. So that problem is solved for me :-)

ISPConfig 3.0.4.2 with Dovecot
Reply With Quote
  #6  
Old 18th January 2012, 00:56
radim_h radim_h is offline
Senior Member
 
Join Date: Jan 2007
Location: Prague, Czech
Posts: 426
Thanks: 34
Thanked 26 Times in 21 Posts
Send a message via ICQ to radim_h
Default

great!
it didn't work some time ago.. it works for me also now...

But i still have 600+ existing mailboxes, where i want to change it also :||
Reply With Quote
  #7  
Old 20th April 2012, 19:14
richi richi is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Posts: 12
Thanks: 1
Thanked 1 Time in 1 Post
Default

Is there a way to have those mails moved to the junk folder marked as read also ..?
Reply With Quote
  #8  
Old 23rd April 2012, 13:12
johjoh2k johjoh2k is offline
Junior Member
 
Join Date: Jul 2008
Posts: 21
Thanks: 2
Thanked 0 Times in 0 Posts
 
Default

Please vote my suggestion:
http://bugtracker.ispconfig.org/inde...t=3&opened=672

Thank you!
Reply With Quote
Reply

Bookmarks

Tags
mail filter, move spam emails

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel 82815 Video Card & Ubuntu 8.10 harvey527 Kernel Questions 8 5th November 2010 15:51
amavis: (!!)WARN: all primary virus scanners failed, considering ba jariasca Installation/Configuration 13 20th April 2010 18:34
Admin Program for Virtual Users and Domains Postfix courier etc...(Ubuntu 8.04)? the1rob HOWTO-Related Questions 11 4th August 2009 05:54
Ubuntu 8.04 Spamsnake - all SA scores 0.00 Thomas_Powers HOWTO-Related Questions 23 24th June 2008 18:37
Exim MTA dazblade Server Operation 4 16th July 2007 19:42


All times are GMT +2. The time now is 16:06.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.