[AMaViS-user] Backscatterer.org, how to deal with?

2010-04-08 Thread Peter Huetmannsberger

Hello,

I am not sure this is not slightly off topic, but I would like to hear 
your opinion on this. I looked through my logfiles today and came across a 
line that led me to check if the mailserver may have accidentally ended up 
on a RBL list.

All was clear except for backscatterer.org.

I went to their website and they basically accused me (and whoever looks 
there) of not running a reasonably configured mailserver, because I send 
DSN notices to anyone below 8 points. I realise that backscatter is a 
problem, or can be, but I figured that 8 was sufficiently low.

I refuse to turn it off altogether, because I do not want to have my phone 
ring everytime someone thinks a mail did not arrive, because someone 
misspelt an emailaddress. But they charge EURO 50,-- to be taken off the 
RBL. Sorry but I find this outrageous.

Is there anything else I can do, other than lower the threshold. I use 
pyzor, razor, all sorts of other plugins ins spamassassin, and feel that I 
am doing enough. It's bad enough to fight the spammers, but to have to 
fight the "good?" guys now too, seems a bit much.

Sorry about the rant, look at their website and you know why!

-quote---
History:
01.04.2010 18:20 CEST   listed

A total of 5 Impacts were detected during this listing. Last was 
03.04.2010 20:50 CEST +/- 10 minutes.
Earliest date this IP can expire is 01.05.2010 20:50 CEST.



This IP is temporary listed.
The listing will expire automatically and free of charge 4 weeks after the 
last abuse is seen from that IP.
Expedited manual expressdelisting is available as an option, in case you 
do not want to wait for the automatic and free expiration.
You will be charged 50 Euro's using one of the following payment services.
unquote--


Again, please forgive me if this is toatlly off topic!

Thanks for any suggestions.

.peter


-- 

-
Please note that my email has changed to:
huetm...@violine.at



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Amavisd Daily Cron Fails

2010-03-25 Thread Peter Huetmannsberger


The script is supposed to clean up your virusmail directory. If you don't 
have one, you don't need the script. So you can either create a directory 
called /var/virusmails

or you can delete the script, or better still uncomment the line in it, so 
that future installs know that you have this script already.

Hope that helps,

.peter


On Thu, 25 Mar 2010, Carlos Mennens wrote:

> When I installed 'Amavisd-new' on a RHEL5 x64 mail server, I noticed
> that every at 4:02 a script runs:
> 
> The script name is '/etc/cron.daily/amavisd' & it fails with:
> 
> "/etc/cron.daily/amavisd: line 1: /usr/sbin/tmpwatch: No such file or 
> directory"
> 
> Should I try to alter the script file that runs daily manually? I find
> it annoyong to get these useless emails about a failing script. I
> never manually installed this script on the server so I can assume it
> was done automatically when the Amavisd-new package was installed. The
> script is very small and has only 1 line:
> 
> /usr/sbin/tmpwatch 720 /var/virusmails/
> 
> Any suggestions on what I should do? This doesn't appear to be
> impacting Amavisd-new performance on my machine from what I can see.
> 
> -Carlos
> 
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/amavis-user
>  AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
>  AMaViS-HowTos:http://www.amavis.org/howto/ 
>

-- 

-
Please note that my email has changed to:
huetm...@violine.at



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] amavis-stats setup, no graphs

2010-03-24 Thread Peter Huetmannsberger


Hi, I have been using it for a while now, and there have always been minor 
issues with the rrd versions used.

I built an src.rpm for it, so if you would like to have it write to me off 
the list,

Hope that helps,

.peter




On Wed, 24 Mar 2010, Voytek Eymont wrote:

> anyone using amavis-stats ?
>
> I'm trying to setup amavis-stats 1.22 on centos/apache
> data seems to be collecting, but, no graphs being created
>
> I guess it fails trying to make a graph, but not sure how to figure this out
>
>
>
> sbt.net.au/amavis-stats/
>
> I get the main page with buttons, but, no graphs, just:
>
> amavis-stats::error: rrd_graph()2: 1
> amavis-stats::error: rrd_graph(): 1
> amavis-stats::error: rrd_graph(): 1
>
> the data seems created ok in /usr/local/var/lib/amavis-stats:
>
> .
> -rw-r-  1 apache apache 21696 Mar 23 08:30 99.rrd
> -rw-r-  1 apache apache 21696 Mar 23 08:30 9.rrd
> -rw-r-  1 apache apache  1314 Mar 23 08:30 amavis-stats.count
> -rw-r-  1 apache apache  6531 Mar 23 08:30 amavis-stats.names
> -rw-r-  1 apache apache 6 Nov  2  2008 amavis-stats.pid
> -rw-r-  1 apache apache  5560 Mar 23 08:30 amavis-stats.seen
> -rw-r-  1 apache apache58 Mar 23 08:30 amavis-stats.state
>
>
> no files/graphs exists in /usr/local/share/amavis-stats/img
>
> # ls -al
> total 16
> drwxrwxr-x  2 apache apache 4096 Mar 23 08:31 .
> drwxrwxr-x  3 apache apache 4096 Nov  2  2008 ..
>
> the only error in apache error log I see is:
>
> [client 143.238.114.81] PHP Notice:  Undefined variable:  legend_msg in
> /usr/loc
> al/share/amavis-stats/amavis-stats.php on line 
>
>
>
>
>

-- 

-
Please note that my email has changed to:
huetm...@violine.at



--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] What blocked this ZIP?

2010-02-09 Thread Peter Huetmannsberger

I think, the fact that there is a .dll file in it!

.peter

On Tue, 9 Feb 2010, Ralf Hildebrandt wrote:

> From my log: Feb 9 15:56:05 mail amavis[32389]: (32389-19) p004 1 
> Content-Type: multipart/mixed Feb 9 15:56:05 mail amavis[32389]: 
> (32389-19) p005 1/1 Content-Type: multipart/alternative Feb 9 15:56:05 
> mail amavis[32389]: (32389-19) p001 1/1/1 Content-Type: text/plain, 
> size: 11 B, name: Feb 9 15:56:05 mail amavis[32389]: (32389-19) p002 
> 1/1/2 Content-Type: text/html, size: 708 B, name: Feb 9 15:56:05 mail 
> amavis[32389]: (32389-19) p003 1/2 Content-Type: 
> application/octet-stream, size: 4602930 B, name: 20091211_1553.ZIP Feb 9 
> 15:56:06 mail amavis[32389]: (32389-19) do_unzip: p003, members of zero 
> length, archive retained Feb 9 15:56:07 mail amavis[32389]: (32389-19) 
> p.path BANNED:1
recipi...@charite.de: "P=p004,L=1,M=multipart/mixed | 
P=p003,L=1/2,M=application/octet-stream,T=zip,N=20091211_1553.ZIP | 
P=p060,L=1/2/55,T=exe,T=dll,N=20091211_1553/Bin/COPRA.COPRA6.HL7.QRS.dll", 
matching_key="(?i-xsm:\\.[^./]{3}\\.(exe|vbs|pif|scr|bat|cmd|com|dll)\\.?$)"
> Feb 9 15:56:12 mail amavis[32389]: (32389-19) Blocked BANNED 
> (.exe,.dll,20091211_1553/Bin/COPRA.COPRA6.HL7.QRS.dll), [195.4.92.96] 
> [194.97.107.139]  -> , 
> Message-ID: <8c6c2e270b9e1ff1d0af46475d57c...@email.freenet.de>, 
> mail_id: Dq1Zv1DHmB8Z, Hits: -, size: 6301724, 6661 ms
>
>

-- 

-
Please note that my email has changed to:
huetm...@violine.at



--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Open relay? Nonlocal recips but, not originating:

2009-09-24 Thread Peter Huetmannsberger

Hmm, I noticed the same message in my amavis.log recently. However it 
showed up only when spoofed mails were using a domain, that I am secondary 
MX for. Maybe misconfigured sendmail? Made no diference to the way the 
mails were handled. Spam stayed Spam.

Thanks for any insights.

.peter


On Thu, 24 Sep 2009, Heidenreich Ralf wrote:

> Hello again,
>
> has anybody any ideas to my problem?
> See below.
>
> regards Ralf
>
>

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] MailZu with Amavisd 2.6.4

2009-07-17 Thread Peter Huetmannsberger


I am using it without problems on amavisd-new-2.6.3

Will update soon,

All the best

.peter


On Fri, 17 Jul 2009, Luis Daniel Lucio Quiroz wrote:

> Has anyone has trye MailZu, latest 0.8rc3 with amavis 2.6.4?
>
> --
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> ___
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
>

-- 

-
Please note that my email has changed to:
huetm...@violine.at



--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] amavisd-new 2.6.3 or 2.6.4

2009-07-06 Thread Peter Huetmannsberger




This specfile worked fine for me, maybe I am not using all the faetures 
though, yo umight want to read through it first.


It's 2.6.3 you want to download.

Good luck,

.peter




On Mon, 6 Jul 2009, Ilo Lorusso wrote:


Hi,

Im looking for an RPM for the above version of amavid-new which will
be compatitble with CentOS 5.3 Source or Spec file
would be fine,  anybody?


Thanks

Ilo

--
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/



--

-
Please note that my email has changed to:
huetm...@violine.at

# $Id: amavisd-new.spec 6135 2008-02-06 22:04:28Z dag $
# Authority: dag
# Upstream: 

### FIXME: If clamd is installed, add user clamav to group amavis
### FIXME: Look into amavis own stop/reload functionality

##ExclusiveDist: fc1 fc2 fc3 el4

%define logmsg logger -t %{name}/rpm

Summary: Mail virus-scanner
Name: amavisd-new
Version: 2.6.3
Release: 1.hp
License: GPL
Group: System Environment/Daemons
URL: http://www.ijs.si/software/amavisd/

Packager: Dag Wieers 
Vendor: Dag Apt Repository, http://dag.wieers.com/apt/

Source: http://www.ijs.si/software/amavisd/amavisd-new-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: perl >= 5.8.1, sendmail-devel >= 8.12, sendmail
Requires: arc >= 5.21e, nomarch >= 1.2, unrar >= 2.71, zoo >= 2.10
Requires: bzip2, cpio, file, freeze, lha, lzop, ncompress, unarj
Requires: cabextract, ripole, perl(BerkeleyDB)
Requires: perl(Archive::Tar), perl(Archive::Zip) >= 1.14, perl(Compress::Zlib) 
>= 1.35
Requires: perl(Convert::TNEF), perl(Convert::UUlib), perl(IO::Stringy)
Requires: perl(MIME::Base64), perl(MIME::Tools) >= 5.420, perl(Unix::Syslog)
Requires: perl(Time::HiRes) >= 1.49, perl(Digest::MD5), perl(Digest::SHA1)
Requires: perl(Digest::HMAC), perl(Net::DNS), perl(Mail::SpamAssassin)
Requires: perl-MailTools, perl(Net::Server) >= 0.93, perl-HTML-Parser >= 3.24
Requires: perl(DB_File), perl(Digest::MD5) >= 2.22, perl(DBI) >= 1.43
Requires: perl(Net::Cmd) >= 2.24

Obsoletes: amavisd
Obsoletes: amavisd-new-utils <= %{version}-%{release}
Provides: amavisd-new-utils = %{version}-%{release}

%description
AMaViS is a program that interfaces a mail transfer agent (MTA) with
one or more virus scanners.

Amavisd-new is a branch created by Mark Martinec that adds serveral
performance and robustness features. It's partly based on
work being done on the official amavisd branch. Please see the
README.amavisd-new-RELNOTES file for a detailed description.

%package milter
Summary: The Amavisd-new sendmail-milter Daemon
Group: Applications/System
Requires: amavisd-new = %{version}-%{release}
Requires: sendmail

%description milter
The Amavisd-new sendmail-milter Daemon

%prep
%setup -n amavisd-new-%{version}

### FIXME: Some versions of install fail to change permissions when failing to 
change ownership. (Please fix upstream)
%{__perl} -pi.orig -e 's| -o root | |g' helper-progs/Makefile.in

%{__cat} amavisd.sysconfig
### Uncomment this if you want to use amavis with sendmail milter interface.
### See README.milter for details.
#
#MILTER_SOCKET="local:/var/amavis/amavis-milter.sock"
#MILTER_SOCKET="10...@127.0.0.1"

### These are other defaults.
#AMAVIS_ACCOUNT="amavis"
#CONFIG_FILE="%{_sysconfdir}/amavisd.conf"
#MILTER_FLAGS=""
EOF

%{__cat} <<'EOF' >amavisd.sysv
#!/bin/bash
#
# Init script for AMaViS email virus scanner.
#
# Written by Dag Wieers .
#
# chkconfig: 2345 79 31
# description: AMaViS virus scanner.
#
# processname: amavisd
# config: %{_sysconfdir}/amavisd.conf
# pidfile: %{_localstatedir}/run/amavisd.pid

source %{_initrddir}/functions

[ -x %{_sbindir}/amavisd ] || exit 1
[ -r %{_sysconfdir}/amavisd.conf ] || exit 1

