Re: [AMaViS-user] unrar problem (and solution suggestion)

2008-03-06 Thread Mark Martinec
Piotr, In amavisd-new 2.5.x, 2.6.x, in 'do_unrar' subroutine, I found following flags: my(@common_rar_switches) = qw(-c- -p- -av- -idcdp); AFAIK '-av-' switch was always silently ignored by unrar, but version 3.7.5 changed default behaviour and now this case is treated as error

Re: [AMaViS-user] amavisd-nanny.patch

2008-03-06 Thread Mark Martinec
Leo, We have amavisd running in a non-standerd way and we have to tweak amavisd-nanny to find nanny.db. Would you consider applying attached patch, so we can use an enviroment variable to locate the database? I came across your forgotten patch. The amavisd-nanny and amavisd-agent in 2.6.0

Re: [AMaViS-user] attachment filtering using mysql

2008-03-06 Thread Wazir Shpoon
Still not working. I put the following at the end of amavisd.conf file: %banned_rules = ( 'NO-MS-EXEC'= new_RE( qr'^\.(exe-ms)$' ), 'PASSALL' = new_RE( [qr'^' = 0] ), 'ALLOW_EXE' = # pass executables except if name ends in .vbs .pif .scr .bat new_RE( qr'.\.(vbs|pif|scr|bat)$'i,

Re: [AMaViS-user] [Gluster-devel] Performance report and some issues

2008-03-06 Thread Jordi Moles
Hi, thanks for the info, but... where should i add the write-behind code? under afr? over afr? something like this... ***clients volume espa1 type protocol/client option transport-type tcp/client option remote-host 192.168.1.204 option remote-subvolume espai end-volume volume

Re: [AMaViS-user] Out Of Control amavisd-new Procs

2008-03-06 Thread Mark Martinec
John, The work-around that I've patched together is a total hack, but it works. Here's the script that I run every 5 minutes from cron. ... echo Running amavisd-nanny for 3 minutes to clean up stuck processes. /usr/local/bin/limit 180 /usr/sbin/amavisd-nanny 1/dev/null 2/dev/null The

[AMaViS-user] avoid scanning for several mail-target-domains

2008-03-06 Thread Philipp Flesch
Hi! I know there is a possibility to activate scanning for serveral (target-) domains. But is there a possibility to change this way and configure domains that should be excluded from scanning by amavisd? Philipp -

Re: [AMaViS-user] No bounce notifications sent

2008-03-06 Thread Mark Martinec
Bartek, about delivery method - right now each DSN is sent directly by machine which scanned the message. Is there any way to do it like amavis does while passing message, that is to inject it to some machine at some specified port? Yes, the $notify_method controls where notifications and

Re: [AMaViS-user] ETA for amavisd-new 2.6.0? F-Prot 6 configuration

2008-03-06 Thread Mark Martinec
Juan, I understand the configuration (amavisd.conf) to welcome the latest from F-Prot is not solidified in the current stable release of amavisd-new. I am currently setting up a server for use with F-Prot. Any news on when the next version of amavisd-new (2.6.0?) will be out? If not, is

Re: [AMaViS-user] Out Of Control amavisd-new Procs

2008-03-06 Thread John Evans
On Thu, 6 Mar 2008, Mark Martinec wrote: It basically waits for X seconds (in this case 180) and if the program is still running after X seconds, it kills it. This allows me to run amavisd-nanny for 3 minutes without direct user intervention. Btw, the amavisd-new-2.6.0 will provide an option

Re: [AMaViS-user] attachment filtering using mysql

2008-03-06 Thread James Bourne
On Wed, 5 Mar 2008, Wazir Shpoon wrote: Has anyone configured amavisd to use the banned_rulenames field in mysql? I need a set of instructions on how to make this work. The documentation talks about rules and stuff, but I can't figure it out. If anyone has some examples, I would greatly

Re: [AMaViS-user] avoid scanning for several mail-target-domains

2008-03-06 Thread Gary V
On 3/6/08, Philipp Flesch wrote: Hi! I know there is a possibility to activate scanning for serveral (target-) domains. But is there a possibility to change this way and configure domains that should be excluded from scanning by amavisd? Philipp Assuming the mail is addressed to

Re: [AMaViS-user] custom hooks: how to ban a message

2008-03-06 Thread Mark Martinec
Jeremy, In my current code I moved the custom hook initialization call (the Amavis::Custom-new) slightly earlier, so that loading a policy bank from there can influence a few more things, just in case someone would need it (like OS fingerprinting settings, local_domains). Nice. Not

[AMaViS-user] amavisd-new-2.5.4-rc1 release candidate available

2008-03-06 Thread Mark Martinec
A release candidate for version 2.5.4 of amavisd-new is available at: http://www.ijs.si/software/amavisd/amavisd-new-2.5.4-rc1.tar.gz There are no incompatibilities with 2.5.3. 2.5.4 is purely a maintenance release. It fixes known bugs and stability problems over 2.5.3. New features will

[AMaViS-user] BANNED contents exe file

2008-03-06 Thread Rococo Leo.xu
Hi all! I want to ban email with exe file ,but when I change the exe to ex or other type I want to send the email. For example ban aa.exe,but allow aa.ex! How can I do with amavis.conf ? Now my amavis banned all exe type though I chang type to ex. I received reply email with title BANNED