[AMaViS-user] Custom hook for autoreply handling

2008-03-17 Thread Henrik K
I didn't find anything existing for this, so I put together a custom hook to prevent (mainly Outlook) autoreplying to bulk messages (mailinglists, spam, other autoreplies etc). Have a look if you think it might be useful: http://hege.li/contrib/amavisd-new/autoreply.conf Not sure if everything

Re: [AMaViS-user] SA persistent DB connection help?

2008-04-14 Thread Henrik K
On Fri, Apr 11, 2008 at 03:59:24PM -0400, Michael Scheidell wrote: Wondering, for SA (awl, bayes?) how valuable is the DBI persistent plugin? http://wiki.apache.org/spamassassin/DBIPlugin I have no idea, but I've been using it for a year without problems. I guess it should help.

Re: [AMaViS-user] amavisd-new 2.6.x does not run chrooted on *BSD

2008-05-29 Thread Henrik K
On Thu, May 29, 2008 at 08:50:15AM +0300, Tuomo Soini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Martinec wrote: | | Indeed, thanks for a bug report, amavisd-new-2.6.0 drops privileges | too early. Until I have this fixed, please provide a chroot directory | through a

Re: [AMaViS-user] Custom hook for autoreply handling

2008-06-03 Thread Henrik K
On Tue, Jun 03, 2008 at 12:37:50PM +0200, Benny Pedersen wrote: On Mon, March 17, 2008 18:31, Henrik K wrote: http://hege.li/contrib/amavisd-new/autoreply.conf Not sure if everything is up to Amavis standards, but seems to work. :) if ($msginfo-originating) { this line fails for me

Re: [AMaViS-user] Bayes performance

2008-06-19 Thread Henrik K
On Thu, Jun 19, 2008 at 05:03:30PM +0100, Ed W wrote: Yes, but you are grinding your disk for those ms. When you do a write in mysql it flushes the query cache for that table, so basically the bayes tables never really cache well. I guess what was suggested is something like to write

Re: [AMaViS-user] lha segfault, should I worry?

2008-08-07 Thread Henrik K
On Thu, Aug 07, 2008 at 10:30:17AM +0200, Ralf Hildebrandt wrote: On our amavisd-new box: Jul 30 16:36:42 mail kernel: [608438.105690] lha[700]: segfault at bfcf4d55 ip 0804d62a sp bfceb04c error 4 in lha[8048000+d000] Jul 30 16:41:11 mail kernel: [608707.038312] lha[1970]: segfault at

Re: [AMaViS-user] lha segfault, should I worry?

2008-08-07 Thread Henrik K
On Thu, Aug 07, 2008 at 11:38:37AM +0300, Henrik K wrote: On Thu, Aug 07, 2008 at 10:30:17AM +0200, Ralf Hildebrandt wrote: On our amavisd-new box: Jul 30 16:36:42 mail kernel: [608438.105690] lha[700]: segfault at bfcf4d55 ip 0804d62a sp bfceb04c error 4 in lha[8048000+d000] Jul 30

Re: [AMaViS-user] lha segfault, should I worry?

2008-08-07 Thread Henrik K
On Thu, Aug 07, 2008 at 10:45:48AM +0200, Ralf Hildebrandt wrote: * Henrik K [EMAIL PROTECTED]: On Thu, Aug 07, 2008 at 10:30:17AM +0200, Ralf Hildebrandt wrote: On our amavisd-new box: Jul 30 16:36:42 mail kernel: [608438.105690] lha[700]: segfault at bfcf4d55 ip 0804d62a sp

Re: [AMaViS-user] Q about bayes_vars/token and id value

2008-08-12 Thread Henrik K
On Tue, Aug 12, 2008 at 03:50:24AM -0400, Michael Scheidell wrote: Anyone brave enough to try this, here are mysql commands. Reason I did this was I saw a huge delay in inserting/searching a very large bayes database. I was watching transactions with mytop and saw lots of inserts with

Re: [AMaViS-user] Q about bayes_vars/token and id value