### Default variables
AMAVIS_USER="amavis"
CONFIG_FILE="%{_sysconfdir}/amavisd.conf"
MILTER_SOCKET=""
MILTER_FLAGS=""
SYSCONFIG="%{_sysconfdir}/sysconfig/amavisd"

### Read configuration
[ -r "$SYSCONFIG" ] && source "$SYSCONFIG"

### Backward compatibility
[ "$AMAVIS_ACCOUNT" ] && AMAVIS_USER="$AMAVIS_ACCOUNT"

RETVAL=0
prog="amavisd"
prog2="amavis-milter"
desc="Mail Virus Scanner"

start() {
if [ "$MILTER_SOCKET" -a 

Re: [AMaViS-user] Confusion over bypass_banned rules revisited

2009-05-20 Thread Peter Huetmannsberger

Mark,

>> However what I need to do is to make exceptions for "senders" being able
>> to bypass the ruleset. I have read about the suggestions for postfix. I am
>> however using sendmail and milter.
>
> Some ensurance about the sender validity must be used, and based on that,
> a policy bank can be loaded which lifts the banning rules restrictions.
> There is intentionally no simple mechanism to do that based on only
> the sender's claimed e-mail address.

That was my first attempt. I am in fact using the MYNETS Policy, but in 
there I don't know how to make an exception for certain senders of banned 
attachments. This would at least insure that the mail comes form inside 
the MYNETS network.

> Are you refering to incoming or outgoing mail? For outgoing mail
> one can load a policy bank based on client's IP address.

I am referring to outgoing mail. But I misunderstood the variable 
bypass_banned_checks_acl, as this is for defining recipients and not 
senders.

> With the AM.PDP protocol, there is another way of loading a
> policy bank. The AM.PDP request can specify a list of policy
> banks to be loaded, e.g.:
>  policy_bank=SMTP_AUTH,TLS,ORIGINATING,MYNETS,...

I am using SMTP_AUTH, ORIGINATING, MYNETS, but I still don't know how to 
make an exception for outgoing mails from specific senders. Is there a map 
or variable I could use inside the MYNETS policy, or would I have to come 
up with a new policy? Any suggestions,

Many thanks in any case,

.peter


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


[AMaViS-user] Confusion over bypass_banned rules revisited

2009-05-18 Thread Peter Huetmannsberger

Hello Again,

afte having rearead a lot of the documentation, and emails from the past, 
I realised that I hab been wrong about my assumption regarding the 
variable

@bypass_banned_checks_acl = qw( t...@example.com huetm...@example.com );

This, I now realise, makes sure that the emailaddresses listed get their 
banned files and does not, as I had assumed, allow them to send banned 
files.

However what I need to do is to make exceptions for "senders" being able 
to bypass the ruleset. I have read about the suggestions for postfix. I am 
however using sendmail and milter.

Has anyone done this, is there a possible solution using milter?

Thank you,

.peter




-- 

-
Please note that my email has changed to:
huetm...@violine.at



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


[AMaViS-user] Confusion over bypass_banned rules

2009-05-14 Thread Peter Huetmannsberger

Hi,

I thought I had this working in the past, however at this point it seems 
to be broken.

I am using amavisd-new-2.6.3 with sendmail and pitr's milter. Backend is 
mysql.

I have a policy set in mysql where bypass_banned_checks = 'Y';

however the logfile for this user states:

May 14 15:32:13 evil.bruckneruni.at /usr/sbin/amavisd[15794]: (15794) 
Blocked BANNED (text/plain,.asc,idle.bat), AM.PDP-SOCK/MYNETS LOCAL 
[127.0.0.1] [127.0.0.1], .

So it seems that despite having listed the user as someone who shouldn't 
get the attachments checked the mails don't go through.

Is this the policy being stronger than the rules in sql, or for that 
matter in amavisd.conf?

Listing in amavisd.conf:

@bypass_banned_checks_acl = qw( t...@example.com huetm...@example.com );

(It does list my real domains in the above, and not example.com)

Any idea what I could be doing wrong, or has something changed that I 
missed in the new version?


Many thanks in advance,
Peter






-- 

-
Please note that my email has changed to:
huetm...@violine.at



--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] A good install cheat sheet for Centos

2009-04-15 Thread Peter Huetmannsberger


Hi,

I have been using amavisd-new on CentOS for years now. What you need in 
order to resolve all (most) of the dependencies is to use the rpmforge 
repository. They seem to have pretty much all you need.

Check this out: http://dag.wieers.com/rpm/

Another thing I find incredibly useful is a package called cpan2rpm, wich 
lets you install "regular" CPAN packagesas rpm based packages.


http://sourceforge.net/projects/cpan2rpm/

I hardly ever ran into problems with this setup!

Good luck,

.peter



On Thu, 16 Apr 2009, Terry Carmen wrote:

> Does anybody have a good cheat sheet for installing
> postfix/dovecot/amavis/spamassassin on Centos?
>
> Centos installs it's own version of perl, which works great until I go to add
> the dependencies for amavis and spamassassin, at which point yum can't find
> some of the prerequisites.
>
> Installing from source just makes it worse, because then there are two
> incompatible perl installs and goofy mismatched search paths, and using CPAN
> for the prerequisites takes forever because there doesn't seem to be a
> complete list of *everything*, and then eventually CPN starts having problems
> (probably some sort of conflict with the vendor perl install).
>
> Is there a script somewhere that lists *everything* that's required to get a
> fully functioning system, using either yum or source packages?
>
> Thanks!
>
> Terry
>
>
>
>
>
>
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
>

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] Banned Mail Question.

2009-01-13 Thread Peter Huetmannsberger

Thanks Mark, works like a charm, although I am beginning to think, tat I 
need to relax my rules a little.

Thanks for amavisd-new, BTW. Makes my life a lot easier!

All the best,

.peter

On Tue, 13 Jan 2009, Mark Martinec wrote:

> Peter,
>
>> Several times in the past I have had the problem of files that were pgp
>> signed not getting through, because in the conf file it says that files
>> with attachments ending with .asc should be blocked.
>>
>> Jan 13 15:30:59 x.tld /usr/sbin/amavisd[14266]: (14266)
>> p.path BANNED:1 xxx...@x.tld: "P=p004,L=1,M=multipart/signed |
>> P=p002,L=1/2,M=application/pgp-signature,T=pgp,T=pgp.asc,N=signature.asc,A=
>> C",
>> matching_key="(?ix-sm:.\\.(ade|adp|app|asc|bas|bat|cab|chm|cmd|com|cpl|crt|
>> csh|exe|fxp|hlp|\n
>> hta|inf|ins|isp|js|jse|ksh|lnk|mda|mdb|mde|mdt|mdw|mdz|msc|msi|\n
>> msp|mst|ops|pcd|pif|prf|prg|reg|scf|scr|sct|shb|shs|shb|url|vb|\n
>> vbe|vbs|wsc|wsf|wsh)$)"
>
>> Is there a way to keep the .asc files blocked but let pgp signature files
>> through, or am I simply paranoid wanting to block .asc files?
>
> You could place an allow rule before your blocking rule, e.g. based on
> a file name:
>  [ qr'^signature\.asc$'=> 0 ],
> or based on a 'short file type':
>  [ qr'^\.pgp\.asc$'=> 0 ],
>
> I'd say that blocking a filename ending in .asc is perhaps
> too paranoid. Virus scanners should be able to cover most threats.
>
>  Mark
>
> --
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> ___
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
>

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


[AMaViS-user] Banned Mail Question.

2009-01-13 Thread Peter Huetmannsberger

Hi,

Several times in the past I have had the problem of files that were pgp 
signed not getting through, because in the conf file it says that files 
with attachments ending with .asc should be blocked.

Jan 13 15:30:59 x.tld /usr/sbin/amavisd[14266]: (14266) 
p.path BANNED:1 xxx...@x.tld: "P=p004,L=1,M=multipart/signed | 
P=p002,L=1/2,M=application/pgp-signature,T=pgp,T=pgp.asc,N=signature.asc,A=C", 
matching_key="(?ix-sm:.\\.(ade|adp|app|asc|bas|bat|cab|chm|cmd|com|cpl|crt|csh|exe|fxp|hlp|\n
 
hta|inf|ins|isp|js|jse|ksh|lnk|mda|mdb|mde|mdt|mdw|mdz|msc|msi|\n 
msp|mst|ops|pcd|pif|prf|prg|reg|scf|scr|sct|shb|shs|shb|url|vb|\n 
vbe|vbs|wsc|wsf|wsh)$)"
Jan 13 15:31:01 x.tld /usr/sbin/amavisd[14266]: (14266) 
Blocked BANNED (application/pgp-signature,.pgp,.pgp.asc,signature.asc), 
AM.PDP-SOCK [IPADRESS] [IPADDRESS]  -> 
, quarantine: Kc8606n1wFPP, Queue-ID: 
n0DEUx56017933, Message-ID: <496ca5ec.5090...@domain.tld>, mail_id: 
Kc8606n1wFPP, Hits: -3.599, size: 2285, 2300 ms

Is there a way to keep the .asc files blocked but let pgp signature files 
through, or am I simply paranoid wanting to block .asc files?

Thanks for any help in advance

I use sendmail and Pitr amavisd-milter.

.peter

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


[AMaViS-user] TROUBLE in check_mail: quar+notif FAILED

2008-09-08 Thread Peter Huetmannsberger

Hi,

A while ago, I changed over to storing my quarantine, etc. in a mysql db. 
So far it has worked wonderfully except for one problem.

The DB has grown to about 5GB (ibdata file), and every night, when I am 
using the script included in the README.mysql to get rid of old entries, I 
get the following error:

Sep  9 03:18:54 george.eliot.priv.at /usr/sbin/amavisd[14068]: (14068) 
(!!)TROUBLE in check_mail: quar+notif FAILED: temporarily unable to 
quarantine: 451 4.5.0 Storing to sql db as mail_id MSQokJpLajBT failed: 
writing mail text to SQL failed: Error closing, flush: sql inserting text 
failed, sql exec: err=1205, S1000, DBD::mysql::st execute failed: Lock 
wait timeout exceeded; try restarting transaction at (eval 87) line 166, 
 line 718. at (eval 89) line 224,  line 718. at (eval 89) 
line 92,  line 718. at (eval 89) line 355., id=14068 at 
/usr/sbin/amavisd line 11673.


I realise this is a SQL issue, I was just wondering if anyone has 
experience with this, or better still a solution.

The script that runs is the following:

DELETE FROM msgs WHERE time_num < UNIX_TIMESTAMP()-30*24*60*60;
DELETE FROM msgs WHERE time_num < UNIX_TIMESTAMP()-60*60 AND content IS 
NULL;
DELETE FROM quarantine
   WHERE NOT EXISTS (SELECT 1 FROM msgs WHERE mail_id=quarantine.mail_id);
DELETE FROM msgrcpt
   WHERE NOT EXISTS (SELECT 1 FROM msgs WHERE mail_id=msgrcpt.mail_id);
DELETE FROM maddr
   WHERE NOT EXISTS (SELECT 1 FROM msgsWHERE sid=id)
 AND NOT EXISTS (SELECT 1 FROM msgrcpt WHERE rid=id);


I am using amavisd-new-2.6.1. The machine gets a really high load, when it 
does the above, so much so, that sometimes I also get the following 
errors:

Sep  9 03:48:46 george.eliot.priv.at /usr/sbin/amavisd[17556]: (17556) 
(!!)TROUBLE in process_request: Can't write response to socket: Broken 
pipe, fileno=13 at (eval 82) line 145.

Sep  9 03:50:31 george.eliot.priv.at /usr/sbin/amavisd[21872]: (21872) 
(!!)TROUBLE in check_mail: creating_partsdir FAILED: Can't create 
directory /var/amavis/tmp/afm891dgsv019798/parts: No such file or 
directory at /usr/sbin/amavisd line 9734.
Sep  9 03:50:31 george.eliot.priv.at /usr/sbin/amavisd[21872]: (21872) 
(!!)TROUBLE in process_request: Can't write response to socket: Broken 
pipe, fileno=13 at (eval 82) line 145.

This unfortunately happens pretty much every night, and I am afraid, I may 
be loosing important mails!

Any help would be appreciated.

Thanks,

.peter

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 


Re: [AMaViS-user] FW: Amvisd don't start -> CentOs 5.2 Update (MISSING BASIC MODULES ZLib )

2008-07-31 Thread Peter Huetmannsberger



Hi, I am also using CentOS 5.2 and don't have a problem. You must have 
more than one rpm for Compress-Zlib installed, which can be confusing for 
amavisd (or perl as a whole).


When I list my Zlib.pm, I only get ONE location (also installed from DAG), 
namely


/usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm
/usr/lib/perl5/vendor_perl/5.8.8/IO/Zlib.pm
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Compress/Raw/Zlib.pm


ALl under vendor_perl, and not site_perl.

So I suggest you do the following:

rpm -q perl-Compress-Zlib

Then check what is left, or find out why there is also one under site_perl 
by doing:


rpm -qf /usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm

Which should show you which packet installed it there.

Once you have gotten rid of all of them using rpm -e

Just go yum install perl-Compress-Zlib.

That at least makes sure you have it in one location only.

