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

2007-02-12 Thread Nicklas Bondesson
After an upgrade of amavisd dependent perl modules it seems that amavis gets confused about mail body encoding. Swedish characters åäö seems to be converted to and printed in unicode åäö. Some pointers on where to check to fix this would be very appreciated. Thanks, Nicklas

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

2007-02-12 Thread Nicklas Bondesson
Perhaps it's the Libnet-1.20 bug? http://marc.theaimsgroup.com/?l=amavis-userm=117095734709511w=2 /Martin It sure was. Thanks for the pointer! Nicklas - Using Tomcat but need to do more? Need to support web

Re: [AMaViS-user] IP addresses printed in reverse in log file

2007-02-07 Thread Nicklas Bondesson
Does that Received line say that it was inserted by amavisd-new, like: Received: from xxx ([xxx]) by localhost (xxx [xxx]) (amavisd-new, ...) ^^ with ... id ... for ...; Tue, 6 Feb 2007 ... I doubt it. Neither is the code in

Re: [AMaViS-user] IP addresses printed in reverse in log file

2007-02-07 Thread Nicklas Bondesson
Does that Received line say that it was inserted by amavisd-new, like: Received: from xxx ([xxx]) by localhost (xxx [xxx]) (amavisd-new, ...) ^^ with ... id ... for ...; Tue, 6 Feb 2007 ... I doubt it. Neither is the

[AMaViS-user] IP addresses printed in reverse in log file

2007-02-06 Thread Nicklas Bondesson
When I look at my log file from amavisd some/all IP adresser are printed in reverse. Passed CLEAN, [44.33.22.11] should be printed Passed CLEAN, [11.22.33.44] This makes it a bit harder to trace and parse the logfile. Thanks, Nicklas

Re: [AMaViS-user] Duplicate mails: archive retained andclamavtimeout [TIMEOUT RESOLVED]

2006-12-22 Thread Nicklas Bondesson
The 3.7 minutes is well below 8 minutes of $child_timeout, so amavisd does not time out on this message. If MTA times out with waiting earlier than in 3.7 minutes, you end up with mail message being send, one copy at every attempt: amavisd successfully processes and forwards the

Re: [AMaViS-user] Duplicate mails: archive retained andclamavtimeout

2006-12-21 Thread Nicklas Bondesson
In this case I get do_unzip: p003, zero length members, archive retained. Seems like this is triggering the odd behaviour on the other end. I'm working on better timeouts for daemonized AV checkers, but we should really take a look at your log and timestamps there and timestamps in a

Re: [AMaViS-user] Duplicate mails: archive retained andclamavtimeout

2006-12-21 Thread Nicklas Bondesson
Fix MTA timeout, it should not give up sooner than $child_timeout time, customarily MTA timeout is set to 20 minutes. Don't know how to set this timeout value\ on qmail. qmail is running with it's default timeout values, which is 1200 secs. I've got another log (see previous posts) saying

Re: [AMaViS-user] Duplicate mails: archive retained and clamavtimeout

2006-12-20 Thread Nicklas Bondesson
Will post a patch in a day or two (it is one of the two things holding back 2.4.5). The 2.4.5 pre-release is expected in a week. Great! - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's

Re: [AMaViS-user] Duplicate mails: archive retained and clamav timeout

2006-12-20 Thread Nicklas Bondesson
do_unzip: p003, zero length members, archive retained Dec 19 15:56:31 example.com /usr/local/sbin/amavisd[8972]: (08972-13) ClamAV-clamd: timed out, retrying (1) There is a bug in amavisd client code to sophie and clamd where after one attempt to connect to these virus checkers

Re: [AMaViS-user] Duplicate mails: archive retained and clamavtimeout

