#1  
Old 15th June 2006, 13:59
MvincM MvincM is offline
Member
 
Join Date: Apr 2006
Posts: 62
Thanks: 1
Thanked 4 Times in 2 Posts
Default Filtering SPAM

Hi,

I have some problem. My client has a lot of spam (a lot !). Filter works great. All bad mails are marked as **SPAM**. But he doesn't want to recive them to local Otulook. Ofcourse he can change to delete them bu it is dangerous (good mail could be delete). So the idea is to filter all **SPAM** marked mails to special foler (in home maildir folder) e.g. "Spam mails". So once a time he could chceck via WebMail what is in spam folder and delete spam mails or not.

And the question is how to do this? If it could be set globaly it could be great but if it not possible I can set it for all mails account (a lot of work )) )

Please advise.

Thanks in advanced.

Best regards,
MvincM
Reply With Quote
Sponsored Links
  #2  
Old 15th June 2006, 14:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,072
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

You can change the spamfilter procmail recipe to redirect spam emails to a directory.

The master template for all spamfilter procmail recipes is:

/root/ispconfig/isp/conf/spamassassin.rc.master

The procmail recipes in the user directories where rebuild from the mster template when you change a useraccount or create a new one.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 15th June 2006, 14:29
badben badben is offline
Senior Member
 
Join Date: Oct 2005
Location: Lancashire, UK
Posts: 103
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Why don't they just set up a rule in outlook so that all mails with ***SPAM*** in the subject get moved to a spam folder.

That is of course if they use microsoft outlook or express but I assume other programs have similar functions as well.
__________________
Web Developer
Reply With Quote
  #4  
Old 15th June 2006, 14:31
MvincM MvincM is offline
Member
 
Join Date: Apr 2006
Posts: 62
Thanks: 1
Thanked 4 Times in 2 Posts
Default

Thanks!

Just three more questions :

1) Is /root/ispconfig/isp/conf/spamassassin.rc.master upgraded on new ISP version instalation?

2) Is .spamassassin.rc (in user dir) update to new one version for all user? If I have new /root/ispconfig/isp/conf/spamassassin.rc.master (with my mods) is only thing to do is to add/delete any new user?

3) And the last one. My mods to /root/ispconfig/isp/conf/spamassassin.rc.master is:

:0:
* ^X-Spam-Status: Yes
$HOME/Maildir/SpamMails

Is it all? Where good mails are going in this situation?

Thanks,
MvincM

Last edited by MvincM; 15th June 2006 at 14:37.
Reply With Quote
  #5  
Old 15th June 2006, 14:34
MvincM MvincM is offline
Member
 
Join Date: Apr 2006
Posts: 62
Thanks: 1
Thanked 4 Times in 2 Posts
Default

badben:

They do not want ) to recive those mails and to sort in OL.

They use a lot of GPRS connections and all KB costs (money and time).

MvincM
Reply With Quote
  #6  
Old 15th June 2006, 15:03
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,072
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

Quote:
Originally Posted by MvincM
1) Is /root/ispconfig/isp/conf/spamassassin.rc.master upgraded on new ISP version instalation?
yes.
Quote:
2) Is .spamassassin.rc (in user dir) update to new one version for all user? If I have new /root/ispconfig/isp/conf/spamassassin.rc.master (with my mods) is only thing to do is to add/delete any new user?
No, only if you change the user as i described in the last post.

Quote:
3) And the last one. My mods to /root/ispconfig/isp/conf/spamassassin.rc.master is:

:0:
* ^X-Spam-Status: Yes
$HOME/Maildir/SpamMails

Is it all?
This shall be fine

Quote:
Where good mails are going in this situation?
Good mails will pass this filter.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 15th June 2006, 15:21
MvincM MvincM is offline
Member
 
Join Date: Apr 2006
Posts: 62
Thanks: 1
Thanked 4 Times in 2 Posts
Default

Thanks a lot ! All clear.

MvincM
Reply With Quote
  #8  
Old 16th June 2006, 12:52
MvincM MvincM is offline
Member
 
Join Date: Apr 2006
Posts: 62
Thanks: 1
Thanked 4 Times in 2 Posts
Default

One more thing

Are there any "skel" folder for new users (like in normal user adding proccess).

I would like to automaticly add SpamMails folder and "courierimapsubscribed" file (to bookmark SpamMails folder automaticly in WebMail).

Thanks in advanced.

MvincM
Reply With Quote
  #9  
Old 16th June 2006, 17:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Have a look here: http://www.howtoforge.com/forums/sho...make+ispconfig
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #10  
Old 21st September 2006, 15:17
farao farao is offline
Member
 
Join Date: Sep 2005
Posts: 42
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Sorry to bump such an old thread, but for some reason spamassassin won't put spam-tagged messages in a Maildir/.Junk folder. Below is the code from .spamassassin.rc.

Code:
:0:
* ^X-Spam-Status: Yes
$HOME/Maildir/.Junk
The .Junk-folder exists, is readable in IMAP-clients, but spam just won't show up. I sent myself the GTUBE test mail, and it just disappears. If I put a # in front of the folder-line, the correctly tagged spam does land in my regular inbox.

I also noticed that for my users, the home-folder is /var/www/webX, without the added user/webX_userY. Everything else works, so I'm guessing it must be something with the code in my .spamassassin.rc.

Thanks for any help.
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
Slicker spam handling with Maildirs IntnsRed Feature Requests 9 30th March 2008 06:02
How to kill spam when spamassassin marks it spam kpimichael Suggest HOWTO 15 6th August 2007 16:44
Kill Spam Assassin Sinisfun Installation/Configuration 1 5th May 2006 08:57
Spam Filtering mphayesuk General 15 23rd March 2006 15:17
Spam Gateway Rocky HOWTO-Related Questions 3 30th November 2005 12:04


All times are GMT +2. The time now is 12:35.


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