Hope that helps,

.peter




On Thu, 31 Jul 2008, Num ber wrote:


With some reseach i have found why they don't work..But i don't know how 
to resolv it !!I have uncomment this two line in 
/usr/sbin/amavisd_printf STDERR ("fetch_modules: error loading 
module %s :\n%s\n", $_, join("\n", map {"> $_"} 
split(/\n/,$eval_stat)));_And when i start i have this more 
explictive error :_# service amavisd startDémarrage de Mail Virus 
Scanner (amavisd) :fetch_modules: error loading module Compress/Zlib.pm 
:> is only avaliable with the XS version at 
/usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 9> BEGIN 
failed--compilation aborted at 
/usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 9.> Compilation 
failed in require at /usr/sbin/amavisd line 139._At 
/usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm line 9 i have this line 
:_use Scalar::Util qw(dualvar);But i don"t find a version of 
Scalar::Util for Centos 5.2 on Dag repos...Thanks for your help !!> 
From: [EMAIL PROTECTED]> To: amavis-user@lists.sourceforge.net> 
Date: Wed, 30 Jul 2008 10:40:20 +> Subject: [AMaViS-user] Amvisd 
don't start -> CentOs 5.2 Update (MISSING BASIC MODULES ZLib )> > > 
Hello> > Since i have upgraded my centos to 5.2 i have a problème with 
perl and amavisd.> > Amavisd don't start :> > __> [EMAIL PROTECTED] IO]# 
amavisd --debug> ERROR: MISSING REQUIRED BASIC MODULES:> Compress::Zlib> 
BEGIN failed--compilation aborted at /usr/sbin/amavisd line 171.> 
__> > Before upgrade amavisd it worked well..> > Compress::Zlib is 
installed :> > __> [EMAIL PROTECTED] IO]# rpm -qa | grep Compress-Zlib> 
perl-IO-Compress-Zlib-2.011-1.el5.rf> perl-Compress-Zlib-2.011-1.el5.rf> 
__> > I use dag repot and rpm package (not cpan !! )> > _> 
[EMAIL PROTECTED] IO]# locate Zlib.pm> 
/usr/lib/perl5/site_perl/5.8.8/Compress/Zlib.pm> 
/usr/lib/perl5/site_perl/5.8.8/IO/Zlib.pm> 
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Compress/Raw/Zlib.pm> 
/usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm> 
/usr/lib/perl5/vendor_perl/5.8.8/IO/Zlib.pm> 
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Compress/Raw/Zlib.pm> 
_> What could i do to resolv this issue?> > Thanks for your help, 
and sorry for my basic english !! I try to do the best as i can..> > 
_> 
Devinette: Quel est le moyen le plus rapide pour communiquer ?> 
http://www.startmessenger.be/fr/index.asp> 
-> 
This SF.Net email is sponsored by the Moblin Your Move Developer's 
challenge> Build the coolest Linux based applications with Moblin SDK & 
win great prizes> Grand prize is a trip for two to an Open Source event 
anywhere in the world> 
http://moblin-contest.org/redirect.php?banner_id=100&url=/> 
___> AMaViS-user mailing 
list> AMaViS-user@lists.sourceforge.net> 
https://lists.sourceforge.net/lists/listinfo/amavis-user> 
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3> 
AMaViS-HowTos:http://www.amavis.org/howto/







_
Partagez gratuitement vos photos de vacances… C'est plus simple avec Windows 
Live Spaces !
http://home.services.spaces.live.com/photos/?mkt=fr-be
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

-
This SF.Net email is sponsored by the Moblin Yo

Re: [AMaViS-user] ot: perl modules missing?

2008-07-19 Thread Peter Huetmannsberger

> In general, it is a bad idea to mix-n-match CPAN with your disto
> packages, unless you understand the the interdependencies of the
> parallel module trees that get created under site_perl and vendor_perl.
>
> MrC
>

If you are using rpm-based distros, there is a great tool called cpan2rpm 
which does just that. Using this tool you keep control over the packages 
you install even from CPAN.

just my 2cents

.peter

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] mysql-SQL changes in amavisd-new-2.6.1

2008-06-30 Thread Peter Huetmannsberger


On Mon, 30 Jun 2008, Mark Martinec wrote:

> Before we scare everyone away, I'd just like to point out that
> as far as varbinary/binary change is concerned, there was no change
> in amavisd code between 2.6.0 and 2.6.1. The topic is only about
> documentation change, i.e. best practices. If one wants to distinguish
> between 'S' and 's' as a value of msgs.content (e.g. as may be seen by
> a management application), then binary is a more appropriate data type,
> as pointed out by Thomas Gelf. Amavisd does not care about the value
> of existing records, it only sets it.


Yiu are absolutely right. I had everything up and running before I started 
to mess with the changes. I just wnated to be uptodate with everything so 
as to not run into trouble later.

> But it does, sid and rid are changed to the same data type as maddr.id :

My mistake, I read in one of the mails regarding this topic that an 
integer would be big enough for most setups, so I thought (stupidly) that 
changing all of them to an integer would work. But as I said earlier that 
got me into trouble with the AUTOINCREMENT being reset. So that is not 
to be recommended.

> Looks like the AUTO_INCREMENT counter value was reset after the change
> of the table msgs, and started counting from zero again. Not good.
>

All in all, I am really happy with amavisd-new, thank you!

All the best

.peter


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] mysql-SQL changes in amavisd-new-2.6.1

2008-06-29 Thread Peter Huetmannsberger




Hi Mark, et al

Thank you for your mail. I am glad to help a little, if I can.

I had to make a few changes to my initial mail. While everything looks 
(is) right, it's not as simple as it seems.


In order to change the field type from varchar to varbinary I had to first 
drop the foreign key and only then could do the changes.


I also had to change the maddr(id) to integer, in order to make it work at 
all. I realise it says somwhere in the README that they would have to be 
the same. However a diff to the two versions of READMEs did not show that 
change.



So I did the following to make it work (no changes to sid, rid, id):


 Drop foreign keys first:

ALTER table msgrcpt DROP foreign key msgrcpt_ibfk_2;
ALTER table quarantine DROP foreign key quarantine_ibfk_1;


ALTER table msgs CHANGE mail_id mail_id varbinary(12);
ALTER table msgrcpt CHANGE mail_id mail_id varbinary(12);
ALTER table quarantine CHANGE mail_id mail_id varbinary(12);


# Add the foreign keys again

ALTER TABLE quarantine ADD FOREIGN KEY (mail_id) REFERENCES msgs(mail_id) 
ON DELETE CASCADE;
ALTER TABLE msgrcpt ADD FOREIGN KEY (mail_id) REFERENCES msgs(mail_id) ON 
DELETE CASCADE;


 Change the rest


ALTER table msgs CHANGE secret_id secret_id varbinary(12);
ALTER table msgs CHANGE content content binary(1);
ALTER table msgs CHANGE quar_type quar_type binary(1);
ALTER table msgs CHANGE quar_loc quar_loc binary(255);
---


Now, I don't know if the order of things is the same for everyone (I.e. 
the sequence of the foreign keys. This can be checked FIRST! with


SHOW CREATE table msgs; (or any other table)

I also had a problem with changing from bigint to integer. While the field 
type change worked fine in mysql. I received an error after restarting 
amavisd:


in the maillog:

Jun 29 16:59:24 george sendmail[21471]: m5TExK8l021471: Milter: data, 
reject=451 4.5.0 Error in processing, id=21307, sql-enter FAILED: 
find_or_save_addr: failed to insert addr [EMAIL PROTECTED]: sql 
exec: err=1062, S1000, DBD::mysql::st execute failed: Duplicate entry '0' 
for key 1 at (eval 87) line 166,  line 21. at (eval 88) line 111, 
 line 21.
Jun 29 16:59:24 george sendmail[21471]: m5TExK8l021471: 
to=<[EMAIL PROTECTED]>, delay=00:00:02, pri=31256, stat=Error in 
processing, id=21307, sql-enter FAILED: find_or_save_addr: failed to 
insert addr interpreti... entry '0' for key 1 at (eval 87) line 166, 
 line 21. at (eval 88) line 111,  line 21.


in the amavisd.log:

Jun 29 16:59:24 george.eliot.priv.at /usr/sbin/amavisd[21307]: (21307) 
(!!)TROUBLE in check_mail: sql-enter FAILED: find_or_save_addr: failed to 
insert addr [EMAIL PROTECTED]: sql exec: err=1062, S1000, 
DBD::mysql::st execute failed: Duplicate entry '0' for key 1 at (eval 87) 
line 166,  line 21. at (eval 88) line 111,  line 21.



Maybe this is normal behaviour, when one changes a previous type of bigint 
into integer. I am not that familiar with mysql to say.


In the end I left the fields as they were, and only changed the varchar to 
varbinary (after dropping the foreign keys)


Sorry to bother you again, with this, I thought it might safe other people 
the frustration of trying to apply SQL commands I posted earlier.


Enjoy your evening

.peter


On Sun, 29 Jun 2008, Mark Martinec wrote:


Peter,


I painstakingly followed the changes from previous amavisd-new
installations to amavisd-new-2.6.0 a while ago.

I couldn't find any list of changes between 2.6.0 and 2.6.1 except what
was mentioned in the mails on this list. So I sat down and created a diff
between the READMEs of 2.6.0 and 2.6.1.

The few changes I found were (listed as mysql commands):



ALTER table msgs CHANGE sid sid integer;
ALTER table msgrcpt CHANGE rid rid integer;


This should probably be a 'bigint unsigned', or whatever
makes SQL happy (satisfies data type match in FOREIGN KEY).

It reflects the following entry from release notes
(documentation update):

- README.sql-mysql: fixed a SQL data type mismatch between maddr.id (used as
 a foreign key) and msgs.sid & msgrcpt.rid; they all should be of the same
 type, either integer unsigned or bigint unsigned; a schema as published
 in README.sql-mysql could not be built because of a conflict in a data
 type; reported by Leonardo Rodrigues Magalhães and Zhang Huangbin;


ALTER table msgs CHANGE mail_id mail_id varbinary(12);
ALTER table msgs CHANGE secret_id secret_id varbinary(12);
ALTER table msgs CHANGE content content binary(1);
ALTER table msgs CHANGE quar_type quar_type binary(1);
ALTER table msgs CHANGE quar_loc quar_loc binary(255);
ALTER table msgrcpt CHANGE mail_id mail_id varbinary(12);
ALTER table quarantine CHANGE mail_id mail_id varbinary(12);


This looks right, thanks for providing the ALTER commands
for changing varchar into varbinary and char into binary.

This change to a MySQL database is optional and at the moment
not applicable to a more pic

[AMaViS-user] mysql-SQL changes in amavisd-new-2.6.1

2008-06-29 Thread Peter Huetmannsberger

Hi,

I painstakingly followed the changes from previous amavisd-new 
installations to amavisd-new-2.6.0 a while ago.

I couldn't find any list of changes between 2.6.0 and 2.6.1 except what 
was mentioned in the mails on this list. So I sat down and created a diff 
between the READMEs of 2.6.0 and 2.6.1.

The few changes I found were (listed as mysql commands):

ALTER table msgs CHANGE mail_id mail_id varbinary(12);
ALTER table msgs CHANGE secret_id secret_id varbinary(12);
ALTER table msgs CHANGE sid sid integer;
ALTER table msgs CHANGE content content binary(1);
ALTER table msgs CHANGE quar_type quar_type binary(1);
ALTER table msgs CHANGE quar_loc quar_loc binary(255);
ALTER table msgrcpt CHANGE mail_id mail_id varbinary(12);
ALTER table msgrcpt CHANGE rid rid integer;
ALTER table quarantine CHANGE mail_id mail_id varbinary(12);


If anyone has more experience with mysql, or anyone finds a mistake in 
the list above, please let me know.

I hope this is useful for more people than just me.

Thanks as always for a great piece of software,

.peter






-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] Spammy mail milter question

2008-06-02 Thread Peter Huetmannsberger


OK Thanks, I will check this out.

Thanks again,

.peter


On Tue, 3 Jun 2008, Mark Martinec wrote:

