[AMaViS-user] Re: Read notify-templates from file

2005-12-14 Thread Jim Knuth
Heute (15.12.2005/08:29 Uhr) schrieb Oliver Geisen ([EMAIL PROTECTED]), > Hello, > is there a way, built into amavis, to load notify message templates > from file, instead of changeing them in the source ? yes, you must, for example, in amavisd.conf: $notify_virus_recips_templ= read_text("/etc

Re: [AMaViS-user] amavis-stats rrd_graph error

2005-12-14 Thread Dale Walsh
On Dec 14, 2005, at 23:37 , Robert Fitzpatrick wrote: Trying to setup amavis-stats on server running amavisd-new 2.3.3 and getting errors when trying to browse. Can anyone tell me what this means? amavis-stats::error: rrd_graph(): Garbage ':30:00 2005 \r' after command: COMMENT:Wed Dec 14 23:3

[AMaViS-user] Customize notify messages

2005-12-14 Thread Oliver Geisen
Hello, i tried to customize the notification messages from amavisd-new and ran into trouble. It seem's, regardless of what i'm doing, that amavis appends the original mail header at the end of the notification mail to a sender. Unfortunately amavis seems not to distinguish between virus- and

[AMaViS-user] Read notify-templates from file

2005-12-14 Thread Oliver Geisen
Hello, is there a way, built into amavis, to load notify message templates from file, instead of changeing them in the source ? _ Oliver Geisen Systemadministrator Kreisboten Verlag Mühlfellner KG Telefon: 0881/686-63 Telefax: 0881/686-74 -

[AMaViS-user] amavis-stats rrd_graph error

2005-12-14 Thread Robert Fitzpatrick
Trying to setup amavis-stats on server running amavisd-new 2.3.3 and getting errors when trying to browse. Can anyone tell me what this means? amavis-stats::error: rrd_graph(): Garbage ':30:00 2005 \r' after command: COMMENT:Wed Dec 14 23:30:00 2005 \r The php scripts seems to work fine, the file

Re: [AMaViS-user] Net::Server error at 340 - Unsecure host

2005-12-14 Thread Benu
On Wednesday 14 December 2005 05:33 pm, Mark Martinec wrote: > > $inet_socket_bind = 127.0.0.1; > > Aha, there you are. The value should be a string '127.0.0.1', > not a binary "\177\000\000\001" as Net::Server interprets it. > You forgot the quotes. > > This is also a default value, so you may ju

Re: [AMaViS-user] slow processing after upgrade to 2.3.3

2005-12-14 Thread Gary V
Mark wrote: >> > I will note that a number of amavisd users including me saw their >> > average message processing times go up from (e.g.) 2 seconds to 10-12 >> > seconds on upgrading from amavisd 2.2.x and SpamAssassin 3.0.x to >> > amavisd 2.3.3 and SpamAssassin 3.1.0. ... I mention it so that

Re: [AMaViS-user] Score Sender Maps

2005-12-14 Thread Chris
Chris wrote: > On Wed, 14 Dec 2005, Mark Martinec wrote: > >>> Yes indeed. Specify one sender address per line, either an exact sender >>> envelope address, or just a domain part (without '@'), possibly >>> prefixed by a dot to include subdomains. ... >> >> >> I should add: for use as a score-send

Re: [AMaViS-user] slow processing after upgrade to 2.3.3

2005-12-14 Thread Mark Martinec
> > I will note that a number of amavisd users including me saw their > > average message processing times go up from (e.g.) 2 seconds to 10-12 > > seconds on upgrading from amavisd 2.2.x and SpamAssassin 3.0.x to > > amavisd 2.3.3 and SpamAssassin 3.1.0. ... I mention it so that if > > you see th

Re: [AMaViS-user] Net::Server error at 340 - Unsecure host

2005-12-14 Thread Mark Martinec
Benu, > I have encountered the above error I have used amavis debug but can not > find the source of the error. > Dec 14 16:12:14 mail.foo.com /usr/sbin/amavisd[5296]: Net::Server: > 2005/12/14-16:12:14 Unsecure host "\177\000\000\001"\n at line 340 in > file /usr/lib/perl5/site_perl/5.8.6/Net/S

[AMaViS-user] Net::Server error at 340 - Unsecure host

2005-12-14 Thread Benu
I have encountered the above error I have used amavis debug but can not find the source of the error. Any help will greatly be appreciated. Regards [amavis conf] use strict; $myhostname = 'mail.foo.com'; $mydomain = 'foo.com'; $daemon_user = 'amavis'; $daemon_group = 'amavis'; $MYHOME

[AMaViS-user] Re: AMaViS-user digest, Vol 1 #3445 - 13 msgs

2005-12-14 Thread Rene Bouchard
Hi, first, thanks a lot for your help. Unfortunately, I already tried that and it didn't fix the problem. I even sniffed the network and didn't see any unrelevant trafficI wonder if this can be something else like malformed email or an amavis bug ? thanks > From: Mark Martinec <[EMAIL PROTEC

Re: [AMaViS-user] Score Sender Maps

2005-12-14 Thread Chris
On Wed, 14 Dec 2005, Mark Martinec wrote: Yes indeed. Specify one sender address per line, either an exact sender envelope address, or just a domain part (without '@'), possibly prefixed by a dot to include subdomains. ... I should add: for use as a score-sender hash lookup, each line read by

Re: [AMaViS-user] Editing subject line

2005-12-14 Thread Peter
--- Mark Martinec <[EMAIL PROTECTED]> wrote: > Peter, > > > I am using SQL lookups. I have one user (@domain.com) and one policy > > defined. The field policy.spam_modifies_subj is 'Y'. I am trying > not to > > duplicate settings in amavisd.conf so the corresponding line is > commented > > o

Re: [AMaViS-user] slow processing after upgrade to 2.3.3

2005-12-14 Thread Robert Fitzpatrick
On Wed, 2005-12-14 at 18:39 +0100, Mark Martinec wrote: > Clifton, > > > I will note that a number of amavisd users including me saw their > > average message processing times go up from (e.g.) 2 seconds to 10-12 > > seconds on upgrading from amavisd 2.2.x and SpamAssassin 3.0.x to > > amavisd 2.3

Re: [AMaViS-user] slow processing after upgrade to 2.3.3

2005-12-14 Thread Mark Martinec
Clifton, > I will note that a number of amavisd users including me saw their > average message processing times go up from (e.g.) 2 seconds to 10-12 > seconds on upgrading from amavisd 2.2.x and SpamAssassin 3.0.x to > amavisd 2.3.3 and SpamAssassin 3.1.0. ... I mention it so that if > you see th

Re: [AMaViS-user] slow processing after upgrade to 2.3.3

2005-12-14 Thread Clifton Royston
On Tue, Dec 13, 2005 at 09:42:35PM -0500, Robert Fitzpatrick wrote: > On my FreeBSD 5.4 server, I have upgraded to v2.3.3 from 2.2.x and the > CPU now has no idle time with less than 400 messages in the queue. > Messages are taking several minutes to process. This is indeed wildly excessive, and

Re: [AMaViS-user] some suggestions on filtering

2005-12-14 Thread Mark Martinec
Gérald, Sorry for a late reply. > One of our clients asked us for Amavisd-new modifications and we would > like to have your (users and developpers) comments on the usefullness > of the resulting patches for the project, here they are: > > 1) addition of a configurable option to allow accentuat

Re: [AMaViS-user] DENIED ACCESS from IP 0.0.0.0, policy bank ''

2005-12-14 Thread Mark Martinec
Rene, > I am running amavisd-new on a high load environment (about 1 milion emails > a day). When the email traffic is really high (especially now with > christmas SPAM), my amavisd-new process get really slow after a while. The > average process time is about 15 seconds per emails, event if all e

Re: [AMaViS-user] Score Sender Maps

2005-12-14 Thread Mark Martinec
Chris, > So - basically, I can take the example whitelist, copy it verbatim into a > file (the way it is) and pretty much be done with it? If you use the hash resulting from read_hash() in @whitelist_sender_maps or in @blacklist_sender_maps then yes, only list addresses, one per line. If however

Re: [AMaViS-user] Score Sender Maps

2005-12-14 Thread Mark Martinec
> Yes indeed. Specify one sender address per line, either an exact sender > envelope address, or just a domain part (without '@'), possibly > prefixed by a dot to include subdomains. ... I should add: for use as a score-sender hash lookup, each line read by read_hash() should normally contain a pa

Re: [AMaViS-user] Score Sender Maps

2005-12-14 Thread Mark Martinec
Chris, > Am I to understand via the example in amavisd.conf-sample, that the > whitelisting example can be put into a file > (/var/amavis/sender_scores_sitewide) then hashed and not within the > amavisd.conf file itself? Yes indeed. Specify one sender address per line, either an exact sender enve

Re: [AMaViS-user] deliver tagged spam locally for one gateway domain?

2005-12-14 Thread Mark Martinec
Scott, From Gary V: > Another recent thread also discussed what I believe is the same issue: > http://marc.theaimsgroup.com/?l=amavis-user&m=113242039910897&w=2 Indeed, in particular the: http://marc.theaimsgroup.com/?l=amavis-user&m=113270599414231&w=2 Appending address extensions and rerouti

[AMaViS-user] DENIED ACCESS from IP 0.0.0.0, policy bank ''

2005-12-14 Thread Rene Bouchard
Hi, I am running amavisd-new on a high load environment (about 1 milion emails a day). When the email traffic is really high (especially now with christmas SPAM), my amavisd-new process get really slow after a while. The average process time is about 15 seconds per emails, event if all external

[AMaViS-user] Score Sender Maps

2005-12-14 Thread Chris
Am I to understand via the example in amavisd.conf-sample, that the whitelisting example can be put into a file (/var/amavis/sender_scores_sitewide) then hashed and not within the amavisd.conf file itself? Best regards, Chris If you lived here you'd be home now. ---

Re: [AMaViS-user] unknown files passes virus check

2005-12-14 Thread Mark Martinec
Oliver, > > You can add a catchall rule to the end of the $banned_filename_re list > > to block everything else which isn't explicitly allowed by rules > > earlier in this list. (but you may not like the result) > > I tried this with: qr'.*' at the end, but then i found out, that not > only mime-t

Re: [AMaViS-user] amavisd-release troubles

2005-12-14 Thread John Beaver
Mark Martinec wrote: >> I'm using INET as the connection method. I'm entering the file name exactly as in the log message. I get the following in my log file. Dec 13 20:32:10 mg-p1 amavis[48786]: (48786-01) SMTP: 500 5.5.2 Error: bad syntax; PENALIZE: request=release\r\n The protocol o

[AMaViS-user] Notification template: banned filename

2005-12-14 Thread Oliver Geisen
Hello, I found what '%F' results in a notification mail is overkilled for most users. Is there a similar macro to just expand to the real filename, without anything else ? _ Oliver Geisen Systemadministrator Kreisboten Verlag Mühlfellner KG Telefon: 0881/686-63

Re: [AMaViS-user] slow processing after upgrade to 2.3.3

2005-12-14 Thread Andrew Gargan
On Wed, 2005-12-14 at 10:20 -0500, Robert Fitzpatrick wrote: > On Tue, 2005-12-13 at 21:42 -0500, Robert Fitzpatrick wrote: > > On my FreeBSD 5.4 server, I have upgraded to v2.3.3 from 2.2.x and the > > CPU now has no idle time with less than 400 messages in the queue. > > Messages are taking sever

Re: [AMaViS-user] slow processing after upgrade to 2.3.3

2005-12-14 Thread Robert Fitzpatrick
On Tue, 2005-12-13 at 21:42 -0500, Robert Fitzpatrick wrote: > On my FreeBSD 5.4 server, I have upgraded to v2.3.3 from 2.2.x and the > CPU now has no idle time with less than 400 messages in the queue. > Messages are taking several minutes to process. > > I dug around and realize that my amavisd.

[AMaViS-user] Unpacker für StuffIt

2005-12-14 Thread Oliver Geisen
Hello, i wonder if anyone has made a module to handle stuffit-archives (sit,sit-x) from Macintosh with amavis. There is a Linux commandline-unpacker freely available at stuffit.com. _ Oliver Geisen Systemadministrator Kreisboten Verlag Mühlfellner KG Telefon: 088

Re: [AMaViS-user] Can I have a mix with sql and file queries

2005-12-14 Thread Mark Martinec
Jim, > I have now read at > http://www.ijs.si/software/amavisd/amavisd-new-docs.html#score_sender > Mixing the 'W', 'B' with numeric values is somewhat frowned upon, > but is supported to facilitate transition. > And so on. And I`ve try this: > rid sid wb > 2 1 W -5 The W/B a

Re: [AMaViS-user] Editing subject line

2005-12-14 Thread Mark Martinec
Peter, > I am using SQL lookups. I have one user (@domain.com) and one policy > defined. The field policy.spam_modifies_subj is 'Y'. I am trying not to > duplicate settings in amavisd.conf so the corresponding line is commented > out. > > I am passing (D_PASS) my spam and quarantining to disk

Re: [AMaViS-user] slow processing after upgrade to 2.3.3

2005-12-14 Thread Mark Martinec
Robert, > On my FreeBSD 5.4 server, I have upgraded to v2.3.3 from 2.2.x and the > CPU now has no idle time with less than 400 messages in the queue. > Messages are taking several minutes to process. See timing reports at log level 2. > I dug around and realize that my amavisd.conf file is drast

Re: [AMaViS-user] amavisd-release troubles

2005-12-14 Thread Mark Martinec
John, > I'm running amavisd-new 2.3.3 on FreeBSD 5.4 > I'm trying to release a quarantined file. > I'm trying to use amavisd-release. > I added this entry to not require a auth_id. > $auth_required_release = 0; Ok. > I'm using INET as the connection method. > I'm entering the file name exactly a

Re: [AMaViS-user] blocking attachments in NDR's with policy banks?

2005-12-14 Thread Muenz, Michael
> > Both doesn't detect it. > > Have you configured ClamAV to detect it? > > set DetectBrokenExecutables in your clamd.conf Cool! Didn't check my clamd.conf, I'll try this one, much better than an own policy bank! Thank you! Michael --- Thi

Re: [AMaViS-user] blocking attachments in NDR's with policy banks?

2005-12-14 Thread Cami
Muenz, Michael wrote: Use ClamAV, it is able to detect broken achieves and broken executables. BAD HEADER from <>: MIME error: error: part did not end with expected boundary FWD via SMTP: <> -> <[EMAIL PROTECTED]>, 250 2.6.0 Ok, id=00390-07, from MTA([127.0.0.1]:10025): 250 Ok: queued as 9B8478

Re: [AMaViS-user] blocking attachments in NDR's with policy banks?

2005-12-14 Thread Muenz, Michael
> Use ClamAV, it is able to detect broken achieves and > broken executables. I'm using ClamAV and F-Prot: Checking: sVD9s2SBe3Q1 <> -> <[EMAIL PROTECTED]> WARN: MIME::Parser error: part did not end with expected boundary p005 1 Content-Type: multipart/report p001 1/1 Content-Type: text/plain, size

Re: [AMaViS-user] blocking attachments in NDR's with policy banks?

2005-12-14 Thread Cami
Muenz, Michael wrote: Dear List, since the last Sober breakout, I get many NDR's with broken attachments (cause of bounce size limit). The non delivery reports arrives at amavisd-new (2.3.3) and then it says "MIME error: error: part did not end with expected boundary" and doesn't find the Sob

[AMaViS-user] blocking attachments in NDR's with policy banks?

2005-12-14 Thread Muenz, Michael
Dear List, since the last Sober breakout, I get many NDR's with broken attachments (cause of bounce size limit). The non delivery reports arrives at amavisd-new (2.3.3) and then it says "MIME error: error: part did not end with expected boundary" and doesn't find the Soberworm, because the atta

[AMaViS-user] Microsoft Outlook 2003, UTF-8 and RFC 2822

2005-12-14 Thread Lydiard
Hi I got my new laptop last week, and in the course of setting up Outlook, I changed the "Preferred Encoding for Outgoing Messages" to UTF-8 as I had it setup on the other laptop. However, since then every email I send that has "special characters" in the Headers is being bounced with the "Undeli

[AMaViS-user] Editing subject line

2005-12-14 Thread Peter
I am using SQL lookups. I have one user (@domain.com) and one policy defined. The field policy.spam_modifies_subj is 'Y'. I am trying not to duplicate settings in amavisd.conf so the corresponding line is commented out. I am passing (D_PASS) my spam and quarantining to disk but the quarantined