Re: [AMaViS-user] Calling external script upon INFECTED or Spam-score

2005-10-20 Thread Robert Felber
On Fri, Oct 21, 2005 at 07:02:31AM +0200, Robert Felber wrote: > I'm not sure which ones causes more overhead, creating a UNIX TCP Socket, or > calling a script. In terms of speed and time, I myself would go for the Socket too, because I could make amavis talk directly to the cache, however, it's

Re: [AMaViS-user] Calling external script upon INFECTED or Spam-score

2005-10-20 Thread Robert Felber
Mark, On Thu, Oct 20, 2005 at 08:14:22PM +0200, Mark Martinec wrote: > > Hm, how about patches? > > Something like this? > > --- amavisd.ori Thu Oct 20 20:10:04 2005 > +++ amavisd Thu Oct 20 20:10:27 2005 > @@ -7730,6 +7730,22 @@ > do_log(0, $logline) if $logline ne ''; >}

Re: [AMaViS-user] Control outgoing messages for spam

2005-10-20 Thread Gary V
Mark wrote: > Obe, >> now check email for spam only for local user that I have actived in >> mysql table, but outgoing messages for other mail server it does not >> come controlled. >> Is possbile controll for spam all outgoing messages, while incoming >> messages only for user set in mysql table

Re: [AMaViS-user] Multiple spam-admins

2005-10-20 Thread Mark Martinec
From Gary V: > Creating and sending spam notifications is of limited use. In my > opinion the reports are just as annoying as spam itself, but on > occasion provide useful information for debugging. Right. An exception to the above is when spam admin notifications are only enabled for messages com

Re: [AMaViS-user] questions about bsmtp spam quarantine