> Peter,
>
>> That is excactly the problem. I do not have different levels set for
>> different users. They are all the same, getting their seetings from a
>> mysql db as described in the READMEs.
>>
>> I just looked a the amavisd log, as you suggested. The problem seems to be
>> the penpal function I introduced, when I needed it for the bounce-kill
>> feature. The one who did get the mail had earlier written a
>> mail to the originator of the mail, that was unfortunately declared spam.
>> Thus the person, who got the mail resulted in fewer points (5.1), but
>> that only counted for him and not the other two, their rating created
>> (8.269)
>
> Ah, yes, that explains it.
>
>> What is weird though, is that it gives the same number of points for both
>> cases (bottom of the lof excerpt, where it says "Passed SPAM" and "Blocked
>> SPAM".
>>
>> I guess this is just an unfortunate event, or is there something I can do
>> about this? I have in the meantime thrown out the FUZZY_OCR check, because
>> it doesn't seem to make much difference at the moment, and I might have
>> had the score set too high.
>
> PenPalsSavedFromKill 8.269-3.160,
>  <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>
>
> [...]
> Passed SPAM, AM.PDP-SOCK [62.64.120.200] [85.223.218.20]
>  <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>,
>  ... Hits: 5.109, ...
>
> Blocked SPAM, AM.PDP-SOCK [62.64.120.200] [85.223.218.20]
>  <[EMAIL PROTECTED]> ->
>  <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>,
>  ... Hits: 5.109, ...
>
> The only problem here is a misleading log entry, claiming 'Hits: 5.109'
> for the 'Blocked SPAM' entry for two recipients, even though the
> actual score for those two (no pen pals match) was 8.269.
>
> If you would use per-recipient log (keeping $log_recip_templ at
> its defaut value, not setting it to undef), you would receive
> three log entries, one for each recipient, and the scores would
> be logged individually per recipient.
>
> The more usual $log_templ top-level log entry tries to summarize
> results (e.g. score in this case) across all recipients, and in
> this case reported a minimal score value for all three recipients.
> Admittedly the 'Blocked SPAM' could do better and only summarize
> the score across the two blocked recipients. It seems more work
> than it is worth to get a small improvement there (it would still
> be wrong/misleading if the two recipients obtained different scores
> for some other reasons (soft-whitelisting, their own pen-pals hit, etc).
>
> If per-recipient scores in the log are essential, keep the
> $log_recip_templ enabled, and perhaps disable the $log_templ.
>
>  Mark
>
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
>

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] Spammy mail milter question (fwd)

2008-06-02 Thread Peter Huetmannsberger


Hello Mark,

thank you for your answer:

That is excactly the problem. I do not have different levels set for different 
users. They are all the same, getting their seetings from a mysql db as 
described in the READMEs.

I just looked a the amavisd log, as you suggested. The problem seems to be the 
penpal function I introduced, when I needed it for the bounce-kill feature. The 
one who did get the mail had earlier written a mail to the originator of the 
mail, that was unfortunately declared spam. Thus the person, who got the mail 
resulted in fewer points (5.1), but that only counted for him and not the other 
two, their rating created (8.269)

What is weird though,is that it gives the same number of points for both cases 
(bottom of the lof excerpt, where it says "Passed SPAM" and "Blocked SPAM".

I guess this is just an unfortunate event, or is there something I can do about 
this? I have in the meantime thrown out the FUZZY_OCR check, because it doesn't 
seem to make much difference at the moment, and I might have had the score set 
too high.

Here is the relevant log:

May 22 17:20:43 adamas.recipientdomain.com /usr/sbin/amavisd[29754]: (29754) 
AM.PDP  /var/amavis/tmp/afm4MFKfIj030031: <[EMAIL PROTECTED]
lpro.com.ua> -> 
<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>

May 22 17:20:43 adamas.recipientdomain.com /usr/sbin/amavisd[29754]: (29754) 
Checking: dgoT8Kh49ZB9 AM.PDP-SOCK [62.64.120.200]  -> 
<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>

May 22 17:20:43 adamas.recipientdomain.com /usr/sbin/amavisd[29754]: (29754) 
p005 1 Content-Type: multipart/mixed

May 22 17:20:43 adamas.recipientdomain.com /usr/sbin/amavisd[29754]: (29754) 
p007 1/1 Content-Type: multipart/alternative

May 22 17:20:43 adamas.recipientdomain.com /usr/sbin/amavisd[29754]: (29754) 
p001 1/1/1 Content-Type: text/plain, size: 407 B, name:

May 22 17:20:43 adamas.recipientdomain.com /usr/sbin/amavisd[29754]: (29754) 
p002 1/1/2 Content-Type: text/html, size: 4266 B, name:

May 22 17:20:43 adamas.recipientdomain.com /usr/sbin/amavisd[29754]: (29754) 
p003 1/2 Content-Type: image/jpeg, size: 199719 B, name
: Invoice_2008-82-2_Extermetal.jpg

May 22 17:20:50 adamas.recipientdomain.com /usr/sbin/amavisd[29754]: (29754) 
penpals: bonus 3.160, age 2 9:08:27 (205706), SA score
8.269, <[EMAIL PROTECTED]> replying to <[EMAIL PROTECTED]>, 
ref mail_id: CV++40h2JU8w

May 22 17:20:50 adamas.recipientdomain.com /usr/sbin/amavisd[29754]: (29754) 
penpals: prev Subject: WG: FCR for plates, payment
May 22 17:20:50 adamas.recipientdomain.com /usr/sbin/amavisd[29754]: (29754) 
penpals: this Subject: invoice for shipment on board of
  barge 545, ex 20012

May 22 17:20:50 adamas.recipientdomain.com /usr/sbin/amavisd[29754]: (29754) 
PenPalsSavedFromKill 8.269-3.160, <[EMAIL PROTECTED]
.ua> -> <[EMAIL PROTECTED]>

May 22 17:20:50 adamas.recipientdomain.com /usr/sbin/amavisd[29754]: (29754) 
do_notify_and_quarantine: rec_bl_ccat=(1,1), ccat=(6,0)
  [EMAIL PROTECTED]

May 22 17:20:50 adamas.recipientdomain.com /usr/sbin/amavisd[29754]: (29754) 
SEND via SQL (DBI:mysql:database=mail;host=127.0.0.1;po
rt=3306): <[EMAIL PROTECTED]> -> 
<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>, 
mai
l_id dgoT8Kh49ZB9

May 22 17:20:50 adamas.recipientdomain.com /usr/sbin/amavisd[29754]: (29754)

SPAM, <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]
ahl.com>,<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>, 
Yes, score=8.269-3.16 tag=3 tag2=6 kill=6 tests=[AWL=-4.229, B
AYES_50=0.001, DRUGS_STOCK_MIMEOLE=3.496, FUZZY_OCR=10.000, HTML_MESSAGE=0.001, 
RCVD_IN_DNSWL_LOW=-1], autolearn=spam, quaranti
ne dgoT8Kh49ZB9 (spam-quarantine)

May 22 17:20:50 adamas.recipientdomain.com /usr/sbin/amavisd[29754]: (29754) 
SPAM-TAG, <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]
tahl.com>, No, score=5.109 tagged_above=3 required=6 tests=[AWL=-4.229, 
BAYES_50=0.001, DRUGS_STOCK_MIMEOLE=3.496, FUZZY_OCR=10
.000, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]

May 22 17:20:50 adamas.recipientdomain.com /usr/sbin/amavisd[29754]: (29754)

Passed SPAM, AM.PDP-SOCK [62.64.120.200] [85.223.218.20
] <[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, quarantine: 
dgoT8Kh49ZB9, Queue-ID: m4MFKfIj030031, Message-ID: , mail_id: dgoT8Kh49ZB9, Hits: 5.109, size: 284290, 
6758 ms
May 22 17:20:50 adamas.recipientdomain.com /usr/sbin/amavisd[29754]: (29754)

Blocked SPAM, AM.PDP-SOCK [62.64.120.200] [85.223.218.2
0] <[EMAIL PROTECTED]> -> 
<[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>, quarantine: 
dgoT8Kh49ZB9, Queue-ID:
m4MFKfIj030031, Message-ID: <[EMAIL PROTECTED]>, mail_id: 
dgoT8Kh49ZB9, Hits: 5.109, size: 284290, 6758 ms


In any case, thank you for your help. If you find, I could improve the 
configuration, please let me know.

All the best

Peter Huetmannsberger, RHCE

[AMaViS-user] Spammy mail milter question

2008-05-29 Thread Peter Huetmannsberger

Hi,

for teh first time in years, I have had a problem with amavisd, which may 
well be my fault to begin with.

A customer received a mail from a colleague in the Ukraine, who sent the 
mail in CC to two more recipients. The mail was categorized as Spam, got 5 
points and thus was marked as SPAM in the Subject line, and 
delivered to the recipient.

However the two people who were supposed to get the mail in CC, did not.

I am wondering if that is normal behaviour, and if so, if thereis anything 
I can do to change this. I would rather have the mail delivered to all the 
recipients. Using amavisd-new-2.6.0 and amavisd-milter-1.3.1


Logs below (email addresse changed):





I found this in the logfile:

May 22 17:20:43 adamas sendmail[30031]: m4MFKfIj030031: 
from=<[EMAIL PROTECTED]>, size=276585, class=0, nrcpts=3,
msgid=<[EMAIL PROTECTED]>, proto=ESMTP, daemon=MTA, 
relay=relay01.kiev.sovam.com [62.64.120.200]

May 22 17:20:50 adamas sendmail[30031]: m4MFKfIj030031: Milter delete: 
rcpt <[EMAIL PROTECTED]>
May 22 17:20:50 adamas sendmail[30031]: m4MFKfIj030031: Milter delete: 
rcpt <[EMAIL PROTECTED]>


May 22 17:20:50 adamas sendmail[30031]: m4MFKfIj030031: Milter change: 
header subject: from invoice for shipment on board of barge 545, ex 20012 
to
SPAMinvoice for shipment on board of barge 545, ex 20012


May 22 17:20:50 adamas sendmail[30031]: m4MFKfIj030031: Milter insert (0): 
header: X-Amavis-PenPals: age 2 9:08:27
May 22 17:20:50 adamas sendmail[30031]: m4MFKfIj030031: Milter insert (0): 
header: X-Spam-Status: No, score=5.109 tagged_above=3 required=6
tests=[AWL=-4.229,\n\tBAYES_50=0.001, DRUGS_STOCK_MIMEOLE=3.496, 
FUZZY_OCR=10.000,\n\tHTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
May 22 17:20:50 adamas sendmail[30031]: m4MFKfIj030031: Milter insert (0): 
header: X-Spam-Level: *
May 22 17:20:50 adamas sendmail[30031]: m4MFKfIj030031: Milter insert (0): 
header: X-Spam-Score: 5.109
May 22 17:20:50 adamas sendmail[30031]: m4MFKfIj030031: Milter insert (0): 
header: X-Spam-Flag: NO
May 22 17:20:50 adamas sendmail[30031]: m4MFKfIj030031: Milter insert (0): 
header: X-Virus-Scanned: amavisd-new at exterstahl.com
May 22 17:20:50 adamas sendmail[30031]: m4MFKfIj030031: Milter insert (0): 
header: X-Quarantine-ID: 



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] Is this a bug? AUTH policy with AM.PDP

2008-01-10 Thread Peter Huetmannsberger


Thank you!

Now it works flawlessly. 

All the best, 

.peter






On Thu, 10 Jan 2008, Mark Martinec wrote:

> Could you please try the following patch:
> 
> --- amavisd~  Wed Dec 12 12:28:26 2007
> +++ amavisd   Thu Jan 10 14:51:53 2008
> @@ -13164,5 +13164,5 @@
>  for my $bank_name (@$bank_names_ref) {  # additional banks from the 
> request
>if (defined $policy_bank{$bank_name})
> -{ Amavis::load_policy_bank($bank_name); $policy_changed = 1 }
> +{ Amavis::load_policy_bank(untaint($bank_name)); $policy_changed = 1 
> }
>  }
>  my($sender) = $msginfo->sender;
> 
> 
> 
> Mark
> 
> 
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> ___
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
> 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] Is this a bug? AUTH policy with AM.PDP

2008-01-10 Thread Peter Huetmannsberger

Hello Mark, 

thank you for your reply.

> How do you load this policy bank? Through a "policy_bank=..." attribute
> in AM.PDP request?

No, the following is the only change in amavisd.conf, which leads to the 
error message. (but it works, apart from the sql part) 

$policy_bank{'SMTP_AUTH'} = {
   originating => 1,
   bypass_banned_checks_maps => [1],
   bypass_spam_checks_maps => [1],
   os_fingerprint_method => undef,
};


The policy works, i.e. authenticated users do not get spamchecked (Hits: - 
), same as with MYNETS policy. 

But I get the mysql error. I all works fine, if I do not use mysql. 


> This is a side effect of a previous error.
> 
> > Jan  7 23:12:07 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313)
> > (!)WARN save_info_preliminary: sql exec: err=, , Insecure dependency in
> > parameter 2 of DBI::st=HASH(0xad9e7b0)->bind_param method call while running
> > with -T switch at (eval 77) line 167,  line 13.   
> 
> I see. This is the root of a problem.
> 
> Which version of Perl is that?



Name: perl
Version : 5.8.8   
Release : 10.el5_0.2
Vendor: CentOS

Hope this helps to find a cure!

Many thanks again, 

.peter



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] SQL Error with AUTH AM.PDP

2008-01-10 Thread Peter Huetmannsberger


Hello Mark, hello Petr, hello list. 

A few days agao I came across this problem. I am afraidI am stuck, having 
looked through the READMES the archive and googled the problem. There 
doesn't seem to be a solution, that works for me. 

Any help or direction would be appreciated. 

Many thanks in advance.

I am running this on mysql-5.0.22 on a CentOS5 
Server. perl-DBD-MySQL-3.0007, amavisd-new-2.5.3, amavisd-milter-1.3.1, 
sendmail-8.13.8.

If it would help to have the debug_level at 5, I can provie that log as 
well. 

Many, many thanks

.peter (not a perl-wiz)


