Re: [AMaViS-user] SA SQL-Bayes causes MySQL performance issues

2010-03-26 Thread Martin Svensson
a > ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia > tel: +386 1 479 8800, fax: +386 1 479 88 99 > > On Mar 25, 2010, at 7:20 AM, Martin Svensson wrote: > > > > Hi List, > > > > I posted this a couple of days ago on the SA-user list, but haven'

[AMaViS-user] SA SQL-Bayes causes MySQL performance issues

2010-03-24 Thread Martin Svensson
Hi List, I posted this a couple of days ago on the SA-user list, but haven't received any feedback. I know that it's not Amavis functionality but still hope that someone might have a clue of what's causing this in this list, even if it's a bit OT. The setup consists of 2 spam-eating servers runni

Re: [AMaViS-user] How to remove Subject: ***UNCHECKED***

2008-02-22 Thread Martin Svensson
ject_tag = ''; > > Because that line isn't anywhere to be found in my config files. and > that's suppose to be disabled by default right? > > Thanks, > James > > Martin Svensson wrote: >> Hi James, >> >> Check the examples found in ama

Re: [AMaViS-user] How to remove Subject: ***UNCHECKED***

2008-02-22 Thread Martin Svensson
Hi James, Check the examples found in amavisd.conf-sample: -- # a string to prepend to Subject (for local recipients only) if mail could # not be decoded or checked entirely, e.g. due to password-protected archives $undecipherable_subject_tag = '***UNCHECKED*** '; # undef disables it -- /Martin

[AMaViS-user] ClamAV vulnerability! (< 0.92.1)

2008-02-12 Thread Martin Svensson
Hi all, Just wanted to let the list know that multiple vulnerabilities have been found in Clamav. http://secunia.com/advisories/28907/ /Martin - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft

Re: [AMaViS-user] local_domains_maps

2007-12-06 Thread Martin Svensson
Dave, If you want to read it from a file, just substitute the existing with: @local_domains_maps = ( read_hash("/etc/mail/amavis/local_domains") ); In that file, just add the domains, one / line. Best regards, Martin >Hey folks, me again. I've got quite a few domains that are > considered

[AMaViS-user] SA timeout? (might be pure SA issue)

2007-10-25 Thread Martin Svensson
Hi all. This might be better suited for the SA-list, but I don't know if Amavis is a playing a role here so I'll give it a try here as well. I'm occasionally seeing amavis processes that hang for 10 minutes, utilizing 100% CPU due to some SA issue. After 10 minutes an error shows in the log:

Re: [AMaViS-user] notification email doesn't work.. (probably cfg error?)

2007-10-09 Thread Martin Svensson
Please ignore this, it was a sendmail issue. It works as expected now ! /Martin Martin Svensson wrote: > Hi All. > > I've just reinstalled our test environment and I can't seem to get the > bounce notifications sent out. Everything else seems to be working as > exp

[AMaViS-user] notification email doesn't work.. (probably cfg error?)

2007-10-09 Thread Martin Svensson
Hi All. I've just reinstalled our test environment and I can't seem to get the bounce notifications sent out. Everything else seems to be working as expected. Our setup is RHEL5, Amavis 2.5.2 and sendmail 8.13.8 in a milter pre-queue setup. I've done some copy & paste from our "old" amavisd 2.

Re: [AMaViS-user] rbl in SA or in MTA, which is better

2007-09-07 Thread Martin Svensson
Unless you want to block emails solely based on the RBL response, do it in SA. Then the response will add to the total score, which is the preferred way (AFAIK). //Martin On Friday 07 September 2007 21:07:30 Miguel wrote: > I mean, both can do the same tests, where is the best place to do that

Re: [AMaViS-user] Column 'am_id' cannot be null

2007-06-15 Thread Martin Svensson
Mark Martinec wrote: > Martin, > >> I've just reinstalled our staging area with the latest amavis release >> etc on RHEL5. I've created the mysql-db according to README.sql-mysql to >> be used with the SQL Logging features (not quarantine). >> I keep getting the error below, any ideas why am_id is

Re: [AMaViS-user] Column 'am_id' cannot be null

2007-06-13 Thread Martin Svensson
A quick follow up, if I use the same config and setup with 2.5.0 it works. So it has to be something in 2.5.1 that has changed, but I can't figure out what. Any ideas? Thanks all. Best regards, Martin Martin Svensson wrote: > Hi all, > > I've just reinstalled our st

