Re: [AMaViS-user] amavis eats the machine

2008-09-22 Thread Mark Martinec
Gerry Massat wrote: Have you enabled the ram disk for amavis temporary files? That made a huge difference on my system. For my system I have the following in /etc/rc.d : amavisd_ram=100M For my 1gb system with 2 amavis processes, seems to do the trick for me with no swapping. As I recall,

Re: [AMaViS-user] Logging subject in Base64

2008-09-22 Thread Mark Martinec
Raj, I have a small script that parses Amavis logs with subject in them. The problem with Subject logging is that subject is printed as such delimited by , but the exact characters can appear as subject with out any escaping. So it cannot be parsed reliably. Is it possible to (optionally)

Re: [AMaViS-user] Don't scan discarded spam for viruses

2008-09-22 Thread Mark Martinec
Marc, Is there a way to configure the following in amavisd-new 2.5.1 (openSUSE 10.3): First scan an eMail if it is spam. And if it is and the spam-level is high enough so that the mail is discarded ($final_spam_destiny = D_DISCARD;), then don't do virus checking any more (because the mail

Re: [AMaViS-user] Running amavis processes only on defined cores of the CPU

2008-09-22 Thread Mark Martinec
Marc, can amavisd-new 2.5.1 (openSUSE 10.3) be configured to run with all child processes (like virusscanner) only on core 3 and 4 of my QuadCore? I believe Linux has a sched_setaffinity(2) system call, which sets process's CPU affinity. The attribute is inherited across fork and execve, so

Re: [AMaViS-user] SHA1 or MD5 sum of banned files

2008-09-22 Thread Mark Martinec
Claude, I'm looking for a method allowing me to include a SHA1 or MD5 sum of the banned files, in log entries and warnings related to banned contents. The idea behind this that I'm looking for a simple method allowing me to search the VIRUS TOTAL site when an executable has been found which

Re: [AMaViS-user] amavis eats the machine

2008-09-22 Thread Len Conrad
I've opened up amavis to 10 processes, not getting much help on the throughput. This one-liner prints time, postfix-to-amavis delivery delay this msg, avg delay all msgs egrep 'relay=127.*:10024' /var/log/maillog | egrep -iv conn_ | awk '{c++; a=substr($9,7); t+=a ; print $3, a,t/c}' I'm

Re: [AMaViS-user] amavis eats the machine

2008-09-22 Thread Len Conrad
Hello there Len, it's been a long time! Hello Eric, I am running a 55W Quad Core Opteron with 4Gb of RAM with only 4 amavisd processes and it runs like the wind I think you should install more memory, I realize you put 1MB but really you have 1GB yes? =) As I said, when the machine was

Re: [AMaViS-user] amavis eats the machine

2008-09-22 Thread Clifton Royston
On Mon, Sep 22, 2008 at 02:07:16PM -0500, Len Conrad wrote: Hello there Len, it's been a long time! Hello Eric, I am running a 55W Quad Core Opteron with 4Gb of RAM with only 4 amavisd processes and it runs like the wind I think you should install more memory, I realize you put 1MB

Re: [AMaViS-user] amavis eats the machine

2008-09-22 Thread Patrick Domack
Quoting Len Conrad [EMAIL PROTECTED]: Hello there Len, it's been a long time! Hello Eric, I am running a 55W Quad Core Opteron with 4Gb of RAM with only 4 amavisd processes and it runs like the wind I think you should install more memory, I realize you put 1MB but really you have 1GB

Re: [AMaViS-user] amavis eats the machine

2008-09-22 Thread Len Conrad
But I still feel there's something throttling amavis with the current hardware. This machine groans on passing 900 - 1100 msgs/hour? I think it can do a lot better. You are definitely right; it seems to me there is still something very wrong with your setup. Your messages should be taking

Re: [AMaViS-user] amavis eats the machine

2008-09-22 Thread Noel Jones
Len Conrad wrote: But I still feel there's something throttling amavis with the current hardware. This machine groans on passing 900 - 1100 msgs/hour? I think it can do a lot better. You need to find out where the bottleneck is. Most average email messages should go through amavisd-new in a

Re: [AMaViS-user] amavis eats the machine

2008-09-22 Thread Noel Jones
Len Conrad wrote: But I still feel there's something throttling amavis with the current hardware. This machine groans on passing 900 - 1100 msgs/hour? I think it can do a lot better. You need to find out where the bottleneck is. Most average email messages should go through amavisd-new in a

Re: [AMaViS-user] amavis eats the machine

2008-09-22 Thread Mark Martinec
Len, But I still feel there's something throttling amavis with the current hardware. This machine groans on passing 900 - 1100 msgs/hour? I think it can do a lot better. The quickest overview on the sanity of amavisd/SpamAssassin is what amavisd-nanny shows. Set $nanny_details_level to 2 in

[AMaViS-user] Wrong hostname on reinjection to postifx

2008-09-22 Thread Alexander Hoogerhuis
I'm currently setting up a new instance of amavisd-new that I will use for outbound DKIM signing for myself. I've not found any place that will verify my mail yet, but when looking at the headers of my mail I found one issue that I cannot seem to fix. Postfix and amavisd-new are being run on

[AMaViS-user] amavisd-release and apache suexec

2008-09-22 Thread Michael Slavin
I'm having trouble with suexec, I think, though I cannot get my server to log any reason the amavisd-release script fails to function on this particular machine. My mailaction.php file successfully extracts the necessary info from my mysql tables and updates them appropriately, and when I code in