2005-10-20 Thread Gary V
Shane wrote: > Gary V <[EMAIL PROTECTED]> [2005-09-29 10:59]: >> This worked: >> @spam_quarantine_to_maps = ( >> { '.example.com' => '', # turn off quarantine for this recip >> }, >> $spam_quarantine_to, # for everybody else use a global default >> ); > I must be doing something crazy. I

Re: [AMaViS-user] questions about bsmtp spam quarantine

2005-10-20 Thread Shane Hickey
Gary V <[EMAIL PROTECTED]> [2005-09-29 10:59]: > This worked: > @spam_quarantine_to_maps = ( > { '.example.com' => '', # turn off quarantine for this recip > }, > $spam_quarantine_to, # for everybody else use a global default > ); I must be doing something crazy. I have some domains that I

Re: [AMaViS-user] configuration problem

2005-10-20 Thread Noel Jones
At 02:50 PM 10/20/2005, Alvaro Graves wrote: Hi, I have installed a server with Postfix+Courier+MySQL. Recently I installed Amavis (only with SpamAssassin for now). However now it takes more than 1 hour for the messages to reach their destination. I tried different configurations, number of c

Re: [AMaViS-user] Multiple spam-admins

2005-10-20 Thread Gary V
Peter wrote: > Hi, > I have a question. We have a mailgateway that runs amavisd-new with > sendmail-milter for a domain and a subdomain. What I was wondering is if > it is possible to split the spam-admin Mails into two groups > spam to example.com evokes notification to [EMAIL PROTECTED] > sp

[AMaViS-user] configuration problem

2005-10-20 Thread Alvaro Graves
Hi, I have installed a server with Postfix+Courier+MySQL. Recently I installed Amavis (only with SpamAssassin for now). However now it takes more than 1 hour for the messages to reach their destination. I tried different configurations, number of child processes (2, 10, 50, 0) but nothing seem

[AMaViS-user] Multiple spam-admins

2005-10-20 Thread Peter Huetmannsberger
Hi, I have a question. We have a mailgateway that runs amavisd-new with sendmail-milter for a domain and a subdomain. What I was wondering is if it is possible to split the spam-admin Mails into two groups spam to example.com evokes notification to [EMAIL PROTECTED] spam to sub,example.com e

Re: [AMaViS-user] Per-virtual-user setup?

2005-10-20 Thread Noel Jones
At 01:14 PM 10/20/2005, Kelly Price wrote: Right now, it's all working well on a global scale. However, I'd like to add some per-user Bayesan filtering. The number of users is small (about 10 at most), but to be safe I can't assume they also have actual Unix accounts on the server itself.

[AMaViS-user] Re: amavisd TempDir class

2005-10-20 Thread Mark Martinec
Martin, > Will you accept the attached patch for amavisd-new? It removes the > temporary directory code from Amavis::In::SMTP into an Amavis::TempDir > class. This code is largely duplicated in the Courier and qmail input > modules and the primary aim of splitting it into a separate class is to

Re: [AMaViS-user] Calling external script upon INFECTED or Spam-score

2005-10-20 Thread Mark Martinec
Robert, > > > How do I call an external script upon INFECTED or Spam-Score > 10 > > > > This is not available without hacking the code, there is no mechanism > > to specify plugins (except when their function is similar to a virus > > scanner). > Hm, how about patches? Something like this? ---

[AMaViS-user] Per-virtual-user setup?

2005-10-20 Thread Kelly Price
I have a bit of a convoluted setup: * Postfix is installed, but on external IP addresses. * Amavisd-new is installed so Postfix routes mail through it (and SpamAssassin, as well as ClamAV). * Postfix then reroutes it to Scalix Community Edition (which has a Outlook-like webmail facility, but no an

Re: [AMaViS-user] About SA...

2005-10-20 Thread Gary V
Rocco wrote: > Yet I have not imported AWL... How I have to do to import it? If you like, you can dig through this document. You create the table using the supplied awl_mysql.sql file, something like "mysql -p sa_bayes < awl_mysql.sql" and then use the convert_awl_dbm_to_sql script to import the

Re: [AMaViS-user] Control outgoing messages for spam

2005-10-20 Thread Oberdan Albertoni
> To disable spam checking for messaged originating from inside > use MYNETS policy bank, see: Hello Mark, what I want to do is opposite, all the messeges orginating from inside must be check for spam By Obe. --- This SF.Net email is sponso

Re: [AMaViS-user] About SA...

2005-10-20 Thread Mark Martinec
Rocco, > But what have I to do to share the SA DB between many SA clients? Nothing, it works this way out of the box (on a SQL database). Just point each amavisd/SA to the same Bayes and AWL database (in local.cf). Mark --- This SF.Net emai

Re: [AMaViS-user] About SA...

2005-10-20 Thread Mark Martinec
Rocco, > I didn't know about this feautures of SA 3.1. Infact I created MyISAM > tables... so now I have to: > 1) migrate bayes db on flat files again > 2) drop the db > 3) create the db with InnoDB storage engine > 4) migrate db from flat files to new DB > > :( No need to go the long way. You c

Re: [AMaViS-user] Error in processing / FAILED: parsing file(1)

2005-10-20 Thread Tyrone Beers
Thank you both for the replies. I did have some world writable directories. Once that was fixed, the error message changed a little. After studying that for a bit, I noticed there was a broken version of file in a different directory, after getting rid of that, all is well. Thank you both again.

Re: [AMaViS-user] About SA...

2005-10-20 Thread Rocco Scappatura
Thanks Mark, I didn't know about this feautures of SA 3.1. Infact I created MyISAM tables... so now I have to: 1) migrate bayes db on flat files again 2) drop the db 3) create the db with InnoDB storage engine 4) migrate db from flat files to new DB :( PS: If I decide to mantain the MyISAM stor

Re: [AMaViS-user] About SA...

2005-10-20 Thread Rocco Scappatura
Yet I have not imported AWL... How I have to do to import it? I don't know if I syncing or expiring data in bayes_seen table on regular basis (the SA local.cf file is the original with the options for accessing DB). What is the difference between sync and expire? How I can setup the two operations

Re: [AMaViS-user] About SA...

2005-10-20 Thread Rocco Scappatura
Thanks. OK. But what have I to do to share the SA DB between many SA clients? rocsca - Original Message - From: "Martin Svensson" <[EMAIL PROTECTED]> To: "Rocco Scappatura" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, October 19, 2005 5:33 PM Subject: Re: [AMaViS-user] About SA... > Hi, >