> 
> Here's the relevant part of the log: 
> 
> Jan  7 23:12:07 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) loaded 
> policy bank "SMTP_AUTH" over "AM.PDP-SOCK"
> Jan  7 23:12:07 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
> save_info_preliminary: rollback done
> Jan  7 23:12:07 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
> (!)WARN save_info_preliminary: sql exec: err=, , Insecure dependency in 
> parameter 2 of DBI::st=HASH(0xad9e7b0)->bind_param method call while running 
> with -T switch at (eval 77) line 167,  line 13.

> Jan  7 23:12:15 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
> (!!)ERROR sql_storage: too many retries on storing preliminary, info not saved
> Jan  7 23:12:15 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
> Checking: nnxmHSsX+BJm AM.PDP-SOCK/SMTP_AUTH [91.112.38.98] <[EMAIL 
> PROTECTED]> -> <[EMAIL PROTECTED]>
> Jan  7 23:12:15 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) p001 1 
> Content-Type: text/plain, size: 10 B, name: 
> Jan  7 23:12:17 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) Passed 
> CLEAN, AM.PDP-SOCK/SMTP_AUTH LOCAL [91.112.38.98] [91.112.38.98] <[EMAIL 
> PROTECTED]> -> <[EMAIL PROTECTED]>, Queue-ID: m07MC7ro006315, Message-ID: 
> <[EMAIL PROTECTED]>, mail_id: nnxmHSsX+BJm, Hits: -, size: 574, 9211 ms
> Jan  7 23:12:17 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
> save_info_final: rollback done
> Jan  7 23:12:25 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
> (!)WARN save_info_final: sql exec: err=1452, S1000, DBD::mysql::st execute 
> failed: Cannot add or update a child row: a foreign key constraint fails 
> (`mail/msgrcpt`, CONSTRAINT `msgrcpt_ibfk_2` FOREIGN KEY (`mail_id`) 
> REFERENCES `msgs` (`mail_id`) ON DELETE CASCADE) at (eval 77) line 169.
> Jan  7 23:12:25 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
> (!!)ERROR sql_storage: too many retries on storing final, info not saved
> Jan  7 23:12:25 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) mail 
> checking ended: version_server=2\nsetreply=250 2.5.0 
> Ok,%20id=06313,%20continue%20delivery\ninsheader=0 X-Virus-Scanned 
> amavisd-new%20at%20violine.at\nreturn_value=continue\nexit_code=0
> Jan  7 23:12:25 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) TIMING 
> [total 17244 ms] - got data: 0 (0%)0, sql-connect: 14 (0%)0, lookup_sql: 2 
> (0%)0, check_init: 1 (0%)0, digest_hdr: 1 (0%)0, digest_body: 0 (0%)0, 
> sql-enter: 8021 (47%)47, mkdir parts: 1 (0%)47, mime_decode: 11 (0%)47, 
> get-file-type1: 31 (0%)47, decompose_part: 2 (0%)47, parts_decode: 0 (0%)47, 
> check_header: 2 (0%)47, AV-scan-1: 3 (0%)47, AV-scan-2: 1103 (6%)53, 
> update_cache: 3 (0%)53, decide_mail_destiny: 2 (0%)53, prepare-dsn: 4 (0%)53, 
> main_log_entry: 11 (0%)53, sql-update: 8027 (47%)100, update_snmp: 2 (0%)100, 
> rundown: 2 (0%)100
> 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] SQL Error with AUTH AM.PDP

2008-01-07 Thread Peter Huetmannsberger

Hi again, 

I forgot to mention, that I am running this on mysql-5.0.22 on a CentOS5 
Server. perl-DBD-MySQL-3.0007, amavisd-new-2.5.3, amavisd-milter-1.3.1, 
sendmail-8.13.8

Here's the complete log: (I hope this doesn't bother anyone) Thanks, 
.peter