2006-12-20 Thread Nicklas Bondesson
The best place to start is to look at the logs and see what actually happens. Increse the $log_level as necessary. I got this message back from one of my tests. xx.xx.xx.xx failed after I sent the message. Remote host said: 451 communication with mail server failed (#4.4.2) I'm not going

[AMaViS-user] Duplicate mails: archive retained and clamav time out

2006-12-19 Thread Nicklas Bondesson
Hello list, I need help figuring out why some of my users are getting the same mail over and over again (with a 15 min delay most of the time). So far I've narrowed it down to this: It only happens with attachements and ClamAV seems to time out: do_unzip: p003, zero length members, archive

Re: [AMaViS-user] Duplicate mails: archive retained and clamav timeout

2006-12-19 Thread Nicklas Bondesson
Nice knowing you are aware of the problem, and know what needs to be done. Do you know when you will have a chance to release 2.4.5 or at least a patch for this specific problem? Thanks, Nicklas Nicklas, P.S. do_unzip: p003, zero length members, archive retained Dec 19 15:56:31

Re: [AMaViS-user] Duplicate mails: archive retained and clamav timeout

2006-12-19 Thread Nicklas Bondesson
Nice knowing you are aware of the problem, and know what needs to be done. Do you know when you will have a chance to release 2.4.5 or at least a patch for this specific problem? Thanks, Nicklas Nicklas, P.S. do_unzip: p003, zero length members, archive retained Dec 19 15:56:31

Re: [AMaViS-user] Duplicate mails: archive retained and clamav timeout

2006-12-19 Thread Nicklas Bondesson
This can happen when MTA's timeout setting on waiting for response to DATA is longer that a timeout of a content filter. MTA times out and requeues a message, while content filter continues with processing and at the end delivers the message, on every MTA attempt. Check your option '-o

Re: [AMaViS-user] How to stop user not found messages beeingsentout on messages marked as spam?

2006-10-16 Thread Nicklas Bondesson
Backup MX should be made aware of valid recipient addresses. With Postfix there are two options: - use relay_recipient_maps to list all valid addresses, if at all possible; - if the former is not possible, use address verification (http://www.postfix.org/ADDRESS_VERIFICATION_README.html)

[AMaViS-user] How to stop user not found messages beeing sent out on messages marked as spam?

2006-10-15 Thread Nicklas Bondesson
How do I stop user not found messages from beeing sent out on messages tagged as spam? I'm using amavid-new with Qmail in a QMQP setup. Thanks in advance. - Nicklas - Using Tomcat but need to do more? Need to support web

Re: [AMaViS-user] Multiple $inet_socket_bind insted of 'undef'?

2006-05-26 Thread Nicklas Bondesson
So it seems the Net::Server can not take a list of local addresses or interfaces to be bound to. Peeking at its source code doesn't let me think otherwise. You may ask the maintainer/author of Net::Server to take a feature request. Mark Thank you for your answer Mark. It cleared

[AMaViS-user] Problem in the In::QMQPqq code

2006-04-07 Thread Nicklas Bondesson
I'm getting the following error when trying to start amavisd 2.4.0 in QMQPqq mode. Problem in the In::QMQPqq code: strip_tempdir is not exported by the Amavis::Util module Can't continue after import errors at (eval 43) line 24 BEGIN failed--compilation aborted at (eval 43) line 24.. This worked

RE: [AMaViS-user] Decoding of p002 (RAR archive data, v1d, os: Win32) failed, leaving it unpacked: timed out

2006-03-03 Thread Nicklas Bondesson
xxx /etc/rc2.d/S20amavisd[500]: (00500-193) TROUBLE in check_mail: virus_scan FAILED: virus_scan: ALL VIRUS SCANNERS FAILED: ClamAV-clamscan av-scanner FAILED: /usr/local/bin/clamscan DIED on signal 9 (0009) at (eval 38) line 435. When this happened I was running cpio and not pax.

[AMaViS-user] Decoding of p002 (RAR archive data, v1d, os: Win32) failed, leaving it unpacked: timed out

2006-02-28 Thread Nicklas Bondesson
Ran into some strange things today: Seems like the RAR decoder (unrar) doesn't cope very well with large .rar files (~15MB). First of all I got this message in the log: Decoding of p002 (RAR archive data, v1d, os: Win32) failed, leaving it unpacked: timed out And then I got (obviously with a

[AMaViS-user] banned_filename_re rules

2005-11-04 Thread Nicklas Bondesson
Is there a somehow simple way to let a file pass through the rules. I'd like a known filename to to simply pass these checks. Thanks, Nicklas B --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App

RE: [AMaViS-user] per_recip_blacklist_sender_lookup_tables and read_hash?

2005-10-19 Thread Nicklas Bondesson
Yes, it get's BLACKLISTED but still ends up at the recipient. I have $final_spam_destiny = D_DISCARD;. Could it have something to do with my @spam_quarantine_to_maps setup? I set mine the same way. @spam_quarantine_to_maps = ( read_hash(/spam-bins),

RE: [AMaViS-user] per_recip_blacklist_sender_lookup_tables and read_hash?

2005-10-19 Thread Nicklas Bondesson
Must be this screwing things up, making everyone a spam-lover by default; @spam_lovers_maps = ( read_hash(/spam-haters), 1 ); Any way to get around it? Nicklas B Here is the example from the negative read_hash post: @spam_lovers_maps = ( read_hash($MYHOME/spam_haters), 1 );

RE: [AMaViS-user] per_recip_blacklist_sender_lookup_tables and read_hash?

2005-10-19 Thread Nicklas Bondesson
Nicklas wrote: Yes, it get's BLACKLISTED but still ends up at the recipient. I have $final_spam_destiny = D_DISCARD;. Could it have something to do with my @spam_quarantine_to_maps setup? I set mine the same way. @spam_quarantine_to_maps = (

[AMaViS-user] per_recip_blacklist_sender_lookup_tables and read_hash?

2005-10-18 Thread Nicklas Bondesson
I would like to match my per_recip_blacklist_sender_lookup_tables from a read_hash table. Is it possible to do something like the following; $per_recip_blacklist_sender_lookup_tables = { read_hash(/blacklist), }; Content of the blacklist file (all mails sent to domain example.com from domain

RE: [AMaViS-user] per_recip_blacklist_sender_lookup_tables and read_hash?

2005-10-18 Thread Nicklas Bondesson
Thanks. Is it possible to have everything in the blacklist file? I'd like to add more entries to the blacklist without touching the amavis config file. Nicklas B -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary V Sent: den 19 oktober 2005

RE: [AMaViS-user] per_recip_blacklist_sender_lookup_tables and read_hash?

2005-10-18 Thread Nicklas Bondesson
Well they aren't, that's the catch. Any other ideas except using sql lookups? Nicklas B -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary V Sent: den 19 oktober 2005 06:43 To: amavis-user@lists.sourceforge.net Subject: Re: [AMaViS-user]

[AMaViS-user] spam_quarantine_maps and read_hash?

2005-10-17 Thread Nicklas Bondesson
Hi, I would like to match my spam_quarantine_to from a read_hash table. Is it possible to do something like the following; @spam_quarantine_to_maps = ( read_hash(/spam-bins), $spam_quarantine_to, ); Content of the spam-bins file (all spam on example.com should be forwarded to [EMAIL

RE: [AMaViS-user] Negative read_hash?

2005-10-12 Thread Nicklas Bondesson
Thanks for the update! Nicklas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary V Sent: den 12 oktober 2005 06:12 To: amavis-user@lists.sourceforge.net Subject: Re: [AMaViS-user] Negative read_hash? Nicklas wrote: -Original

[AMaViS-user] Negative read_hash?

2005-10-11 Thread Nicklas Bondesson
Hello, Is it possible to use a negative read_hash? $final_spam_destiny = D_DISCARD; Something like the following: @spam_lovers_maps = ( !read_hash(/spam_haters), read_hash(/spam_lovers) ); Thanks, Nicklas --- This SF.Net email is

RE: [AMaViS-user] Negative read_hash?

2005-10-11 Thread Nicklas Bondesson
Could you define a domain in the haters file instead of the whole email adress? Like: example.com 0 ? Thanks, Nicklas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary V Sent: den 12 oktober 2005 03:09 To: amavis-user@lists.sourceforge.net

RE: [AMaViS-user] Graphical stats tool for amavis

2005-07-07 Thread Nicklas Bondesson
Please send me a copy. Are planning to release it to the public? Nicklas -Original Message- From: Dale Walsh [mailto:[EMAIL PROTECTED] Sent: den 7 juli 2005 11:02 To: Nicklas Bondesson Subject: Re: [AMaViS-user] Graphical stats tool for amavis This supports multiple hosts

RE: [AMaViS-user] X-Amavis-Alert header

2005-06-23 Thread Nicklas Bondesson
I'm using amavisd-new-2.3.2-pre1 (20050526). Nicklas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Martinec Sent: den 23 juni 2005 15:21 To: amavis-user@lists.sourceforge.net Subject: Re: [AMaViS-user] X-Amavis-Alert header Nicklas, Is

[AMaViS-user] General question about amavisd-new variables

2005-06-03 Thread Nicklas Bondesson
Hi, I have a question about variables in amavisd-new. I'm looking for a way to let each domain have it's own virus admin based on the blocked recipient domain. Something like this, where $(domain) should be replaced with a valid variable: $virus_admin = [EMAIL PROTECTED](domain); How do one

RE: [AMaViS-user] General question about amavisd-new variables

2005-06-03 Thread Nicklas Bondesson
14:45 To: Nicklas Bondesson Cc: amavis-user@lists.sourceforge.net Subject: Re: [AMaViS-user] General question about amavisd-new variables Hi, I have a question about variables in amavisd-new. I'm looking for a way to let each domain have it's own virus admin based on the blocked recipient

[AMaViS-user] amavisd-new 2.3.2-pre1 - SQL lookups and quarantine / Perl / question

2005-06-02 Thread Nicklas Bondesson
Hi, I'm currently implementing SQL lookups and quarantine through SQL. Since we're running perl 5.6.1 on a Debian woody stable we got into some troubles with not finding the Encode module (Encode.pm). It can't be installed on our system without upgrading perl. This is pretty obvious since this

[AMaViS-user] amavisd-new 2.3.2-pre1 SQL lookups and final*destiny

2005-06-02 Thread Nicklas Bondesson
Hi, Is it possible to interact with the final*destiny directives from the policy table when using mysql lookups? Thanks in advance. Nicklas --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create