Re: How long does it take to install SA?

2009-03-29 Thread Arvid Ephraim Picciani



Single-user, vanilla install with two exceptions: the install will check our
two whitelists and give a pass (-100) to any of our clients so we don't
bounce their mail.


I hope you're not actually considering bouncing spam. That statement 
sounds like it.

Either jecect them at smtp time or silently delete

other then that.  whitelist sounds very simple to me:
http://wiki.apache.org/spamassassin/ManualWhitelist
unless you want to query a database of couse.

i'm using a check in my exim router to let some customers' customers 
bypass SA completly.





Re: How long does it take to install SA?

2009-03-27 Thread Neil Schwartzman
On 26/03/09 10:29 PM, Matt Kettler mkettler...@verizon.net wrote:

 Neil Schwartzman wrote:
 
 Say one is using Postfix and needs SA in front of ~15 aliases. How
 long should this take?
 
 That depends mostly on how you want to integrate SA into postfix.
 
 Installing SA itself should take about an hour if you've never done it
 before. Most of that will be reading the INSTALL file :-) Once you've
 done it before, installing SA itself is only 2-3 minutes.

Thanks a ton Matt.

Someone else asked for more details offlist,

Single-user, vanilla install with two exceptions: the install will check our
two whitelists and give a pass (-100) to any of our clients so we don't
bounce their mail.

-- 
Neil Schwartzman
Director, Accreditation Security  Standards
Certified | Safelist
Return Path Inc.
0142002038




Re: How long does it take to install SA?

2009-03-27 Thread Benny Pedersen

On Fri, March 27, 2009 01:53, Neil Schwartzman wrote:
 Say one is using Postfix and needs SA in front of ~15 aliases. How
 long should this take?

15 secs

-- 
http://localhost/ 100% uptime and 100% mirrored :)



Re: How long does it take to install SA?

2009-03-27 Thread LuKreme

On 26-Mar-2009, at 20:29, Matt Kettler wrote:
Personally I'd go with amavis if you want to integrate antivirus, or  
do
SMTP-layer rejections (ie: issue a 5xx error when the score is too  
high)



I've thought about going with amavis (mostly for spam rejection, I  
don't run VirusOS computers) but my problem has been that it seems  
that either amavis runs and rejects spam (in which case I need to set  
the threshold high) OR spamassasin runs and tags spam (in which case I  
can leave the threshold at 5.0).


What I want is all 5.0+ mail to be tagged and rendered safe  
(report_safe 1) and then all 10+ scoring spam to be rejected at the  
transaction phase.  Is this possible with Amavis?


Of course, the real problem is that I can't do per-user Bayes on the  
messages in the SMTP transaction phase, so is it also possible to  
check them after the fact for bayes, or does that just mean rerunning  
all of SA's tests?


--
Space Directive 723: Terraformers are expressly forbidden
from recreating Swindon.



Re: How long does it take to install SA?

2009-03-27 Thread Justin Mason
On Fri, Mar 27, 2009 at 11:42, Benny Pedersen m...@junc.org wrote:

 On Fri, March 27, 2009 01:53, Neil Schwartzman wrote:
 Say one is using Postfix and needs SA in front of ~15 aliases. How
 long should this take?

 15 secs

Benny, what was the point of that mail?  It's clearly inaccurate.
Please be constructive when posting to the public list.

--j.


Re: How long does it take to install SA?

2009-03-27 Thread Mark Martinec
LuKreme,

 I've thought about going with amavis (mostly for spam rejection, I
 don't run VirusOS computers) but my problem has been that it seems
 that either amavis runs and rejects spam (in which case I need to set
 the threshold high) OR spamassasin runs and tags spam (in which case I
 can leave the threshold at 5.0).

amavisd can do either, depends on how you configure it.

 What I want is all 5.0+ mail to be tagged and rendered safe
 (report_safe 1) and then all 10+ scoring spam to be rejected at the
 transaction phase.  Is this possible with Amavis?

$sa_tag2_level_deflt =  5;  # add 'spam' headers at that level
$sa_kill_level_deflt = 10;  # triggers spam evasive actions

Usually amavisd is placed as a post-queue filter, where it is
too late to reject mail.

On a small site with not a lot of mail traffic it may be possible
  (i.e. it happens to work, but does not meet all Postfix
  requirements for a transparent proxy)
to use it as a pre-queue (Postfix proxy) filter, in which case
it can do what you want - additionally you need:
  $final_spam_destiny=D_REJECT
in such a setup (this setting must not be used in a post-queue setup!)

 Of course, the real problem is that I can't do per-user Bayes on the
 messages in the SMTP transaction phase,

Indeed, per-user Bayes is currently not possible when SpamAssassin
is called from amavisd. For a user population which is not very large
and diverse, I'd claim that a global Bayes performs just as good,
and possibly better: all users benefit from little training.

 so is it also possible to check them after the fact for bayes,
 or does that just mean rerunning all of SA's tests?

It would require re-running SA tests. I wouldn't bother.

  Mark


Re: How long does it take to install SA?

2009-03-27 Thread LuKreme

On 27-Mar-2009, at 10:23, Mark Martinec wrote:

Indeed, per-user Bayes is currently not possible when SpamAssassin
is called from amavisd. For a user population which is not very large
and diverse, I'd claim that a global Bayes performs just as good,
and possibly better: all users benefit from little training.



Yeah, I tried global bayes, it failed miserably on my server with my  
users.


--
*** AgentSmith sets mode: +m



How long does it take to install SA?

2009-03-26 Thread Neil Schwartzman

Say one is using Postfix and needs SA in front of ~15 aliases. How long
should this take?

-- 
Neil Schwartzman
Director, Accreditation Security  Standards
Certified | Safelist
Return Path Inc.
0142002038



Re: How long does it take to install SA?

2009-03-26 Thread Matt Kettler
Neil Schwartzman wrote:

 Say one is using Postfix and needs SA in front of ~15 aliases. How
 long should this take?

That depends mostly on how you want to integrate SA into postfix.

Installing SA itself should take about an hour if you've never done it
before. Most of that will be reading the INSTALL file :-) Once you've
done it before, installing SA itself is only 2-3 minutes.

Hooking it to postfix could take a few minutes, could take an hour or two.

Methods like this one:

http://wiki.apache.org/spamassassin/IntegratedSpamdInPostfix

Boil down to reading the docs, and doing some copy-paste into configs..
goes pretty fast.

Some other methods offer more efficiency, power and flexibility, but
take longer to set up:

http://wiki.apache.org/spamassassin/IntegratePostfixViaSpampd

http://wiki.apache.org/spamassassin/IntegratedInPostfixWithAmavis

(warning: the local.cf example contains outdated options.. and
everything it specifies is the default... so it's a little silly, skip
that part)

Personally I'd go with amavis if you want to integrate antivirus, or do
SMTP-layer rejections (ie: issue a 5xx error when the score is too high)

Go with the first method if you want something quick and easy that just
sticks a subject tag onto spam.