View Full Version : Delete spam
mccharlet
29th January 2008, 21:40
Hi,
It's possible for one user to configure spammassassin for deleting spam email ?
till
30th January 2008, 09:34
Hi,
It's possible for one user to configure spammassassin for deleting spam email ?
Yes, you can configure thgis in the spam and antivirus settings of the user.
mccharlet
30th January 2008, 22:45
Hi,
Ok i have modified the user file .spamassassin.rc
Ispconfig changing automatically this file by the master file ?
falko
31st January 2008, 21:42
.spamassassin.rc will be overwritten by ISPConfig. Please copy the template /root/ispconfig/isp/conf/spamassassin.rc.master to the /root/ispconfig/isp/conf/customized_templates directory and modify /root/ispconfig/isp/conf/customized_templates/spamassassin.rc.master instead.
mccharlet
31st January 2008, 21:51
I want change only for one user
That's not possible?
till
1st February 2008, 10:21
I want change only for one user That's not possible?
Sure, you can set this in the user settings. You dont have to modify the spamassassin.rc for that as this is a normal buildin function of ispconfig that can be configured per user. Have a look at the spam and antivirus details of the user form and select "Discard" as spam strategy.
TomC
30th March 2008, 23:11
Might be a bit late to react on this thread... ;-)
But wouldn't it be an idea to add a line to /root/ispconfig/isp/conf/customized_templates/procmailrc.master that says:
INCLUDERC={PMDIR}/.myprocmail.rc
So every user can adjust his/her .myprocmail.rc to add special filtering rules, e.g. putting spam into a particular folder, etc.
falko
31st March 2008, 13:46
Might be a bit late to react on this thread... ;-)
But wouldn't it be an idea to add a line to /root/ispconfig/isp/conf/customized_templates/procmailrc.master that says:
INCLUDERC={PMDIR}/.myprocmail.rc
So every user can adjust his/her .myprocmail.rc to add special filtering rules, e.g. putting spam into a particular folder, etc.
The problem is that the order of the recipes in .procmailrc matters. So the question is in which position do we add this line? Before all others? After all others? Somewhere in between?
TomC
31st March 2008, 14:10
If we talk about a user-specific file for handling mails tagged as spam by spamassassin it has to be anywhere after calling .spamassassin.rc, right? IMHO it makes sense to put the call before the autoresponder.
What about this:
{MAILDIR_COMMENT}MAILDIR=$HOME/Maildir/
{MAILDIR_COMMENT}DEFAULT=$MAILDIR
{MAILDIR_COMMENT}ORGMAIL=$MAILDIR
{QUOTA}
INCLUDERC={PMDIR}/.mailsize.rc
{QUOTA_COMMENT}INCLUDERC={PMDIR}/.quota.rc
{ANTIVIRUS_COMMENT}INCLUDERC={PMDIR}/.antivirus.rc
{MAILSCAN_COMMENT}INCLUDERC={PMDIR}/.local-rules.rc
{MAILSCAN_COMMENT}INCLUDERC={PMDIR}/.html-trap.rc
{SPAMASSASSIN_COMMENT}INCLUDERC={PMDIR}/.spamassassin.rc
INCLUDERC={PMDIR}/.myprocmail.rc
{AUTORESPONDER_COMMENT}INCLUDERC={PMDIR}/.autoresponder.rc
What would keep us from putting .myprocmail.rc there? Even for filtering rules other than spam-related?
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.