spamassassin-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Luis Marin Perez" <jma...@isp.qnet.com.pe>
Subject RE: Move SPAM to directory and notify user
Date Fri, 09 Jul 2010 17:12:52 GMT
Procmail Using this understanding, my question is how to notify the user via
email, would read the contents of the SPAM folder? excuse my insistence but
I do not understand, I hope you can help me with this.

José Luis 


-----Mensaje original-----
De: Charles Gregory [mailto:cgregory@hwcn.org] 
Enviado el: Viernes, 09 de Julio de 2010 11:50 a.m.
Para: users@spamassassin.apache.org
Asunto: Re: Move SPAM to directory and notify user

On Fri, 9 Jul 2010, Jose Luis Marin Perez wrote:
> In a CentOS 4.7 server I installed qmail + simscan + ClamAV + Spamassassin
> 3.3.0 that is working properly.
> Now my intention is that when a mail is considered SPAM this is moved to a
> folder called SPAM and in turn notifies the user (via email) so you can
> review it.
> Is it possible?

If your Spamassassin is properly adding a header showing the Spam 'score' 
as a row of asterisks, then you can check for that header in procmail and 
deliver accordingly. I would suggest, to avoid having a notice for every 
piece of spam, try instead to have a cron job that checks the spam folder 
for *new* mail, once nightly, and sends a single message to the user. Of 
course, if the user is always getting spam, then that notice gets ignored 
pretty quickly, so you may want to decide whether it is worth the trouble.

- C


Mime
View raw message