Re: [AMaViS-user] amavisd-new detects bad headers in S/MIME signed mails

2007-02-27 Thread Felix Schwarz
Sorry guys, after several hours staring at the problem, I just found the problem: >> --8BFB1D6001F9748054F2C3412980690B >> Just a simple test e-mail. >> >> --8BFB1D6001F9748054F2C3412980690B Due to the empty line at the end, the original text is interpreted as email header and in thi

[AMaViS-user] amavisd-new detects bad headers in S/MIME signed mails

2007-02-27 Thread Felix Schwarz
Hi all, my amavis installation detects a bad header in S/MIME signed emails if the text part has no Content-Type header. I'm getting this message in my dsn: > The message WAS NOT relayed to: > <[EMAIL PROTECTED]>: >554 5.6.0 Reject, id=06568-01 - BAD_HEADER: MIME error: error: couldn't >

Re: [AMaViS-user] how do i implement dspam selectively for particular users

2007-02-11 Thread Felix Schwarz
Hi, wpc schrieb: > Thanks for your reply, could you kindly send me this patch i'll be > gratefull. Some old versions of my patches (against 2.4.0pre??) can be found in http://www.felix-schwarz.name/files/opensource/amavisd-new/ Please not that I do recommend using them on a production system yet

Re: [AMaViS-user] how do i implement dspam selectively for particular users

2007-02-10 Thread Felix Schwarz
wpc schrieb: > i would like a test setup of the dspam filter on my production server that > only sends mail through dspam from some particular users participating in the > testing exercise while the rest of the users remain on the current setup with > SA. I think that is not possible with the curr

Re: [AMaViS-user] Amavis slowing down mail delivery almost to a halt

2007-02-10 Thread Felix Schwarz
Eric Yellin schrieb: > Almost 2 minutes between entries... > DSPAM is taking way too long to process. > How can I find out what exactly is causing this slowness? Which version of DSPAM do you use? Which database backend? (if MySQL: which engine?) Do you execute some maintainance operations on th

Re: [AMaViS-user] dspam + amavis question

2006-12-28 Thread Felix Schwarz
Thomas Lau schrieb: > do you have a retrain script which could allow dspam train with the > message even the signature isn't on the message body ? I thought that dspam would recognize a signature in the message header. If not, you probably should ask at the dspam mailing list. Unfortunately, m

Re: [AMaViS-user] dspam + amavis question

2006-12-28 Thread Felix Schwarz
Thomas Lau schrieb: > hey all, I am using dspam + amavis, but I realize that no matter what I > do to config signature location, it still appear on the email header but > not the email message itself, anyone know how to resolve this ? Thanks. The SA+DSPAM integration in amavisd-new has some weakne

Re: [AMaViS-user] dspam + amavis

2006-12-18 Thread Felix Schwarz
[EMAIL PROTECTED] schrieb: > does anyone using amavis + dspam ? > I am wondering if it's possible to use individual spam filtering rather than > goes into amavis default account ? Thanks I have some patches to make dspam a first class citizen in amavisd-new (posted to the ml in Jan/Feb 06). The

Re: [AMaViS-user] howto integrate dspam into amavisd-new?

2006-10-01 Thread Felix Schwarz
Henrik Krohns wrote: > Any system that requires feedback from the users is flaved IMO. I'm sure > our workers have better things to do than train bayes. We just use a global > autolearning database, and in our case it works even better as we don't > communicate in english. IMHO this is a weak arg

Re: [AMaViS-user] howto integrate dspam into amavisd-new?

2006-10-01 Thread Felix Schwarz
Heinz Ulrich Stille wrote: > My only (small) gripe against dspam is that it insists on delivering > one message to each receiver separately (via LMTP) instead of handing > it over to the next filter step "as is". It depends on the parameters used to call DSPAM. If you are using --stdout, DSPAM w

Re: [AMaViS-user] amavis fail when search dspam

2006-07-15 Thread Felix Schwarz
Hi, System User schrieb: > for amavis find dspam only is necesary which dpam has permision > r-x--s--- but, amabis not found dspam, for amavis can find dspam I set > permision to r-xr-xr-x > Isn't necesary read permision for execute stat for a file, why not found > dspam? Can you rephrase your q