2008-08-12 Thread Henrik K
On Tue, Aug 12, 2008 at 04:13:57AM -0400, Michael Scheidell wrote: I don't think it will help to hack SA just for amavisd-new, and I don't recommend it except for huge bayes databases (and then I don't know if it will help too much) So how huge is your database? It's hard to imagine so big

Re: [AMaViS-user] Q about bayes_vars/token and id value

2008-08-12 Thread Henrik K
On Tue, Aug 12, 2008 at 04:13:57AM -0400, Michael Scheidell wrote: Doesn't that mean that now everytime SA searches for Bayes tokens, it needs to scan the whole database? No, it will still try to look for bayes_token id=1 and token=? Or for expire, atime?. Optimization sees only one

Re: [AMaViS-user] Q about bayes_vars/token and id value

2008-08-12 Thread Henrik K
On Tue, Aug 12, 2008 at 07:32:51AM -0400, Michael Scheidell wrote: From: Henrik K [EMAIL PROTECTED] Reply-To: Amavis Users amavis-user@lists.sourceforge.net Date: Tue, 12 Aug 2008 11:39:27 +0300 To: Amavis Users amavis-user@lists.sourceforge.net Subject: Re: [AMaViS-user] Q about

Re: [AMaViS-user] Another secondary virus scanner

2008-09-30 Thread Henrik K
On Tue, Sep 30, 2008 at 11:20:32AM +0200, Rocco Scappatura wrote: Hello, due to high load of my Postfix+Amavisd-new+MySQL boxes, I have had to disable the primary virus scanner (UVSCAN). I found that UVSCAN is very CPU expensive so I had no other choice other then disable it. It is not

Re: [AMaViS-user] bypass only outgoing queue

2008-10-24 Thread Henrik K
On Fri, Oct 24, 2008 at 07:24:30AM +0200, Tomáš Macek wrote: John Andersen wrote: Tomáš Macek wrote: What do I want: I want to check all the emails including the ones being send between computers inside @mynetwork. Only when mail goes outside of @mynetwork, it shouldn't be checked.

Re: [AMaViS-user] bypass only outgoing queue

2008-10-24 Thread Henrik K
On Fri, Oct 24, 2008 at 11:53:21AM +0200, Tomáš Macek wrote: Henrik K wrote: On Fri, Oct 24, 2008 at 10:37:39AM +0200, Tomáš Macek wrote: The question is not why i do not notify user, that his mail was not sent, but how can I send the mail, that is normally false positivelly tagged

Re: [AMaViS-user] bypass only outgoing queue

2008-10-24 Thread Henrik K
On Fri, Oct 24, 2008 at 10:37:39AM +0200, Tomáš Macek wrote: The question is not why i do not notify user, that his mail was not sent, but how can I send the mail, that is normally false positivelly tagged as spam by Amavis with DCC_CHECK, FORGET_MUA_OUTLOOK and other rules as dropped. I

[AMaViS-user] MSRBL signature change

2008-11-08 Thread Henrik K
On Fri, Nov 07, 2008 at 08:39:01AM -0800, Bill Landry wrote: Luca Gibelli wrote: Hello Paul, At first, it seems to work, and I get a log message now and then like: SubmitDetectionStats: No new detection records found SubmitDetectionStats: Submitted 10 records But about 1 in 3

Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread Henrik K
On Mon, Dec 29, 2008 at 12:15:22PM -0500, Michael Scheidell wrote: Hello, before i was using amavis in post-queue mode. But due to german law, i must use amavis in pre-queue mode. How can i accelerate amavis, to use it in pre-queue mode? \ Just curious: What is english

Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread Henrik K
On Mon, Dec 29, 2008 at 06:54:52PM +0100, Alexander Wirt wrote: Using amavisd-milter is much better option, you can control concurrent process amount and socket queue. No limiting then needed for postfix processes, you can do do cheap rejects before amavisd (unknown users, helo/rbl etc).

Re: [AMaViS-user] Amavis in pre-queue mode

2008-12-29 Thread Henrik K
On Mon, Dec 29, 2008 at 07:39:00PM +0100, Alexander Wirt wrote: Henrik K schrieb am Monday, den 29. December 2008: On Mon, Dec 29, 2008 at 06:54:52PM +0100, Alexander Wirt wrote: Using amavisd-milter is much better option, you can control concurrent process amount and socket queue

Re: [AMaViS-user] Blocking nigeria?

2009-02-27 Thread Henrik K
On Fri, Feb 27, 2009 at 02:53:00PM +0100, Ralf Hildebrandt wrote: From a phish today: Received: from 41.219.145.186 ([41.219.145.186]) by webmail.opentransfer.com (Horde MIME library) with HTTP; for ahmed.a...@ehafconsulting.org; Fri, 27 Feb 2009 11:27:56 + How can I,

Re: [AMaViS-user] sanesecurity sigs and bounce_killer ?

2009-04-08 Thread Henrik K
On Wed, Apr 08, 2009 at 02:43:00PM -0700, Bill Landry wrote: Michael Scheidell wrote: and it looks like sane security test #2 and 3 did fail if I don't do this in amavisd.conf: (uncomment out the qr'^MAIL'. so, 'can be slow'. how slow is it? and is bill landry wrong saying I need

Re: [AMaViS-user] sanesecurity sigs and bounce_killer ?

2009-04-08 Thread Henrik K
On Wed, Apr 08, 2009 at 04:08:35PM -0700, Bill Landry wrote: Henrik K wrote: On Wed, Apr 08, 2009 at 02:43:00PM -0700, Bill Landry wrote: Michael Scheidell wrote: and it looks like sane security test #2 and 3 did fail if I don't do this in amavisd.conf: (uncomment out the qr'^MAIL

Re: [AMaViS-user] sanesecurity sigs and bounce_killer ?

2009-04-17 Thread Henrik K
On Sat, Apr 18, 2009 at 01:06:51AM +0200, Mark Martinec wrote: Michael, Perhaps a good compromise is to only do MIME decoding but no other archives decoding, and let a virus scanner also see the complete message: @decoders = (); @keep_decoded_original_maps = (new_RE(

Re: [AMaViS-user] sanesecurity sigs and bounce_killer ?

2009-04-19 Thread Henrik K
On Sun, Apr 19, 2009 at 01:16:44AM +0200, Mark Martinec wrote: Henrik, Perhaps a good compromise is to only do MIME decoding but no other archives decoding, and let a virus scanner also see the complete message: @decoders = (); @keep_decoded_original_maps = (new_RE(

Re: [AMaViS-user] Kaspersky 5.6 AV daemon integration (kavmd)

2009-06-12 Thread Henrik K
On Tue, May 05, 2009 at 04:40:38PM -0400, Kevin M. Myer wrote: So has anyone figured out a way to have amavisd-new interface directly with kavmd, the Kaspersky AV mail daemon? Yes, it seems the procotol is changed drastically to a binary one, and the documentation is only by request (with lot

Re: [AMaViS-user] POLL: Database Hardware vs Daily Messages

2009-08-03 Thread Henrik K
On Mon, Aug 03, 2009 at 10:24:48AM -0700, Nathan M wrote: I am curious what amavisd-new users out there have for DB setups for maintaining the storage component of amavis data (maddr, msgrcpt, msgs, quarantine tables). I'll start. Incoming Email: 10,000,000 messages/day Current

Re: [AMaViS-user] Performance tips

2009-08-14 Thread Henrik K
On Fri, Aug 14, 2009 at 04:27:17PM +0200, Mark Martinec wrote: Luis, Do you think that recompilling perl, from i586 to i686 will improve performance? I've done several thins to get a better performance with amavisd-new solution, such as: use of tmpfs, mysql tunning options, using

Re: [AMaViS-user] Performance tuning and bayes db

2010-04-22 Thread Henrik K
On Thu, Apr 22, 2010 at 10:38:51PM +0200, Mark Martinec wrote: How about putting the bdb on a noatime device? (Or just changing the file indivdidually?) bdb files in amavisd are opened rarely, so noatime may not gain anything there. It may be worth setting noatime on a temporary work area

[AMaViS-user] SPF / NetAddr::IP warnings

2011-01-31 Thread Henrik K
Hi, Using amavisd-new 2.7.0-pre13, amavisd-milter 1.5.0, SA 3.4 trunk, latest Mail::SPF / NetAddr::IP. I'm getting the following warning always: Jan 31 11:08:53 xxx amavis[1058]: (01058) _WARN: Use of uninitialized value in concatenation (.) or string at

Re: [AMaViS-user] SPF / NetAddr::IP warnings

2011-01-31 Thread Henrik K
On Mon, Jan 31, 2011 at 06:59:14PM +0100, Mark Martinec wrote: Henrik, Using amavisd-new 2.7.0-pre13, amavisd-milter 1.5.0, SA 3.4 trunk, latest Mail::SPF / NetAddr::IP. I'm getting the following warning always: Jan 31 11:08:53 xxx amavis[1058]: (01058) _WARN: Use of uninitialized

Re: [AMaViS-user] SPF / NetAddr::IP warnings

2011-01-31 Thread Henrik K
On Tue, Feb 01, 2011 at 02:00:22AM +0100, Mark Martinec wrote: Henrik, Jan 31 11:08:53 xxx amavis[1058]: (01058) _WARN: Use of uninitialized value in concatenation (.) or string at /usr/local/perl/lib/site_perl/5.12.1/Mail/SPF/Util.pm line 109, GEN25 line 22. Jan 31 11:08:53 xxx