Jan  7 23:12:07 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) loaded 
policy bank "SMTP_AUTH" over "AM.PDP-SOCK"
Jan  7 23:12:07 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
save_info_preliminary: rollback done
Jan  7 23:12:07 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) (!)WARN 
save_info_preliminary: sql exec: err=, , Insecure dependency in parameter 2 of 
DBI::st=HASH(0xad9e7b0)->bind_param method call while running with -T switch at 
(eval 77) line 167,  line 13.
Jan  7 23:12:07 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
sql_storage: retrying preliminary, 4 attempts remain
Jan  7 23:12:10 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
save_info_preliminary: rollback done
Jan  7 23:12:10 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) (!)WARN 
save_info_preliminary: sql exec: err=, , Insecure dependency in parameter 2 of 
DBI::st=HASH(0xad9e7b0)->bind_param method call while running with -T switch at 
(eval 77) line 167.
Jan  7 23:12:10 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
sql_storage: retrying preliminary, 3 attempts remain
Jan  7 23:12:12 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
save_info_preliminary: rollback done
Jan  7 23:12:12 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) (!)WARN 
save_info_preliminary: sql exec: err=, , Insecure dependency in parameter 2 of 
DBI::st=HASH(0xad9e7b0)->bind_param method call while running with -T switch at 
(eval 77) line 167.
Jan  7 23:12:12 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
sql_storage: retrying preliminary, 2 attempts remain
Jan  7 23:12:13 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
save_info_preliminary: rollback done
Jan  7 23:12:13 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) (!)WARN 
save_info_preliminary: sql exec: err=, , Insecure dependency in parameter 2 of 
DBI::st=HASH(0xad9e7b0)->bind_param method call while running with -T switch at 
(eval 77) line 167.
Jan  7 23:12:13 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
sql_storage: retrying preliminary, 1 attempts remain
Jan  7 23:12:15 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
save_info_preliminary: rollback done
Jan  7 23:12:15 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) (!)WARN 
save_info_preliminary: sql exec: err=, , Insecure dependency in parameter 2 of 
DBI::st=HASH(0xad9e7b0)->bind_param method call while running with -T switch at 
(eval 77) line 167.
Jan  7 23:12:15 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
(!!)ERROR sql_storage: too many retries on storing preliminary, info not saved
Jan  7 23:12:15 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
Checking: nnxmHSsX+BJm AM.PDP-SOCK/SMTP_AUTH [91.112.38.98] <[EMAIL PROTECTED]> 
-> <[EMAIL PROTECTED]>
Jan  7 23:12:15 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) p001 1 
Content-Type: text/plain, size: 10 B, name: 
Jan  7 23:12:17 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) Passed 
CLEAN, AM.PDP-SOCK/SMTP_AUTH LOCAL [91.112.38.98] [91.112.38.98] <[EMAIL 
PROTECTED]> -> <[EMAIL PROTECTED]>, Queue-ID: m07MC7ro006315, Message-ID: 
<[EMAIL PROTECTED]>, mail_id: nnxmHSsX+BJm, Hits: -, size: 574, 9211 ms
Jan  7 23:12:17 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
save_info_final: rollback done
Jan  7 23:12:17 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) (!)WARN 
save_info_final: sql exec: err=1452, S1000, DBD::mysql::st execute failed: 
Cannot add or update a child row: a foreign key constraint fails 
(`mail/msgrcpt`, CONSTRAINT `msgrcpt_ibfk_2` FOREIGN KEY (`mail_id`) REFERENCES 
`msgs` (`mail_id`) ON DELETE CASCADE) at (eval 77) line 169.
Jan  7 23:12:17 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
sql_storage: retrying on final, 4 attempts remain
Jan  7 23:12:20 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
save_info_final: rollback done
Jan  7 23:12:20 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) (!)WARN 
save_info_final: sql exec: err=1452, S1000, DBD::mysql::st execute failed: 
Cannot add or update a child row: a foreign key constraint fails 
(`mail/msgrcpt`, CONSTRAINT `msgrcpt_ibfk_2` FOREIGN KEY (`mail_id`) REFERENCES 
`msgs` (`mail_id`) ON DELETE CASCADE) at (eval 77) line 169.
Jan  7 23:12:20 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
sql_storage: retrying on final, 3 attempts remain
Jan  7 23:12:21 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) 
save_info_final: rollback done
Jan  7 23:12:21 george3.eliot.priv.at /usr/sbin/amavisd[6313]: (06313) (!)WARN 
save_info_final: sql exec: err=1452, S1000, DBD::mysql::st execute failed: 
Cannot add or update a child row: a foreign key constraint fails 
(`mail/

[AMaViS-user] Is this a bug? AUTH policy with AM.PDP

2008-01-07 Thread Peter Huetmannsberger


or did I miss something?

I am running sendmail with Petr Rehor's amavisd-milter and on this new 
machine I am storing spam and the rest in a mysql database. 

If I add the following to amavisd.conf: 


$policy_bank{'SMTP_AUTH'} = {   
originating => 1,
bypass_banned_checks_maps => [1], 
bypass_spam_checks_maps => [1],
os_fingerprint_method => undef,
};


I get the following result. 

policy "MYNETS", which is basically the same works fine. Or do I need to 
change something in the mysql table setup in order to make it work. 

Many thanks. I have had very little trouble with amavisd-new, and I am 
very happy with it indeed!!!


Jan  7 22:21:43 george3.eliot.priv.at /usr/sbin/amavisd[5503]: (05503) 
loaded policy bank "SMTP_AUTH" over "AM.PDP-SOCK"


Jan  7 22:21:54 george3.eliot.priv.at /usr/sbin/amavisd[5503]: (05503) 
(!)WARN save_info_final: sql exec: err=1452, 23000, DBD::mysql::st execute 
failed: Cannot add or update a child row: a foreign key constraint fails 
(`mail/msgrcpt`, CONSTRAINT `msgrcpt_ibfk_2` FOREIGN KEY (`mail_id`) 
REFERENCES `msgs` (`mail_id`) ON DELETE CASCADE) at (eval 77) line 169.




Jan  7 22:21:52 george3.eliot.priv.at /usr/sbin/amavisd[5503]: (05503) 
Passed CLEAN, AM.PDP-SOCK/SMTP_AUTH LOCAL [91.112.38.98] [91.112.38.98] 
<[EMAIL PROTECTED]> -> <[EMAIL PROTECTED]>, Queue-ID: 
m07LLgvd005505, Message-ID: 
<[EMAIL PROTECTED]>, mail_id: 
UpojbeP1dLHD, Hits: -, size: 574, 9174 ms


Many thanks for your help, 

.peter



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] SPEC File for amavisd-milter-1.3.1

2007-12-13 Thread Peter Huetmannsberger

Hi again, 

as the message including the SRPM was to big to get forwarded, here comes 
the spec file only. 

Hope this helps

.peter# $Id:  amavisd-milter 0001 2007-11-17 hp $
# Authority: pr
# Upstream: Petr Rehor <[EMAIL PROTECTED]>

Summary: an alternative milter for use with amavisd, which allows policies
Name: amavisd-milter
Version: 1.3.1
Release: 1 
License: GPL
Group: System Environment/Base
Source0: %{name}-%{version}.tar.gz
URL: http://jartrepo.violine.at/

BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root




%description
The amavisd-milter is a sendmail milter (mail filter) for amavisd-new
2.4.3 and above and sendmail 8.13 and above (limited support for 8.12 is
provided).

Instead of older amavis-milter helper program, full amavisd-new function-
ality is available, including adding spam and virus information header
fields, modifying Subject, adding address extensions and removing certain
recipients from delivery while delivering the same message to the rest.

For more informations you can visit amavisd-milter website:

   http://amavisd-milter.sourceforge.net/

and SourceForge project:

   http://sourceforge.net/projects/amavisd-milter



%prep
%setup -q

%build
%configure
make


%install
rm -rf $RPM_BUILD_ROOT
%makeinstall



%clean
%{__rm} -rf %{buildroot}

%post

%files
%defattr(-, root, root, 0755)
/usr/sbin/amavisd-milter
/usr/share/man/man8/amavisd-milter.8.gz





%changelog

* Wed Dec 12 2007 Peter Huetmannsberger <[EMAIL PROTECTED]>
- first try  
-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

[AMaViS-user] SPEC File for amavisd-milter-1.3.1

2007-12-12 Thread Peter Huetmannsberger

Hi, 

I have been playing around with rpmbuild for a little, and created a spec 
file for Pitr's amavisd-milter-1.3.1. If anyone wants it, and it is not 
too far OT I could post it here. Works for all RedHat based systems. 

All the best, 

.peter

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] logfile analysis script

2007-11-07 Thread Peter Huetmannsberger


Hi, 

I tried to find this parselog perl set (described in a mai in January) but 
to no avail. 

I am not too happy with mailgraph. I guess I am spoiled by amavis-stats. 
However that doesn't work with pühp5 anymore, so I am looking for an 
alternative. 

Does anyone have those parselog scripts for amavis.log I am not a perl 
programmer, so I am a bit stuck. 

I'd really like to just integrate it in mrtg and found some scripts. The 
parsing script wnats spamd logfiles though, so I thought it must be 
possible to deliver the right numbers by parsing the amavis.log, but as I 
said, I am not a perl programmer. 

Has anyone gotten that to work with mrtg?

Thanks, 

.peter




On Sat, 6 Jan 2007, Vincent Li wrote:

> On Sat, 6 Jan 2007, Matt Herzog wrote:
> 
> > Hi All.
> >
> > I'm really pleased with amavis-new but a new requirement has popped up:
> > getting stats. I have failed to get parselog to work for me and I'm not
> > a Perl programmer so I'm wondering if anyone has a working script that
> > can gather stats on Postfix, pyzor, razor, ClamAV and friends.
> >
> 
> I tried parselog on my amavisd-new-2.3.3 log, made a trivial change on 
> the parselog-0.09/lib/Log/Parse.pm to match the amaivsd-new 2.3.3 log 
> line. it  works.
> 
> --- /usr/src/parselog-0.09/lib/Log/Parse.pm 2005-07-07 06:52:49.0 
> -0700
> +++ /usr/lib/perl5/site_perl/5.8.5/Log/Parse.pm 2007-01-06 13:04:33.57136 
> -0800
> 
> -if  ($args{line} !~ m/(.*?) amavis.*?\[.*?\]: (.*?), <.*?> -> 
> <.*?@(.*?)>,/) {
> +if  ($args{line} !~ m/(.*?) amavis.*?\[.*?\]: (.*?) <.*?> -> 
> <.*?@(.*?)>,/) {
>   return;
>   }
> 
> Your amavis log line pattern may vary,  just slightly change the 
> relevant amavis regex match pattern in Parse.pm should work
> 
> Vincent Li
> http://bl0g.blogdns.com
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
> -
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Re: [AMaViS-user] ANNOUNCE: amavisd-milter-1.3.0

2007-09-02 Thread Peter Huetmannsberger


Hello, 

many, many thanks for this feature, it is excactly what I have been 
looking for in the past. 

I have added this to my amavisd.conf file 

$policy_bank{'SMTP_AUTH'} = {   
  originating => 1,  
  bypass_banned_checks_maps => [1],  
  bypass_spam_checks_maps => [1],
  os_fingerprint_method => undef,  # don't query p0f for internal clients
};

I am just wondering if this is the correct way to do that, or if this 
might be overkill. I do not want to have mails from authenticated users 
checked for spam, and they should be allowed to send attachments. I don't 
excactly know what the "originating" stands for?

Again, great program, I am very pleased!

Many thanks, 

.peter





On Sun, 2 Sep 2007, Petr Rehor wrote:

> New features:
> - Implemented AM.PDP request attribute policy_bank (amavisd-new 2.5.0
> or higher is required). Currently SMTP_AUTH, SMTP_AUTH_ and
> SMTP_AUTH_ policy bank names are sent when the remote
> client is authenticated.
> 
> - Added new amavisd-milter option -D client|server which allow
> personalized header or body modifications.
> 
> Bug fixies:
> - fixed bug when amavisd communication buffer is growing.
> 
> Compatibility:
> - properly get queue id when amavisd-milter is used with postfix.
> 
> Performance:
> - improved performance under heavy load.
> 
> P.
> 
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
> 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] Spam complements

2007-07-03 Thread Peter Huetmannsberger

I've been using the SARE rulesets, and gocr to catch more spam. 
Haven't got the URL's handy right now, but you should be able to find them 
with google. 

HTH

.peter


On Tue, 3 Jul 2007, Iván Chavero wrote:

> Hello,
> 
> I've been using amavisd-new with spamassassin for quite a while now, i 
> want to know if there are other spam filters that i could add to 
> amavisd-new to complement the work that SA does or if there are any 
> resources where i can find ways to optimize the SA filtering.
> 
> Thanks
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
> -
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Re: [AMaViS-user] (OT) freshclam error

2007-06-28 Thread Peter Huetmannsberger


Hi, 

it is telling you that you have a permission problem. In the 
/etc/freshclam.conf file there is a parameter: 

DatabaseOwner amavis

Default is user clamav. Depending on who is calling freshclam, you need to 
have the same owner set in this conf file. 

Also make sure that the logfile /var/log/clamav/freshclam.log is writeable 
by that user. And in your case /var/lib/clamav as well. 

Hope this helps, 

.peter


On Fri, 29 Jun 2007, Jim Knuth wrote:

> Hallo und Guten Morgen AMaViS-user,
> 
> I use amavisd-new-2.5.2 (20070627) and clamav 0.90.3 and get this
> in my logfile:
> 
> tail -f /var/log/clamav/freshclam.log
> ClamAV update process started at Thu Jun 28 23:42:51 2007
> main.inc is up to date (version: 43, sigs: 104500, f-level: 14, builder: sven)
> ERROR: getfile: Can't create new file 
> ./clamav-42df18babdbd4f4571b7ecb22fb3309c in /var/lib/clamav/daily.inc
> Hint: The database directory must be writable for UID 108 or GID 108
> ERROR: getpatch: Can't download daily-3518.cdiff from db.local.clamav.net
> WARNING: Incremental update failed, trying to download daily.cvd
> ERROR: getfile: Can't create new file 
> ./clamav-2b1f515d40dc735a28b16b9b88b82e78 in /var/lib/clamav
> Hint: The database directory must be writable for UID 108 or GID 108
> ERROR: Can't download daily.cvd from db.local.clamav.net
> 
> UID 108 is clamav
> 
> id amavis
> uid=105(amavis) gid=109(amavis) Gruppen=109(amavis),108(clamav)
> 
> What am I missing? Thanks in advance.
> 
> 
> 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] TROUBLE in check_mail

2007-06-28 Thread Peter Huetmannsberger

Hi Marc, 

thank you. Again you were right. RPM told me I had 5.420 installed. 
Amavisd found an older version, which I had installed by hand a long time 
ago. Comes from messy administration!

All's fine now, 

.peter



> Are you sure that amavisd finds this version? Check its log at startup
> (or start with 'amavisd debug' and abort after few screenfuls),
> check for:
> 
>   amavis[62710]: Module MIME::Entity5.420
>   amavis[62710]: Module MIME::Parser5.420
>   amavis[62710]: Module MIME::Tools 5.420
> 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] TROUBLE in check_mail

2007-06-27 Thread Peter Huetmannsberger

Hi, 

TROUBLE in check_mail: mime_decode-1 FAILED: Can't locate object method 
"max_parts" via package "MIME::Parser" at /usr/sbin/amavisd line 5933, 
 line 17.

This is using anything higher than amavisd-new.2.4.3

As sson as I update to 2.4.4 this problem appears. 

My perl-MIME-tools is 5.420

perl is 5.8.3

OS is FC1 

I have tried amavisd-new-2.5.1 and the result is the same. 

Does anyone have a hint, what might be the problem. 

Thanks, 

.peter


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] Subject_tag with AM.PDP

2007-06-27 Thread Peter Huetmannsberger


> Ok, so @local_domains_maps is correct.
> The 'X-Spam-Status: No' tells that spam score was below tag2 level
> (where subject modifications start), and above tag level (which
> enables adding X-Spam-* header fileds). Si in this case it was
> normal that subject was not modified.

Thanks again, 

I had the tag2_level and the kill_level set at the same number, which made 
it impossible to get a mail with an altered subject line. It does work 
quite well, thanks again. 

Are there any recommendations at what level one should set the tag2_level 
in relation to the cut-off level. I have had a very strict setting of 5.5 
for both of these, but the number of false positives had increased to an 
unbearable level for the users. Maybe 2-3 a week. 

My next step is to try the sql quarantine and then MailZu, so the users 
can take care of the problem themselves. Hopefully!

Thanks, 

.peter

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] Subject_tag with AM.PDP

2007-06-27 Thread Peter Huetmannsberger


Hello Marc, 

thank you for your answer. 
> 
> Yes, I believe it should work.
> Make sure the recipient is local - @local_domains_maps must
> be configured correctly.
> 
> Do you get X-Spam-* header fields inserted? If yes, the @local_domains_maps
> is probably correct. If no, then Subject is not modified for the same
> reason as X-Spam-* headers are not inserted: recipient not considered local.


I do get the header inserts done: 

Return-Path: <[EMAIL PROTECTED]>
X-Virus-Scanned: amavisd-new at test.bruckneruni.at
X-Spam-Flag: NO
X-Spam-Score: 2.899
X-Spam-Level: **
X-Spam-Status: No, score=2.899 tagged_above=2 required=6.31
tests=[TVD_SPACE_RATIO=2.899]



However the subject does not change, even after changing it to the 
oneliner you have sent. 

>   $sa_spam_subject_tag = ' SPAM ';

> The sample-spam-GTUBE-junk.txt test message contains a GTUBE
> test pattern, which should score very highly by SA,
> see  http://spamassassin.apache.org/gtube/

I have tried the GTUBE message, and it catches it right away. However it 
is way above my cutoff level, thus notchanging the subject. However the 
above message should show up in the Subject, as it does in the headers, 
right?

Greetings and thanks, 

.peter

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] Subject_tag with AM.PDP

2007-06-27 Thread Peter Huetmannsberger

Hi, 

is it possible to modify the subject at all, using sendmail-milter with 
AM.PDP. 

I setup a test system using the new amavisd-milter and AM.PDP seems to 
work quite well. However I don't seem to manage to haveth esubject 
changed. 

Relevant entries in amavisd.conf look like this: 

$undecipherable_subject_tag = '***UNCHECKED*** ';
$sa_spam_subject_tag = undef;
$sa_spam_level_char = '*';
$sa_spam_modifies_subj = 1;
@spam_modifies_subj_maps= (\$sa_spam_modifies_subj);
@spam_subject_tag_maps  = (\$sa_spam_subject_tag1); # N.B.: inconsistent 
name
@spam_subject_tag2_maps = (\$sa_spam_subject_tag);  # N.B.: inconsistent 
name
@spam_subject_tag3_maps = ();

%subject_tag_maps_by_ccat = (
  CC_VIRUS,  [ '***INFECTED*** ' ],
  CC_BANNED, undef,
  CC_UNCHECKED,  sub { [ c('undecipherable_subject_tag') ] }, # not 
by-recip
  CC_SPAM,   [ ' SPAM ' ],
  CC_SPAMMY.',1',sub { ca('spam_subject_tag3_maps') },
  CC_SPAMMY, sub { ca('spam_subject_tag2_maps') },
  CC_CLEAN.',1', sub { ca('spam_subject_tag_maps') },
);

Is there anything else I need to change, possibly in connection with 
spamassassin, or ddo I need to define a poliyc that is relevant for all 
mails going through?

I tried to find out by reading the various readme'S but I must be too 
stupid to find out for myself. 

OT: How do you test spam, other than sending the included sample-spam. Is 
there aservice ( ;) ) one could subscribe to to actually get real spam. I 
would raher test everything on my testmachine first than change my 
production servers. 

Many thanks in advance, 

.peter

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] Clamd-90.3 acting strangely

2007-06-05 Thread Peter Huetmannsberger

Thanks you for all your comments, at least I know now, I haven't gone 
compeletly gaga. 

I don't know, in fact I don't think it has anything to do with reading the 
signature files. I had the log open, when it said 

Tue Jun  5 09:07:09 2007 -> Reading databases from /var/clamav
Tue Jun  5 09:07:27 2007 -> Loaded 242529 signatures.
Tue Jun  5 09:07:27 2007 -> Unix socket file /var/run/clamav/clamd


But there was no socket. It only appeared much later. 1-2 min, and 
nothing was written in the logs then. 

Strange, indeed.

.peter





On Tue, 5 Jun 2007, Gary V wrote:

> Michael wrote:
> 
> >>
> >> Am Dienstag, den 05.06.2007, 09:34 +0200 schrieb Peter 
> >> Huetmannsberger:
> >> 
> >> yes, the same here on debian etch. Seems clamd now needs very 
> >> long time to read the signature database.
> >> 
> 
> > Same on Freebsd, 5.5
> 
> Hmm. I also run etch on P4 2.0:
> 
> Tue Jun  5 09:46:37 2007 -> clamd daemon 0.90.3 (OS: linux-gnu, ARCH: i386, 
> CPU: i486)
> Tue Jun  5 09:46:37 2007 -> Log file size limit disabled.
> Tue Jun  5 09:46:37 2007 -> Reading databases from /var/lib/clamav
> Tue Jun  5 09:47:01 2007 -> Loaded 141660 signatures.
> Tue Jun  5 09:47:01 2007 -> Unix socket file /var/run/clamav/clamd.ctl
> 
> Takes a while, but my machine is not powerful.
> 
> It takes clamscan 24 seconds (to scan one chosen file) which does
> seem slower than I previously remember (maybe 6 to 12 seconds).
> Removing MSRBL etc. did not make a difference.
> 
> clamdscan takes between 14 and 24ms.
> 
> Gary V
> 
> 
> 
> -
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ___
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
> 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] Clamd-90.3 acting strangely

2007-06-05 Thread Peter Huetmannsberger

Hi, 

just wondering, 

I have updated clamd on all my machines, mostly running RH9 to RHEL4 and 
CentOS4, and after the update clamd does not create the socket 
immediately. It seems to take up to three minutes, before it decides to 
create a socket, at whatever the location. After that it is fine. 

Clamd is running as amavis, and it has worked up until now, without a 
problem. It is not as far as I can tell a permission problem, as it has 
always worked up to clamd-90.2

Does anyone else have this experience?

thanks, 

.peter

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] Exceptions for spamcheck sendmail

2007-05-29 Thread Peter Huetmannsberger


Hi, 

I am using the sendmail-milter setup for amavisd.new, and have been VERY 
happy with it, so far. 

I would like to know, if any of you using the sendmail-milter setup have 
found a way to make an exception for spamfiltering, when mails come from a 
certain Iaddress. 

i.e. we have a setup where mails coming from the exchange server should 
not be checked for spam, all others should be checked. 

Any hints would help, 

MAny thanks, 

.peter 

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] Updating ClamAV

2007-02-20 Thread Peter Huetmannsberger

Hi, 

I face the same situation (still running RH9 on some machines)

I just download a source RPM from the DAG repos. and install it from 
there. If you need help with that, let me know offlist.

All the best, 

.peter




On Wed, 14 Feb 2007, [EMAIL PROTECTED] wrote:

> 
> Hi,
> 
> I have amavisd-new + postfix + spamassassin + clamav on fedora core2.I  
> had installed clamav from rpm. I face the problem of updating the  
> antivirus clamav whenever there is a new release( I have 0.88.7  
> running ) since clamav's rpms are not immediately available for fedora  
> core 2. I don't know how to get around this problem . Installing from  
> source etc is an alternative but the problem is that I am running it  
> on a production server and messing around with the live server can be  
> problematic.
> 
> I do not know whether I should be posting this question on the list .  
> Would be happy If anybody can help me out with this.
> 
> Thanks in advance.
> 
> -Admin
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
> 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] Updating ClamAV

2007-02-14 Thread Peter Huetmannsberger


Hi, 

I face the same situation (still running RH9 on some machines)

I just download a source RPM from the DAG repos. and install it from 
there. If you need help with that, let me know offlist.

All the best, 

.peter




On Wed, 14 Feb 2007, [EMAIL PROTECTED] wrote:

> 
> Hi,
> 
> I have amavisd-new + postfix + spamassassin + clamav on fedora core2.I  
> had installed clamav from rpm. I face the problem of updating the  
> antivirus clamav whenever there is a new release( I have 0.88.7  
> running ) since clamav's rpms are not immediately available for fedora  
> core 2. I don't know how to get around this problem . Installing from  
> source etc is an alternative but the problem is that I am running it  
> on a production server and messing around with the live server can be  
> problematic.
> 
> I do not know whether I should be posting this question on the list .  
> Would be happy If anybody can help me out with this.
> 
> Thanks in advance.
> 
> -Admin
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
> 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] Exclude authenticated Users withw Sendmail

2006-12-11 Thread Peter Huetmannsberger

Hi Mark, 

thank you for your answer, and your great program!

In any case, I am using the milter setup, using the old amavis-milter.c 
helper program, but if it resolves the issue, I will change to the 
new milter from Petr. 

Is there a howto for the new milter setup? Would it be a big change on 
your part to make it possible?

I'll be gone for a few days, but I am willing to test this setup after 
Dec. 18th, when I am back again. 

Again, many many thanks for your help. 

All the best 

.peter

On Mon, 11 Dec 2006, Mark Martinec wrote:

> Peter,
> 
> > I have a bit of a problem here. Many of my mailusers are using a provider,
> > whose dynamic addresses seem to be blocked by sorbs and other such places.
> > I have them connect to my mailserver with sasl authentication, so I was
> > wondering if there is a way to bypass spamfiltering for authenticated
> > users.
> > I have read through various FAQs, but as I am running sendmail milter
> > setup, I could not find anything, that would help me.
> 
> Are you using a dual-MTA setup or a milter setup?
> My sendmail knowledge is rather rudimentary, so here is just a general idea.
> 
> In a dual-MTA setup, you could have two MAILERs, each feeding mail
> to amavisd on a different TCP port (or even directly to MTA-TX).
> Then somehow configure sendmail to forward on one MAILER the
> authenticated mail or mail from inside, and forward with the
> other MAILER all the rest.
> 
> In a milter setup it would be possible to pass additional information
> about authentication from milter helper program to amavisd, assuming
> an AM.PDP protocol were used. Then amavisd could switch policy bank
> based on such information. This is not available off-the-shelf, but
> would be a rather small modification to amavisd.
> 
> > I am afraid, I don't 
> > know postfix well enough to happily change over, so I was wondering if
> > there is a way to do this with my setup.
> 
> The majority of people reading this mailing list is using Postfix,
> so I'm afraid we are in lack of good support for other mailers.
> 
>   Mark
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
> 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] Exclude authenticated Users Dual Sendmail

2006-12-11 Thread Peter Huetmannsberger

Hi, 

I have a bit of a problem here. Many of my mailusers are using a provider, 
whose dynamic addresses seem to be blocked by sorbs and other such places. 
I have them connect to my mailserver with sasl authentication, so I was 
wondering if there is a way to bypass spamfiltering for authenticated 
users. 

I have read through various FAQs, but as I am running sendmail milter 
setup, I could not find anything, that would help me. I am afraid, I don't 
know postfix well enough to happily change over, so I was wondering if 
there is a way to do this with my setup. 

Any help would be appreciated. 

Many thanks, 

.peter

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] OT: amavis-stats on RHEL4 solved.

2006-11-16 Thread Peter Huetmannsberger


Hi, 

I just found out what the problem was. I never realised that it is a 
seperate package (i.e. php-gd) which needs to be installed. I just had gd 
and php installed. Stupid me, sometimes, it is better to get sleep, than 
to desperately try and solve a problem. 

However, I am still curious, if anyone has managed to get awstats to work 
with the amavis.log

Thanks, 

.peter




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] OT: amavis-stats on RHEL4, awstats?

2006-11-16 Thread Peter Huetmannsberger

Hi, 

I realise this is not really an amavis issue, but I thought someone on 
this list might have fought the battle with amavis-stats and rhel4 
already. 

Has anyone gotten amavis-stats.0.1.21 to run on a RHEL4, and if so, could 
you tell me how. 

My other option is to use awstats. Does anyone on this list use awstats 
for spam statistics?

I have used amavis-stats on older systems, and it worked very well. Now I 
have a job to migrate everything to RHEL4 and seem to have no end of 
trouble with that program. The problem seesm to lie with gd and php. I am 
not sure I understand it correctly, but amavis-stats complains about gd 
not being included in the php code. The spec file for php, that comes with 
the source says '--with-gd=shared'. 


I have been trying to rebuild the rpm with '--with-gd' (i.e. without the 
shared, so far unsuccessfully). But maybe I am on the wrong track to begin 
with?

If anyone can help, I would appreciate it very much indeed. 

Thanks a lot, 

.peter


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] amavis ignores spamassassin config file

2006-11-13 Thread Peter Huetmannsberger

Hi, 

you will always have to restart amavisd before it reads in any rules.  

I have a very similar setup and it works well for me. However I did not 
symlink the files, but copied them to /var/amavis/.spamassassin/user_prefs

Hope this helps, 

.peter

On Mon, 13 Nov 2006, Vincent Boucher wrote:

> Hello,
> 
> 
> I've modified the /etc/mail/spamassassin/local.cf to include new rules
> (SARE from rulesemporium) and new scores for the Bayes test.
> 
> Although these rules are used by the spamd daemon launched from
> procmail rules, they are not used by amavis. It causes the following
> problem:
> 
> The spam tagging/quarantine is not efficient: some spams not
> tagged/quarantined by spamassassin, through amavis, are later tagged
> as spam by spamassassin, through procmail. It can be seen with the
> safe_report(=2) of spamassassin/procmail: the report includes an
> embedded message (the spam) with headers added by spamassassin/amavis
> indicating the new rules and scores are not used (to the contrary of
> the embedding message headers).
> 
> 
> I've tried to symbolic link the /etc/mail/spamassassin/local.cf to
> /var/lib/amavis/.spamassassin/local.cf or
> /var/lib/amavis/.spamassassin/user_prefs but it didn't worked. Of
> course I've restarted amavis and spamassassin...
> 
> My config:
> RHEL4
> SpamAssassin 3.0.6 (2005-12-07)
> amavisd-new-2.3.3
> Sendmail 8.13.1
> 
> Thanks,
> 
> Vincent
> 
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
> 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] How can I check up FuzzyOcr

2006-10-29 Thread Peter Huetmannsberger

Hello, 

I think the confusing thing here, is that the debug mode needs to be set 
in amavisd.conf, and it is called log_level

So in amavisd.conf set: 

$log_level = 2;

Then you will have all the applied rules in your logfile, and you can just 
grep for FUZZY_OCR in your maillog, after you have sent the examples 
through your mail system. Or just wait a little, right now there are tons 
of spams just waiting to be scanned with FUZZY_OCR. 

An additional question, 

what is it that triggers the use of FUZZY_OCR? It doesn't seem to be used 
with every mail. Or do I have something wrong in my setup?

Thanks a lot, 

.peter


> 
> > Put it in debug mode (log level 2), and send the samples through that are
> > included with the install files. Most problems come from programs not being
> > in the path Fuzzy assumes they are in. Check the paths of every helper
> > program in the conf file. 
> 
> I do not know whether there are problems. I know only not whether
> it is active. No error messages in debug mode.
> 
> 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] another sa-update question

2006-10-29 Thread Peter Huetmannsberger

Hi,


> > sa-update --nogpg --updatedir /var/amavisd/usr/local/share/spamassassin
> 
> > 'amavisd debug-sa' picks up the rules.  I set the above command to run
> > as cronjob once a week.
> 
> Read the warning:
> http://marc.theaimsgroup.com/?l=spamassassin-users&m=11546111299
> 
> Gary V

thanks for pointing out the warning. I am just wondering if this is still 
the case though. My setup is excactly like the one, which the warning 
warns about, however the sa-update creates its own directory 
"updates_spamassassin_org" with /usr/share/spamassassin, and seemingly 
leaves the old ones alone. 

Has anyone got a reasonable solution to this problem. 

I am also using RulesDuJour, and I do not want to clutter up 
/etc/mail/spamassassin with more rules than necessary. It's bad enough 
with a new *.pre file for every version of SA. 

If I use the /var/lib/spamassassin setup, sa-update creates a directory 
for each version of SA and I would have to move the RulesDuJour rules into 
those everytime I update SA. 

Thanks for any help, 

.peter

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] spam_notify cutoff possible?

2006-10-26 Thread Peter Huetmannsberger

Hi, 

I asked the other day about the statistics, which are rather distorted by 
the spam notification. 

In order to see the real ratio between clean mail and spam, without 
spam_notification I have turned off spamnotification for the time being. 
Howver I would like to keep being notified, and yet have reasonable 
statistics. 

So I was wondering if there is such a thing like 
spam_notification_cutoff_level (like the DSN cutoff) already, or if it is 
possibly to introduce this feature in one of the next releases. 

I don't want t be a pest, but we all know, how well graphical statistics 
are received in the managerial level of any business, and having to 
explain the distortion by spam notification is a hopeless undertaking. ( 
they don't like tech speak, however simple it is).

Just a thought, 

If any one has a simpler solution I would appreciate to hear about it, 
maybe I just missed something. 

Thanks again for a great product, it works so well that sometimes I miss 
receiving spam! If you want to have a laugh, look at: 
http://youtube.com/watch?v=ODshB09FQ8w (Monty Python sketch on Spam, 
before it had anything to do with mail!)

Greetings, 

.peter


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] Amavisd-new Spamassassin sa-updata interaction

2006-10-24 Thread Peter Huetmannsberger

Hi, 

> > /usr/bin/sa-update --updatedir /usr/share/spamassassin/ --gpghomedir \
> > /var/amavis/
> 
> I've been doing this initially, but people on SA list explained
> that this is not a good idea, baseline rules could be lost.
> 
>   Mark

I misunderstood that, and thought the cronjob is not a good idea, which 
left me wondering how else it could be done. Then I realised you are 
talking about the directory. I could not find any howto on the SA website 
about setting up sa-update, and ended up following the instructions on the 
SARE Site, from which I also use the RulesDuJour Script. 

Wondering, 

.peter





-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] Amavisd-new Spamassassin sa-updata interaction

2006-10-23 Thread Peter Huetmannsberger
On Mon, 23 Oct 2006, John wrote:

> Hello list,
> 
> I'm confused on how Amavisd-new and Spamassassin sa-update  interact. There 
> are several previous posts that didn't clear things by me.
> Versions:
> SA 3.1.7
> Amavisd-new 2.3.3
> Should I include the updated rules in /etc/spamassasin/local.cf as mentioned 
> in the SA website?
> include /var/lib/spamassassin/3.001007/updates.spamassassin.org.pre
> include /var/lib/spamassassin/3.001007/updates.spamassassin.org.cf

I am not sure, taht what I do is correct, but then who cares if it works. 

I run a daily cronjob as user amavis with the following command line: 

/usr/bin/sa-update --updatedir /usr/share/spamassassin/ --gpghomedir \
/var/amavis/

You have to make sure that amvais can write in /usr/share/spamassassin, so 
every time you upgrade SA you have to change the permissions manually, but 
that is the least of the problems when upgrading SA. 

Hope this helps, 

.peter

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] OT amavis-stats numbers

2006-10-23 Thread Peter Huetmannsberger

Hmm, 

thank you for your help, but I am afraid, I am still using sendmail with 
the milter setup, so that doesn't do it for me. 

Thanks again, 

.peter


On Mon, 23 Oct 2006, Mark Martinec wrote:

> Peter,
> 
> > This morning it dawned on me, that every rejected spam creates a
> > legitimate (passed clean) mail, i.e. the one sent to the spam-admin
> > notifying me of spam being quarantined.
> > This changes the picture completely and makes the numbers look more than
> > 80% spam and 20 % real mails.
> >
> > My question is therefore. Is there a way to leave the mails form spamalert
> > to spam-police out of the statistics, to create a truer picture of the
> > ratio spam:ham mails?
> 
> Making a hard link to Postfix service smtpd and giving it another name (like 
> smtpd) makes it syslog its reports under a new name. This is half-supported 
> in Postfix, i.e. it works now, but no promises are given for the future.
> 
>   ln /usr/local/libexec/postfix/smtpd /usr/local/libexec/postfix/smtpd2
> 
> Then letting postfix accept mail coming from amavisd
> not with a standard service 'smtpd':
>   10025 inet n - n - - smtpd
> but by specifying an alternative copy of smtpd service (e.g. named smtpd2):
>   10025 inet n - n - - smtpd2
> 
> This will allow checked and passed mail from amavisd, well as
> all notifications, to be logged under smtpd2 service in syslog,
> leaving the rest logged under service smtpd.
> 
>   Mark
> 
> 
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
> 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] OT amavis-stats numbers

2006-10-23 Thread Peter Huetmannsberger

Hello, 

Sorry to ask here, but it seems to be the most appropriate place for it. 

When looking at my statistics I noticed that the number of spams is always 
lower than the number of passed clean emails. I was happy with this fo 
rthe longest time, despite the feeling that something is not quite right, 
because everytime I watch the log with tail -f I just seem to be seeign 
spam mails being rejected. 

This morning it dawned on me, that every rejected spam creates a 
legitimate (passed clean) mail, i.e. the one sent to the spam-admin 
notifying me of spam being quarantined. 

This changes the picture completely and makes the numbers look more than 
80% spam and 20 % real mails. 

My question is therefore. Is there a way to leave the mails form spamalert 
to spam-police out of the statistics, to create a truer picture of the 
ratio spam:ham mails?

I would like to be ablet o keep the spamnotification, even though I 
haven't had false positives in ages. 

Am I just plain stupid, or have I just missed something in the setup. 

Many thanks, 

Peter



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] FuzzyOCR/Amavisd/SA

2006-10-22 Thread Peter Huetmannsberger


What OS are you running, and which version? I just set it up on RH9, and I 
also had the problem, that the testfiles never worked for me. I left the 
config files in the spamassassin directory, and found that it does 
actually work up to some point for me. 

What I did have to install to make it work (except for the tests, which 
don't) was libungif-progs

Hope this helps

.peter


On Thu, 12 Oct 2006, Matthew Kitchin (Usenet/Lists) wrote:

> Does anyone have any tips on getting FuzzyOcr to work properly with 
> Amavisd/SA?
> 
> I'm running amavisd-new-2.4.1 and the latest SA. I followed the instructions 
> for installing FuzzyOcr, and it isn't reporting any errors that I see. 
> Nothing is being written to the FuzzyOcr logfile. The only think I see is 
> this in my mail log:
> Oct 12 11:08:04 smtp1 amavis[21695]: (21695-09) extra modules loaded: 
> /etc/mail/spamassassin/FuzzyOcr.pm, String/Approx.pm
> 
> I've sent the test messages through that should be caught by this, and it 
> doesn't seem to be catching them.
> 
> Any ideas? Sorry if I haven't provided enough detail, but that is about all I 
> can find. No errors anywhere. 
> 
> Thanks,
> Matthew
> 
> 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] Solved: Re: razor2, pyzor, dcc not called

2006-05-26 Thread Peter Huetmannsberger

Thanks Gary, that did the trick. I must have read over this a million 
times, and never saw it.





On Fri, 26 May 2006, Gary V wrote:

> When run with 'amavisd debug-sa':
>
> dbg: config: using "/usr/etc/mail/spamassassin" for site rules pre files
>
> You probably have an empty /usr/etc/mail/spamassassin
> directory. What is in that directory? If there is nothing there,
> remove the directory and try again.
>
> When run from the command line, you got:
> dbg: config: using "/etc/mail/spamassassin" for site rules pre files
>
> If you delete the bogus directory, spamassassin will be forced to look
> elsewhere.
>
> Gary V
>
>
>
> ___
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
>


___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] razor2, pyzor, dcc not called

2006-05-26 Thread Peter Huetmannsberger

> This is evidence the SpamAssassin modules (used to call those external
> programs) are disabled in init.pre or v310.pre as mentioned. Uncomment
> them in order for SpamAssassin to load them.
>
I am running the excact same version from the dag repository on both 
machines. Like I said, the amavisd-new-2.4.1 had to be rebuilt as the 
standard perl for rh9 is too old for that, which is why I built an rpm for 
the newer perl version 5.8.6 (on both machines).

the modules are uncommented on both machines, I guess thw spamassassin -D 
would not load them, if that were not the case (and I checked).

Thanks anyway.

.peter




___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] razor2, pyzor, dcc not called

2006-05-26 Thread Peter Huetmannsberger

> Do you even have a v310.pre file? You need it if you don't.
>
> Debug spamassassin (preferably as the amavisd-new user) and see where
> it looks for the v310.pre file. There must be a file with the correct
> entries in it at that location.
>
> su vscan -c 'spamassassin --lint -D'
>

Well my user is still called amavis, so I ran:

su amavis -c 'spamassassin --lint -D'

and got something this amongst other things:


[26938] dbg: diag: module installed: Razor2::Client::Agent, version 2.77
[26938] dbg: diag: module installed: IO::Socket::INET6, version 2.51
failed)
[26938] dbg: diag: module installed: Time::HiRes, version 1.87
[26938] dbg: diag: module installed: DBI, version 1.32
[26938] dbg: diag: module installed: Getopt::Long, version 2.34
[26938] dbg: diag: module installed: LWP::UserAgent, version 2.001
[26938] dbg: diag: module installed: HTTP::Date, version 1.44
[26938] dbg: ignore: using a test message to lint rules
[26938] dbg: config: using "/etc/mail/spamassassin" for site rules pre 
files
[26938] dbg: config: read file /etc/mail/spamassassin/init.pre
[26938] dbg: config: read file /etc/mail/spamassassin/v310.pre
^^^

So this is working as long as I don't use it from amavisd-new, which is 
the puzzling part.

Thanks again,
.peter


___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] razor2, pyzor, dcc not called

2006-05-26 Thread Peter Huetmannsberger

Hi Jim,

>> config: failed to parse line, skipping: use_pyzor 1
>
> this is in your local.cf. Is an old parameter
>
Well, what would be the new parameter. I just commented it out in local.cf 
and it made no difference at all. I am beginning to think it is a PATH 
variable problem, is there a place in the amavisd.conf file where you can 
set the PATH?

thanks,

.peter


___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] razor2, pyzor, dcc not called

2006-05-26 Thread Peter Huetmannsberger

Hi,

yes. I did  turn them on. Like I said, if I run spamassassin -D < 
spamfile, it works. Only when I call it from amavisd it doesn't.

The permissions for those files are the same on both machines.

Thanks so far,

.peter


On Fri, 26 May 2006, Mark Martinec wrote:

> Peter,
>
>>> Also, look into your .../mail/spamassassin/*.pre files
>>> if both plugins are enabled. They are off by default
>>> in newer versions of SA.
>
>>  config: failed to parse line, skipping: use_pyzor 1
>
> So, did you or did you not turn on these plugins
> in /etc/mail/spamassassin/init.pre  ?
>
>  Mark
>
>
> ___
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
>


___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] razor2, pyzor, dcc not called

2006-05-26 Thread Peter Huetmannsberger

Hello again,

I have just tried to run amavisd debug-sa on the server where it works, 
and it seems that the plugins are the problem. On the server where it 
works, I get lines saying plugin such and such available in @INC

on the machine, wher it does not work, I don't get that, and later it 
says:

config: failed to parse line, skipping: use_pyzor 1

I wonder where I got something wrong there?

Thanks for your help so far.

.peter


On Fri, 26 May 2006, Mark Martinec wrote:

> Peter,
>
>> I have been wrecking my brains in the last two days trying to find the
>> reason, why on this particular server the external programs razor2, dcc
>> and pyzor are not used for spamdetection, when called through amavisd-new.
>
> Try to run:
>  amavisd debug-sa
> for a short while and see if there are any problems with DCC or Razor
> reported.
>
> Also, look into your .../mail/spamassassin/*.pre files
> if both plugins are enabled. They are off by default
> in newer versions of SA.
>
>  Mark
>
>
> ___
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
>


___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] razor2, pyzor, dcc not called

2006-05-26 Thread Peter Huetmannsberger

Hi thanks for your help,

amavisd debug-sa says:

17967] info: config: failed to parse line, skipping: 
bayes_auto_learn_threshold_spam 6
[17967] info: config: failed to parse line, skipping: 
bayes_auto_learn_threshold_nonspam 2
[17967] info: config: failed to parse line, skipping: use_pyzor 1
[17967] info: config: failed to parse line, skipping: use_razor2 1
[17967] info: config: failed to parse line, skipping: use_dcc 1
[17967] info: config: failed to parse line, skipping: dcc_home 
/var/lib/dcc
[17967] info: config: failed to parse line, skipping: dcc_dccifd_path 
/var/lib/dcc/dccifd

However I don't see why, it does that, because on another machine I have 
the excact same lines, and it can parse them. Hmm?

Thanks so far,

.peter



On Fri, 26 May 2006, Mark Martinec wrote:

> Peter,
>
>> I have been wrecking my brains in the last two days trying to find the
>> reason, why on this particular server the external programs razor2, dcc
>> and pyzor are not used for spamdetection, when called through amavisd-new.
>
> Try to run:
>  amavisd debug-sa
> for a short while and see if there are any problems with DCC or Razor
> reported.
>
> Also, look into your .../mail/spamassassin/*.pre files
> if both plugins are enabled. They are off by default
> in newer versions of SA.
>
>  Mark
>
>
> ___
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
> AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
> AMaViS-HowTos:http://www.amavis.org/howto/
>


___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] razor2, pyzor, dcc not called

2006-05-26 Thread Peter Huetmannsberger

Hi,

I have been wrecking my brains in the last two days trying to find the 
reason, why on this particular server the external programs razor2, dcc 
and pyzor are not used for spamdetection, when called through amavisd-new.

I am using the latest amavisd-new from the dag repository (rebuilt it for 
use on rh9) after an upgrade of perl to perl 5.8.6 and spamassassin 3.1.1.

The same setup works fine on another machine.

The relevant string in amavisd.conf says
$sa_local_tests_only = 0;   # (default: false)

so no that is not the problem.

The user_prefs and local.cf files are excactly the same.

Can anyone think of another reason, why that should not work.

When I run the checks by hand, even as user amavis, everything works fine.

Thanks for any suggestions.

.peter



___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


Re: [AMaViS-user] OT: amavis-stats RH9

2006-03-04 Thread Peter Huetmannsberger




Do you mean you get a report but with all zero counts, or literally no
output whatsoever?


Hi,

after playing around all morning I got results in the shape of rrd files 
in the right directory, but now I get an rrdtool eror (not the 127 but a 
1). I am using rrdtool-1.2.12 and amavis-stats 0.1.21.


Another question. What do you suggest to do about the permissions.

Senmail creates logfiles with root:mail amavis runs as amavis and is 
member of the group mail. apache runs as nobody (and I can't possibly add 
nobody to the group mail). If I create the rrd files as amavis, apache 
can't read them, if I create them as nobody, the maillog files can't be 
read. Any good ideas?


Thanks,

.peter





Cheers

Pete




---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] OT: amavis-stats RH9

2006-03-04 Thread Peter Huetmannsberger


Hi,

sorry to bother you with this question, but has anyone gotten 
amavis-stats-0.1.21 to run on RedHat 9?


I seem to get no results at all. Any debugging available?

Thanks,

.peter


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/


[AMaViS-user] Multiple spam-admins

2005-10-20 Thread Peter Huetmannsberger


Hi,

I have a question. We have a mailgateway that runs amavisd-new with 
sendmail-milter for a domain and a subdomain. What I was wondering is if 
it is possible to split the spam-admin Mails into two groups


spam to example.com evokes notification to [EMAIL PROTECTED]
spam to sub,example.com evokes notification to [EMAIL PROTECTED]

I have no idea how to go about this.

Off topic I would also be interested in using different logfiles for the 
two domains, but I guess that i snot possible with just one instance of 
sendmail running? Or is it.


Any ideas would be appreciated,

many thanks, it's a great product,

Peter Huetmannsberger, RHCE




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/