Re: [AMaViS-user] amavisd-new, spamassassin and sendmail milter

2006-05-26 Thread Felix Schwarz
Lucio Chiappetti schrieb: > This is a shorter request for clarification (see previous longer post for > details) about our attempt to replace our pure sendmail with DNSBL > filtering policy with one based on sendmail 8.13.1, amavisd-new-2.1.2 in > the "milter" configuration and spamassassin (sp

[AMaViS-user] Re: Add extra header to tagged mails

2006-05-23 Thread Felix Schwarz
Hi Torbjorn, Torbjorn Soderberg wrote: > So, when a email has reached tag2 level and the subject is rewrite > (according to my config) I also would like to add a header or footer > with a link to a FAQ document that describes the spam situation on the > internet. When I read your subject line,

[AMaViS-user] working prototype for Amavis::SpamControl::DSPAM

2006-05-09 Thread Felix Schwarz
Hi all, I just wanted to let you know that I have a working prototype for a new spamscanner for amavisd-new called Amavis::SpamControl::DSPAM. Main features: - Chooses the DSPAM user based on the recipients (but can be configured to use the same user all the time). - Adds a DSPAM signature to t

[AMaViS-user] Re: Performance issue

2006-04-25 Thread Felix Schwarz
Ilja Marchew wrote: > hmm, it's strange. SA check gets all the time, but spamd process doesn't. (...) >> What is spamd used for? > it's spamassassin daemon. amavisd-new does not use spamd. It integrates SpamAssassin as a "library". There is no point in using spamd when using amavisd-new at the

[AMaViS-user] Re: TROUBLE in check_mail: mime_decode-1 FAILED:

2006-04-22 Thread Felix Schwarz
Hi, D.Krueger schrieb: > the following error occurs when I try to send a mail. > amavis[28515]: (28515-02)(!!) TROUBLE in check_mail: mime_decode-1 > FAILED: MIME::Parser: can't open tmpfile: Invalid argument > amavis[28515]: (28515-02)(!) PRESERVING EVIDENCE in > /var/amavis/tmp/amavis-20060421T

[AMaViS-user] Re: run_command and command line parameter splitting

2006-04-19 Thread Felix Schwarz
Hi, [EMAIL PROTECTED] wrote: >> I have a problem while writing my dspam plugin for amavis. >> >> In order to check the current mail I do the following: >> my($dspam_arguments) = '--mode=toe --user amavis >> --deliver=spam,innocent --process --stdout '; >> my($proc_fh,$pid) = run_command('&'.

[AMaViS-user] run_command and command line parameter splitting

2006-04-18 Thread Felix Schwarz
Hi all, I have a problem while writing my dspam plugin for amavis. In order to check the current mail I do the following: my($dspam_arguments) = '--mode=toe --user amavis --deliver=spam,innocent --process --stdout '; my($proc_fh,$pid) = run_command('&'.$fh->fileno, "&1", $self->{'dspam'}, $

[AMaViS-user] Re: Scheme of amavisd

2006-03-22 Thread Felix Schwarz
Oliver, Oliver Geisen wrote: > is there a graphical scheme available for amavisd ? One which shows > the internal structure (flow) and it's interacting components. Or > can anyone explain the internal modular structure so i can draw one > myself ? I find amavisd's internals are poorly documented,

[AMaViS-user] Re: perl Digest::MD5 version requirement

2006-03-21 Thread Felix Schwarz
Henrik Krohns wrote: >> Second, upgrading is easier (yum update) if the packager did his/her >> job well. And since most packagers know the software much better than >> I do (which is the case for 99,9% of all programs), they will prevent >> me from doing anything bad. > Thats a bit of a stretch

[AMaViS-user] Re: perl Digest::MD5 version requirement

2006-03-21 Thread Felix Schwarz
Henrik Krohns wrote: > Maybe this is a bit offtopic, but why does everyone insist on using RPM/DEB > whatever packages for everything? > In my humble opinion, amavisd-new/spamassassin is much easier to handle when > you compile own perl instance to /usr/local/perl. You can update it or your > sys

Re: [AMaViS-user] Advanced Rule...

2006-03-15 Thread Felix Schwarz
Hi Dustin, Dustin Humm wrote: > We protect roughly 25 domains with postfix/amavis/spamassassin. All of > these domains need to be able to talk to one another. Although we are > using this system for incoming mail only, we, obviously, need to allow > communication between the domains that we prote

[AMaViS-user] Re: Per-user subject blacklisting

2006-03-01 Thread Felix Schwarz
Hi Richard, Richard Bishop schrieb: > Has anybody else considered such a system? Any advice on how to go > about implementing it? Any general comments? I think you are hit by some of the disadvantages of SpamAssassin (many rules to maintain, most of the times it is not easy adding user specific r

[AMaViS-user] How to create a new configuration variable?

2006-02-27 Thread Felix Schwarz
What is considered the best way to introduce a configuration value? I read about maps and policy banks but did not find a real solution what to do... I want to add a per-user setting for the spam filter to use. I thought about using something like > @spam_filter_maps = ({ '[EMAIL PROTECTED]' => '

[AMaViS-user] Re: Best way to train statistical DB's ?

2006-02-03 Thread Felix Schwarz
BJ Dierkes schrieb: > Felix Schwarz wrote: >>That depends on what filter you are using. SpamAssassin's bayes db >>itself can be used by different users. amavisd-new does currently only >>use one user. If you want to be able to report spam by your webmailer >>yo

[AMaViS-user] Re: Best way to train statistical DB's ?

2006-02-03 Thread Felix Schwarz
Hallo Jakob, Jakob Curdes schrieb: > I figured out a way to train dspam via mail forwarding but got stuck > in the user jungle - dspam wants to train the mail as user "nobody" > and dies because it cannot create the lock files for this user. Try the command line option '--user="[EMAIL PROTECTED]"

[AMaViS-user] Re: Best way to train statistical DB's ?

2006-02-03 Thread Felix Schwarz
Hi BJ, BJ Dierkes schrieb: > I am using Horde Webmail. I have configured it so that when you > click "report as spam" it runs sa-learn against the email. Now, this > is being run as www-data (debian) I assume and therefore my question > is this: Are the statistics processed into a global database

Re: [AMaViS-user] Generic spam scanner interface for amavisd-new (patch)

2006-01-05 Thread Felix Schwarz
Hi Chris, Covington, Chris wrote: > On Thu, Jan 05, 2006 at 10:46:16AM +0100, Felix Schwarz wrote: >> Hi all. >> >> FOREWORD: >> After using MailScanner for about three years, I finally switched to >> amavisd-new because I liked some things in the implementat

Re: [AMaViS-user] some minor patches

2006-01-05 Thread Felix Schwarz
Hi Mark, Mark Martinec wrote: > Well, the story goes like this: the semantics of the name > sa_mail_body_size_limit is correct as intended. Its primay function > is to compare it with $msginfo->orig_body_size. > Then Ralf came up with an example of a mail which had a huuuge > header and a normal

Re: [AMaViS-user] Generic spam scanner interface for amavisd-new (patch)

2006-01-05 Thread Felix Schwarz
Hi Brian, Brian May wrote: > Felix Schwarz wrote: >> FOREWORD: >> After using MailScanner for about three years, I finally switched to >> amavisd-new because I liked some things in the implementation better. >> One thing I really need is a "decent" DSPAM

[AMaViS-user] Generic spam scanner interface for amavisd-new (patch)

2006-01-05 Thread Felix Schwarz
Hi all. FOREWORD: After using MailScanner for about three years, I finally switched to amavisd-new because I liked some things in the implementation better. One thing I really need is a "decent" DSPAM integration. I do not consider the current DSPAM integration in amavisd-new as sufficient as it i

[AMaViS-user] some minor patches

2006-01-05 Thread Felix Schwarz
Hi all, while working on a spam scanner plugin interface for amavisd-new, I noticed some minor things which IMHO should be improved. All patches are available at http://www.felix-schwarz.name/files/opensource/ because I don't know your attachement policy. 01_mbxname.patch: When calculating the pa