Re: [AMaViS-user] Recipient-domain-specific SA bayes db [was 'no subject']

2010-09-10 Thread Vernon A. Fort
On Fri, 2010-09-10 at 15:29 -0700, Yassen Damyanov wrote:
> --- On 9/11/10, Michael Scheidell wrote:
> 
> > 'no'. because amavisd-new only runs ONCE per email
> > (multi-recipient 
> > emails only run ONCE through SA/bayes)
> 
> Thanks, Michael. I know that and still I don't see a controversy. I can tell 
> amavisd-new to listen on several different ports, one per domain, and then in 
> /etc/postfix/main.cf use:
> 
> smtpd_recipient_restrictions =
>  ...
>  check_recipient_access hash:/etc/postfix/filter_recipient_domains
>  ...
> 
> where /etc/postfix/filter_recipient_domains defines FILTER actions pointing 
> to a different port amavisd-new listens on. Then I can use policy banks to 
> tune amavisd-new the way I want it tuned for that specific domain, but I 
> still don't know how to get it tell SA to look for it's bayes db at a 
> domain-specific location. Anyone's help is highly appreciated.
> 
> Yassen

how about running each amavis with a different user account with each
having a different home directory.  each home directory would have a
seperate .spamassassin/bayes*

Just a thought.

Vernon



--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot 
org


Re: [AMaViS-user] Recipient-domain-specific SA bayes db [was 'no subject']

2010-09-10 Thread Yassen Damyanov

--- On 9/11/10, Michael Scheidell wrote:

> 'no'. because amavisd-new only runs ONCE per email
> (multi-recipient 
> emails only run ONCE through SA/bayes)

Thanks, Michael. I know that and still I don't see a controversy. I can tell 
amavisd-new to listen on several different ports, one per domain, and then in 
/etc/postfix/main.cf use:

smtpd_recipient_restrictions =
 ...
 check_recipient_access hash:/etc/postfix/filter_recipient_domains
 ...

where /etc/postfix/filter_recipient_domains defines FILTER actions pointing to 
a different port amavisd-new listens on. Then I can use policy banks to tune 
amavisd-new the way I want it tuned for that specific domain, but I still don't 
know how to get it tell SA to look for it's bayes db at a domain-specific 
location. Anyone's help is highly appreciated.

Yassen


  

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot 
org


Re: [AMaViS-user] (no subject)

2010-09-10 Thread Michael Scheidell
  On 9/10/10 2:57 PM, Yassen Damyanov wrote:
> Hello all,
>
> I run a mail server hosting several domains, basically a classic postfix + 
> amavisd-new + clamav + spamassassin setup; and I do need help for the 
> following:
>
> I want amavisd-new/spamassassin use a different Spamassassin Bayes database 
> for each separate domain hosted on my mail server. That is, if the first 
> "To:" recipient is us...@firstdomain.com, then I want Bayes tests (and 
> learning) to be done against SA Bayes databse #1; if the first "To:" 
> recipient is us...@seconddomain.com, then Bayes tests (and learning) should 
> be done against SA Bayes databse #2, and so on. If there is no "To:" 
> recipient, Bayes tests (and learning) should be done against a default Bayes 
> database.
>
> I am trying very hard to find a way to achieve this, so far to no avail. 
> Anyone to come to the rescue? Thanks in advance!
'no'. because amavisd-new only runs ONCE per email (multi-recipient 
emails only run ONCE through SA/bayes)


-- 
Michael Scheidell, CTO
o: 561-999-5000
d: 561-948-2259
ISN: 1259*1300
 > *| *SECNAP Network Security Corporation

* Certified SNORT Integrator
* 2008-9 Hot Company Award Winner, World Executive Alliance
* Five-Star Partner Program 2009, VARBusiness
* Best in Email Security,2010: Network Products Guide
* King of Spam Filters, SC Magazine 2008

__
This email has been scanned and certified safe by SpammerTrap(r). 
For Information please see http://www.secnap.com/products/spammertrap/
__  

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot 
org


[AMaViS-user] (no subject)

2010-09-10 Thread Yassen Damyanov
Hello all,

I run a mail server hosting several domains, basically a classic postfix + 
amavisd-new + clamav + spamassassin setup; and I do need help for the following:

I want amavisd-new/spamassassin use a different Spamassassin Bayes database for 
each separate domain hosted on my mail server. That is, if the first "To:" 
recipient is us...@firstdomain.com, then I want Bayes tests (and learning) to 
be done against SA Bayes databse #1; if the first "To:" recipient is 
us...@seconddomain.com, then Bayes tests (and learning) should be done against 
SA Bayes databse #2, and so on. If there is no "To:" recipient, Bayes tests 
(and learning) should be done against a default Bayes database.

I am trying very hard to find a way to achieve this, so far to no avail. Anyone 
to come to the rescue? Thanks in advance!

Yassen


  

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot 
org