[AMaViS-user] Column 'am_id' cannot be null

2007-06-12 Thread Martin Svensson
Hi all, I've just reinstalled our staging area with the latest amavis release etc on RHEL5. I've created the mysql-db according to README.sql-mysql to be used with the SQL Logging features (not quarantine). I keep getting the error below, any ideas why am_id is null? The setup is the classic a

[AMaViS-user] Experiences.. (mostly SA)

2007-06-05 Thread Martin Svensson
Hi all, I'm planning for an upgrade of our existing RHEL3, sendmail-milter+amavis setup handling roughly 130,000 messages/day. I know this might be more about SA than amavis, but it's such a good list! :) I hope it's ok.. The setup has worked very well since the initial install 2 years ago, we'r

Re: [AMaViS-user] amavisd-new seems to be confused about mail body encoding

2007-02-12 Thread Martin Svensson
Perhaps it's the Libnet-1.20 bug? http://marc.theaimsgroup.com/?l=amavis-user&m=117095734709511&w=2 /Martin Nicklas Bondesson wrote: > After an upgrade of amavisd dependent perl modules it seems that amavis gets > confused about mail body encoding. > > Swedish characters "åäö" seems to be conve

Re: [AMaViS-user] (ClamAV-clamd) FAILED

2006-08-30 Thread Martin Svensson
Do you have the correct permissions set? In other words, if you run clamav as user 'clamav', does that user have permissions in /home/amavis/? I run clamav as the 'amavis' user myself. /Martin [EMAIL PROTECTED] wrote: > Hi, > > I am getting following error in maillog > > (!!) ask_av (ClamAV

Re: [AMaViS-user] RH9 sendmail 8.12.8 and Petr Rehor's amavis-milter

2006-03-17 Thread Martin Svensson
Hi Adam, We're using Amavis-milter with RHEL 3.0's Sendmail version 8.12.11 and it's working great. 80,000 emails/day on 2 servers with SA (incl. network tests, DCC and Bayes SQL) and 2 virusscanners. Regards, Martin Adam Gibson wrote: Has anyone tried the newer amavis-milter with RedHat9's

Re: [AMaViS-user] can`t starting amavis

2006-02-09 Thread Martin Svensson
Hi Jim, I think this is a known bug/issue in Net::Server 0.88. A workaround is to start Amavisd with the correct user in the startup-script, or to switch version. I'm running version 0.90 on RHEL 3.0 Update 6 without any problems. Check: http://marc.theaimsgroup.com/?l=amavis-user&m=11278294

Re: [AMaViS-user] Too memory hungry!

2006-01-09 Thread Martin Svensson
Anders Norrbring wrote: On 2006-01-09 10:28 Matthias Keller wrote: Anders Norrbring wrote: New reboot, same memory status after 20 minutes.. And top says: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 5012 vscan 15 0 438m 384m 29m S 0.0 38.1 0:16.15 amavi

Re: [AMaViS-user] local.cf: failed to parse line

2005-12-04 Thread Martin Svensson
Hi, I don't know if it's related, but check the thread 'http://groups.google.com/group/mailing.unix.amavis-user/browse_thread/thread/de72725d357079b6/55cb3965c60de83c?lnk=st&q=%22debug%3A+config%3A+SpamAssassin+failed+to+parse+line%2C+skipping%22&rnum=2&hl=en#55cb3965c60de83c' Looks like the s

Re: [AMaViS-user] Heads up: Sober.U reoutbreak

2005-11-23 Thread Martin Svensson
Thanks for the info Nathanael. We've received more than 1500 of "Email-Worm.Win32.Sober.y" since 8pm CET yesterday (13 hours). //Martin Nathanael Hoyle wrote: Just wanted to give some other folks a heads up, I'm seeing what looks like a fairly virulent re-outbreak of the Sober.U worm. Sinc

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

2005-10-19 Thread Martin Svensson
Hi, You can share one database for >1 SA "clients". We have a machine acting as Mysql database for both SA and Amavis (SQL Logging) for 2 mailservers running Amavis/Sendmail and it works very well. With roughly 80,000-120,000 mail / day the database is handling ~250 sql questions / sec durin

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

2005-10-11 Thread Martin Svensson
Gary V wrote: Can I share the db for all incoming/outgoing mail, apart from user? One database is used for all mail that passes through amavisd-new, the data belongs to your amavisd-new user (probably 'vscan' or 'amavis'). If you have a fairly high amount if incoming mail, or more th

Re: [AMaViS-user] Cannot open bayes databases

2005-09-14 Thread Martin Svensson
Is the directory still owned (or at least writable) for the Amavis user? Has the /var-filesystem gone bad and remounted itself as read-only? Start amavisd with the debug-sa and debug option to see get more info. My €.2 cent. //Martin David Filion wrote: Hi All, This morning our amavisd ins

Re: [AMaViS-user] exe in zip file

2005-09-08 Thread Martin Svensson
Hi Armin, There is. In this example we allow all types in the specified archives but stop exe,vbs, pif etc. $banned_filename_re = new_RE( # block certain double extensions anywhere in the base name qr'\.[^./]*[A-Za-z][^./]*\.(exe|vbs|pif|scr|bat|cmd|com|cpl|dll)\.?$'i, qr'^application/x-ms

Re: [AMaViS-user] Quarantine and MTA feedback

2005-09-04 Thread Martin Svensson
e, it will most likely help you in narrowing down the root cause. su -c '/path/to/amavisd debug' Regards, Martin Svensson --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Fra

[AMaViS-user] Maximum message size to scan

2005-08-31 Thread Martin Svensson
Hi all, I have seen a couple of spams bypass our spamassassin scan because they are larger than the 200KB default $sa_mail_body_size_limit. I'm thinking about raising that limit to 512KB. If anyone have raised it, what size have you configured it to? Has it done a huge impact on the load? Th

Re: [AMaViS-user] can't get amavisd-new runnning

2005-08-30 Thread Martin Svensson
Anne, Try to install all the needed modules using CPAN. The CPAN module will automatically install dependencies as well. sh %>perl -MCPAN -e shell cpan> install Archive::Zip I did it this way on our RHEL 3.0 servers and it worked like a charm. Regards, Martin Anne Ramey wrote: I'm trying t

Re: [AMaViS-user] too much 'mlfi_abort'

2005-07-14 Thread Martin Svensson
Hi, Although I'm not 100% certain I think everything looks quite right. You should have those "mlfi_abort" because you don't accept the emails. Jul 14 14:39:32 av4 sendmail[13292]: j6ECdVxB013292: ruleset=check_rcpt, arg1=<[EMAIL PROTECTED]>, relay=host104-210.pool8173.interbusiness.it [81.7

Re: [AMaViS-user] Loging

2005-07-13 Thread Martin Svensson
Hi Luke, I suggest you take a look at the SQL Logging feature that Mark introduced in the latest version of Amavisd. With information in the db containing to/from/size/subject/score you can put together a PHP (or Perl) script that will pull out all the statistics you'd like. I've put togethe

Re: [AMaViS-user] Starting amavis at system startup "/etc/init.d/functions: not found"

2005-06-07 Thread Martin Svensson
Start the script with sh -x /etc/init.d/amavis start Then you can follow exactly what the script is doing and then hopefully solve it. //Martin Initially it was giving error for the directory /var/lock/subsystems, then I created the directory. Now it is not giving any error but still it is

Re: [AMaViS-user] No primary av scanner

2005-06-01 Thread Martin Svensson
the socket # name (LocalSocket) in clamav.conf to the socket name in this entry # When running chrooted one may prefer: ["CONTSCAN {}\n","$MYHOME/clamd"], --- Best regards, Martin Svensson MJ wrote: Hi, I am testing amavisd-new along with SpamAssassin and ClamAV on solari

[AMaViS-user] Addtional info in SQL logging

2005-05-27 Thread Martin Svensson
Hi all, I'm experimenting with the SQL logging feature, a great thing! In the current setup I can see the spam score (msgs.spam_level), but is there a possibility to also include which rules were hit, and which score they gave (BAYES_99 4.0 etc)? Thanks in advance all Best regards, M

Re: [AMaViS-user] amavisd-new & spamassassin module

2005-05-22 Thread Martin Svensson
Hi there, > I have Mail::SpamAssassin installed on a debian sarge system. I have > amavisd-new installed and working with postfix, it is also working with > clamav. However I cannot get it to detect spam and it looks as though its > because the Mail::SpamAssassin module isn't loaded in the log.