You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Jose Luis Marin Perez <jo...@hotmail.com> on 2009/09/18 00:07:26 UTC

Move SPAM into SPAM folder

Dear Sirs,

I need to know how can I automatically move all emails that are considered as SPAM to a specific directory called SPAM.

The server has installed Dovecot + Qmail + Vpopmail + Simscan + Spamassassin 3.2.5 + ClamAV.

Simscan is configured with:

./configure --enable-clamav=y --enable-clamdscan=/usr/local/bin/clamdscan --enable-dropmsg=y --enable-custom-smtp-reject=n --enable-per-domain=y --enable-attach=y --enable-spam=y --enable-ripmime=/usr/local/bin/ripmime --enable-received=y --enable-spam-hits=5.0 --enable-spamc=/usr/bin/spamc --enable-spamc-args="-s 200000 -t 60 -U /tmp/spamd.sock" --enable-spamc-user=y --enable-regex=y --with-pcre-include=/usr/local/include --enable-quarantinedir

At present all emails are considered SPAM go to the quarantine folder on the server.

Thanks

Jose Luis 		 	   		  
_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE

Re: Move SPAM into SPAM folder

Posted by Luis Daniel Lucio Quiroz <lu...@gmail.com>.
Le jeudi 17 septembre 2009 17:07:26, Jose Luis Marin Perez a écrit :
> Dear Sirs,
> 
> I need to know how can I automatically move all emails that are considered
>  as SPAM to a specific directory called SPAM.
> 
> The server has installed Dovecot + Qmail + Vpopmail + Simscan +
>  Spamassassin 3.2.5 + ClamAV.
> 
> Simscan is configured with:
> 
> ./configure --enable-clamav=y --enable-clamdscan=/usr/local/bin/clamdscan
>  --enable-dropmsg=y --enable-custom-smtp-reject=n --enable-per-domain=y
>  --enable-attach=y --enable-spam=y --enable-ripmime=/usr/local/bin/ripmime
>  --enable-received=y --enable-spam-hits=5.0 --enable-spamc=/usr/bin/spamc
>  --enable-spamc-args="-s 200000 -t 60 -U /tmp/spamd.sock"
>  --enable-spamc-user=y --enable-regex=y
>  --with-pcre-include=/usr/local/include --enable-quarantinedir
> 
> At present all emails are considered SPAM go to the quarantine folder on
>  the server.
> 
> Thanks
> 
> Jose Luis
> _________________________________________________________________
> Explore the seven wonders of the world
> http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
> 


Remember that SA will mark spam with an special header, you should use that to 
tell your MTA to move mail marked.

Re: Move SPAM into SPAM folder

Posted by John Hardin <jh...@impsec.org>.
On Thu, 17 Sep 2009, Jose Luis Marin Perez wrote:

> I need to know how can I automatically move all emails that are 
> considered as SPAM to a specific directory called SPAM.
>
> The server has installed Dovecot + Qmail + Vpopmail + Simscan + 
> Spamassassin 3.2.5 + ClamAV.
>
> At present all emails are considered SPAM go to the quarantine folder on 
> the server.

Sorry, but we can't help you. Spamassassin only generates a spamminess 
score. Some other tool uses that score to make delivery decisions. You'll 
have to ask on that tool's support list.

Given that simscan has an --enable-quarantinedir option, the simscan list 
would probably be the place to ask next.

-- 
  John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
  jhardin@impsec.org    FALaholic #11174     pgpk -a jhardin@impsec.org
  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  Today: the 222nd anniversary of the signing of the U.S. Constitution

Re: Move SPAM into SPAM folder

Posted by Karsten Bräckelmann <gu...@rudersport.de>.
On Thu, 2009-09-17 at 17:07 -0500, Jose Luis Marin Perez wrote:
> I need to know how can I automatically move all emails that are
> considered as SPAM to a specific directory called SPAM.

This is not a SA question. SA scores mail. It does not deliver, move or
reject mail, nor anything else but scoring and classifying.

> At present all emails are considered SPAM go to the quarantine folder
> on the server.

So what delivers them there? Simscan?


-- 
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}