#1  
Old 18th March 2010, 08:48
admins admins is offline
Senior Member
 
Join Date: Apr 2009
Location: Switzerland
Posts: 210
Thanks: 6
Thanked 6 Times in 3 Posts
Default Mails move to Junk

Hi all

In the new version of ISPC has it in the mailbox filter part a checkbox "Move Spammails to Junk".

Where could I edit the parameter, that the server move the spam into "Spam" and not in "Junk"?

Thanks
admins
Reply With Quote
Sponsored Links
  #2  
Old 18th March 2010, 14:37
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,787
Thanks: 821
Thanked 5,337 Times in 4,187 Posts
Default

Do you use dovecot or courier?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 18th March 2010, 14:39
admins admins is offline
Senior Member
 
Join Date: Apr 2009
Location: Switzerland
Posts: 210
Thanks: 6
Thanked 6 Times in 3 Posts
Default

courier do I use

admins
Reply With Quote
  #4  
Old 19th March 2010, 09:54
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,787
Thanks: 821
Thanked 5,337 Times in 4,187 Posts
Default

The file is /usr/local/ispconfig/server/conf/mailfilter_move_junk.master
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 8th October 2012, 16:34
rmax75 rmax75 is offline
Junior Member
 
Join Date: Oct 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dovecot

Hi Till.
I use dovecot and ISPConfig 3.0.4.6

There is a way to do the same thing using dovecot ?

Great Job,
Massimo
Reply With Quote
  #6  
Old 8th October 2012, 17:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,787
Thanks: 821
Thanked 5,337 Times in 4,187 Posts
Default

For dovecot 1.0:

/usr/local/ispconfig/server/conf/sieve_filter.master

For dovecot 1.2:

/usr/local/ispconfig/server/conf/sieve_filter_1.2.master
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 8th October 2012, 17:45
rmax75 rmax75 is offline
Junior Member
 
Join Date: Oct 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
For dovecot 1.0:

/usr/local/ispconfig/server/conf/sieve_filter.master

For dovecot 1.2:

/usr/local/ispconfig/server/conf/sieve_filter_1.2.master
Thanks for your reply.
I'm using Dovecot 2.0.19 so i've changed the sieve_filter_1.2.master.

I've also updated this file in order to create the .Spam folder in the vmail root :

Code:
vim /usr/local/ispconfig/server/plugins-available/mail_plugin.inc.php

@lines 147,150 and 281,284

if(!is_dir($data['new']['maildir'].'/.Junk')) {
    //exec("su -c 'maildirmake -f Junk ".escapeshellcmd($maildomain_path)."' ".$mail_config['mailuser_name']);
    //$app->log('Created submaildir Junk: '."su -c 'maildirmake -f Junk ".escapeshellcmd($maildomain_path)."' ".$mail_config['mailuser_name'],LOGLEVEL_DEBUG);
    $app->system->maildirmake($maildomain_path,$mail_config['mailuser_name'],'Junk');
}
Now, everything seems to be ok : )

Just a little issue: Thunderbird doesn't recongnize the Spam folder with the special icon.
Any idea ?

Thanks,
Massimo

Last edited by rmax75; 8th October 2012 at 19:13. Reason: solved
Reply With Quote
  #8  
Old 8th October 2012, 19:18
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,787
Thanks: 821
Thanked 5,337 Times in 4,187 Posts
Default

Quote:
Just a little issue: Thunderbird doesn't recongnize the Spam folder with the special icon.
Normally this folder is named Junk and not Spam, ispconfig creates it automatically under the name Junk and the default templates that come with ispconfig use the folder with the correct name Junk.

So what you did above by creating another folder manually is normally not nescssary at all. If you do that, you will have to manually reconfigure thunderbird to recognize your custom folder name.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 8th October 2012, 20:23
rmax75 rmax75 is offline
Junior Member
 
Join Date: Oct 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by till View Post
Normally this folder is named Junk and not Spam, ispconfig creates it automatically under the name Junk and the default templates that come with ispconfig use the folder with the correct name Junk.

So what you did above by creating another folder manually is normally not nescssary at all. If you do that, you will have to manually reconfigure thunderbird to recognize your custom folder name.
You're right.
I solved my problem (after a few hours) setting in Thunderbird > Account Settings (my account) > "Junk Settings", the checkbox "Move new junk messages to:" > "Junk" folder on (my account).

Many thanks for your help.

Massimo

Last edited by rmax75; 8th October 2012 at 21:33. Reason: solved
Reply With Quote
Reply

Bookmarks

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
imapd: Error reading ACLs for INBOX..Junk: Invalid argument playalistic Installation/Configuration 6 2nd December 2009 11:42
ISPConfig+Roundcube. How to move the "quarantine files" to the Junk Folder voltron81 General 11 29th September 2009 10:56
Move junk mail to a folder berni911 Tips/Tricks/Mods 5 6th May 2009 15:42
Move junk mail to a folder instead of deleting grant Tips/Tricks/Mods 20 22nd October 2008 23:09
Third Option for Spam - Move To Junk Folder radim_h Feature Requests 1 23rd September 2008 09:04


All times are GMT +2. The time now is 14:09.


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