1 |
On Dec 4, 2011 5:58 AM, "Michael Orlitzky" <michael@××××××××.com> wrote: |
2 |
> |
3 |
> On 12/03/2011 02:52 PM, Grant wrote: |
4 |
>> |
5 |
>> I haven't set up any antivirus measures on my Gentoo systems so I |
6 |
>> think I should. Is clamav run as a scheduled filesystem scanner on |
7 |
>> each system and as an email scanner on the mail server all that's |
8 |
>> necessary? |
9 |
> |
10 |
> |
11 |
> Nobody (as far as I know?) scans linux filesystems unless there's a legal |
12 |
requirement or the files might wind up on a Windows box. |
13 |
> |
14 |
> |
15 |
> |
16 |
>> I'm currently greylisting email to prevent spam from getting through. |
17 |
>> It catches a lot, but more and more gets through. I'm not using any |
18 |
>> mailfilters now and If I set up a clamav mailfilter I think I may as |
19 |
>> well set up a spamassassin mailfilter to take the place of |
20 |
>> greylisting. Is this the best guide for clamav and spamassassin: |
21 |
> |
22 |
> |
23 |
> SpamAssassin shouldn't take the place of greylisting; they reject |
24 |
different stuff. Keep the greylisting unless the delays bother you, but use |
25 |
postscreen to do it (see below). |
26 |
> |
27 |
> |
28 |
> |
29 |
>> http://www.gentoo.org/doc/en/mailfilter-guide.xml |
30 |
>> |
31 |
>> Could I run into any problems with clamav or spamassassin that might |
32 |
>> make we wish I hadn't implemented them? |
33 |
> |
34 |
> |
35 |
> Yeah. The first is false positives. The second, related problem is that |
36 |
you'll have to manage a quarantine unless you stick amavisd-new in front of |
37 |
the postfix queue. |
38 |
> |
39 |
> It's in that respect that the tutorial is outdated; otherwise, it looks |
40 |
good (I just skimmed it). |
41 |
> |
42 |
> There is great benefit to the before-queue setup: mail will never |
43 |
disappear. Senders either get a rejection, or the mail is delivered. With |
44 |
the after-queue setup, you can no longer reject or else you'll be |
45 |
backscattering. So, you either deliver the spam, or you quarantine it (very |
46 |
bad if it's a false positive). |
47 |
> |
48 |
> The downside is that you use more resources: one amavisd-new per |
49 |
connection. However, the addition of postscreen to postfix has largely |
50 |
ameliorated this. Since postscreen rejects most of the junk, amavis only |
51 |
gets started for smtpd sessions that are likely to succeed. |
52 |
> |
53 |
> The easiest way to migrate is through incremental improvement. We used to |
54 |
use a system like the one in that guide. I enabled postscreen over the |
55 |
course of a week, and retired postgrey, which we had been using for |
56 |
greylisting. Once that was working properly, I simply dropped the |
57 |
content_filter in favor of smtpd_proxy_filter to move amavis in front of |
58 |
the queue. |
59 |
> |
60 |
|
61 |
This is new information to me. If you're subscribed to Gentoo-server, |
62 |
you'll know that I am in the process of setting up a mailfiltering gateway |
63 |
for my company. |
64 |
|
65 |
Any resources on this "postscreen" facility? sounds like a very nice thing |
66 |
to implement. |
67 |
|
68 |
Rgds, |