HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Filtering SPAM (http://www.howtoforge.com/forums/showthread.php?t=4922)

MvincM 15th June 2006 13:59

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

till 15th June 2006 14:09

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.

badben 15th June 2006 14:29

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.

MvincM 15th June 2006 14:31

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

MvincM 15th June 2006 14:34

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

till 15th June 2006 15:03

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.

MvincM 15th June 2006 15:21

Thanks a lot ! All clear.

MvincM

MvincM 16th June 2006 12:52

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

falko 16th June 2006 17:21

Have a look here: http://www.howtoforge.com/forums/sho...make+ispconfig

farao 21st September 2006 15:17

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.


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

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