Re: how to quarantine ? really

Salvatore Toribio <[email protected]>
Newsgroups gmane.mail.qmail.scanner
Message-ID <a06230909c07fc77624e1@[193.43.129.133]>
At 22:55 -0400 3-05-2006, Maxime Laplante wrote:
>I succeed to install qmail-scanner on my server.
>
>Now, all messages are being scanned and x-report headers are there.
>Subject is also changed when score is > 5.
>
>But what I want is to keep all spam in a single mailbox.
>So I will be able to access false positives from IMAP.
>
>Plus, I want this mailbox to be keep clean.
>Maybe I need a cron job.
>
>Could somebody help me ?
>I a newbie.
>
>I tried to configure these variables;
>my $sa_quarantine_site
>my $smaildir_site="$vmaildir";
>
>Without success.
>
>Thanks a lot in advance.
>

Hi Maxime

I guess you are using version 1.25st, you better upgrade to version 
2.01st, there is a permission issue with 1.25st and it will be 
difficult to access to the maildir where the mails are quarantined 
(unless you use a crojob, see below).

Let the default value of $smaildir_site unmodified and the spam mails 
will be quarantined in /var/spool/qscan/quarantine/spam/new

You also have to set $sa_quarantine_site to a proper value, for 
example '2', then mails over 7 points will be quarantined (as you 
probably have required_hits = 5)

The easiest way to access via IMAP that mails if to set a cronjob 
that 'moves' the content of /var/spool/qscan/quarantine/spam/new to 
the mailbox (maildir...) you wish to use for checking false 
positives, the job have also to set appropriate permissions of these 
files.

Good luck

ST
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.