Re: [AMaViS-user] can not restart with zlib error

2008-03-13 Thread huetmann


It looks like you are running RHEL4. WHy don't you just uninstall the perl 
module like this:

rpm -e perl-Compress-Zlib

if it won't do that use:

rpm -e --nodeps perl-Compress-Zlib

And then reinstall the package with

up2date -i perl-Compress-Zlib

or if you have the dag wieers repo:

yum install perl-Compress-Zlib


That way you stay compatible with the rest of your installation. If you do 
want to use cpan (which is a good idea sometimes) then use cpan2rpm for 
installing perl modules. Again that will keep your package db in good 
order.

Hope this helps,

.peter

On Thu, 13 Mar 2008, Voytek Eymont wrote:


 On Thu, March 13, 2008 12:18 pm, Voytek Eymont wrote:


 I've tried updating zlib as follows, but, no luck:

 
 # rpm -Uvh perl-Compress-Raw-Zlib-2.008-1.el4.rf.i386.rpm
 Preparing...###
 [100%]
   1:perl-Compress-Raw-Zlib ###
 [100%]
 # amavisd --debug
 ERROR: MISSING REQUIRED BASIC MODULES:
  Compress::Zlib
 BEGIN failed--compilation aborted at /usr/sbin/amavisd line 171.
 # amavisd --version
 ERROR: MISSING REQUIRED BASIC MODULES:
  Compress::Zlib
 BEGIN failed--compilation aborted at /usr/sbin/amavisd line 171.

 uname -a
 Linux  2.6.9-55.0.9.EL #1 Thu Sep 27 18:10:45 EDT 2007 i686 i686



 -

 --
 Voytek


 -
 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] can not restart with zlib error

2008-03-13 Thread Voytek Eymont

On Thu, March 13, 2008 5:33 pm, [EMAIL PROTECTED] wrote:

peter, thanks

 It looks like you are running RHEL4. WHy don't you just uninstall the
 perl module like this:
 rpm -e perl-Compress-Zlib
 if it won't do that use:
 rpm -e --nodeps perl-Compress-Zlib

so far so good

 And then reinstall the package with
 up2date -i perl-Compress-Zlib
 or if you have the dag wieers repo:
 yum install perl-Compress-Zlib

yes, I use Dag Wieers rpms

 That way you stay compatible with the rest of your installation. If you
 do want to use cpan (which is a good idea sometimes) then use cpan2rpm for
  installing perl modules. Again that will keep your package db in good
 order.

but, I'm still failing:

# rpm -e perl-Compress-Zlib
error: Failed dependencies:
perl(Compress::Zlib) is needed by (installed)
perl-Archive-Zip-1.20-1.el4.rf.noarch
perl(Compress::Zlib) is needed by (installed)
perl-Filter-1.34-1.el4.rf.i386
perl(Compress::Zlib) is needed by (installed)
amavisd-new-2.5.2-1.el4.rf.i386
perl(Compress::Zlib) = 1.35 is needed by (installed)
amavisd-new-2.5.2-1.el4.rf.i386

# rpm -e --nodeps perl-Compress-Zlib

# yum install perl-Compress-Zlib
Loading fastestmirror plugin
Setting up Install Process
Setting up repositories
kbs-CentOS-Extras 100% |=|  951 B00:00
update100% |=|  951 B00:00
base  100% |=| 1.1 kB00:00
addons100% |=|  951 B00:00
extras100% |=| 1.1 kB00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
-- Populating transaction set with selected packages. Please wait.
--- Downloading header for perl-Compress-Zlib to pack into transaction set.
perl-Compress-Zlib-1.42-1 100% |=| 4.9 kB00:00
--- Package perl-Compress-Zlib.i386 0:1.42-1.el4 set to be updated
-- Running transaction check

Dependencies Resolved

=
 Package Arch   Version  RepositorySize
=
Installing:
 perl-Compress-Zlib  i386   1.42-1.el4   base   54 k

Transaction Summary
=
Install  1 Package(s)
Update   0 Package(s)
Remove   0 Package(s)
Total download size: 54 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): perl-Compress-Zlib 100% |=|  54 kB00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: perl-Compress-Zlib   # [1/1]

Installed: perl-Compress-Zlib.i386 0:1.42-1.el4
Complete!

# amavisd --version
ERROR: MISSING REQUIRED BASIC MODULES:
  Compress::Zlib
BEGIN failed--compilation aborted at /usr/sbin/amavisd line 171.
#


-- 
Voytek


-
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/


[AMaViS-user] 421: Unexpected log failure with anavisd-new 2.5.x

2008-03-13 Thread Jens Strohschnitter
Hi

after an update of my system running exim 4.62 and amavisd-new 2.50,
mails with more than 3 reciepents will not be delivered and blocked
by amavis with the following error:

421 4.1.0 Failed, id=07297-15, from MTA([127.0.0.1]:10025): 421
Unexpected log failure, please try later

In the FAQ I've read that this problem comes from the openfiles limit
on the os. So I've set the openfiles to 4096 (from default 1024):

$ ulimit -a
core file size  (blocks, -c) 0
data seg size   (kbytes, -d) unlimited
file size   (blocks, -f) unlimited
pending signals (-i) 40960
max locked memory   (kbytes, -l) 32
max memory size (kbytes, -m) 3522740
open files  (-n) 4096
pipe size(512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
stack size  (kbytes, -s) 8192
cpu time   (seconds, -t) unlimited
max user processes  (-u) 40960
virtual memory  (kbytes, -v) unlimited
file locks  (-x) unlimited

But nothing has changed. Still mails to recipients  that
3 will not be delivered.

So what can I do ?

-- 
Regards,

 Jens Strohschnitter

-
*!!!LINUX LINUX LINUX LINUX LINUX!!!*
 
* http://www.jens-strohschnitter.de *
-
Set the controls for 
 the heart of the sun
-
__

Raiffeisen Waren-Zentrale Rhein-Main eG
50668 Koeln, Altenberger Str. 1a

Tel: 0221/1638-0
Fax: 0221/1638-254

Sitz: Koeln

Amtsgericht Koeln, GnR 728

Geschaeftsfuehrender Vorstand: 
Hans-Josef Hilgers (Sprecher)
Markus Stuettgen
Dr. Karl-Heinrich Suemmermann

Vorstand:
Friedhelm Decker (Vorsitzender)
Ingo Steitz

Vorsitzender des Aufsichtsrates: 
Peter Bleser (MdB)

St.Nr.: 215/5938/0152

Bankverbindung:
WGZ Bank AG, Duesseldorf
(BLZ 300 600 10) Konto-Nr.: 300 011


-
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] can not restart with zlib error

2008-03-13 Thread huetmann


Make sure, you hava only one Zlib.pm  in your perl folder.

i.e. something like this: (on my CentOS5)

/usr/lib/perl5/vendor_perl/5.8.8/Compress
/usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm
/usr/lib/perl5/vendor_perl/5.8.8/auto/Compress/Zlib
/usr/lib/perl5/vendor_perl/5.8.8/auto/Compress/Zlib/autosplit.ix


If you haev oter folders with older Compress/Zlib folders, get rid of them 
or rename them. It looks like your amavisd is looking in the wrong place.

It is best to only have one installation of the perl-modules.

Hope this helps,

.peter


On Thu, 13 Mar 2008, Voytek Eymont wrote:


 On Thu, March 13, 2008 5:33 pm, [EMAIL PROTECTED] wrote:

 peter, thanks

 It looks like you are running RHEL4. WHy don't you just uninstall the
 perl module like this:
 rpm -e perl-Compress-Zlib
 if it won't do that use:
 rpm -e --nodeps perl-Compress-Zlib

 so far so good

 And then reinstall the package with
 up2date -i perl-Compress-Zlib
 or if you have the dag wieers repo:
 yum install perl-Compress-Zlib

 yes, I use Dag Wieers rpms

 That way you stay compatible with the rest of your installation. If you
 do want to use cpan (which is a good idea sometimes) then use cpan2rpm for
  installing perl modules. Again that will keep your package db in good
 order.

 but, I'm still failing:

 # rpm -e perl-Compress-Zlib
 error: Failed dependencies:
perl(Compress::Zlib) is needed by (installed)
 perl-Archive-Zip-1.20-1.el4.rf.noarch
perl(Compress::Zlib) is needed by (installed)
 perl-Filter-1.34-1.el4.rf.i386
perl(Compress::Zlib) is needed by (installed)
 amavisd-new-2.5.2-1.el4.rf.i386
perl(Compress::Zlib) = 1.35 is needed by (installed)
 amavisd-new-2.5.2-1.el4.rf.i386

 # rpm -e --nodeps perl-Compress-Zlib

 # yum install perl-Compress-Zlib
 Loading fastestmirror plugin
 Setting up Install Process
 Setting up repositories
 kbs-CentOS-Extras 100% |=|  951 B00:00
 update100% |=|  951 B00:00
 base  100% |=| 1.1 kB00:00
 addons100% |=|  951 B00:00
 extras100% |=| 1.1 kB00:00
 Loading mirror speeds from cached hostfile
 Reading repository metadata in from local files
 Parsing package install arguments
 Resolving Dependencies
 -- Populating transaction set with selected packages. Please wait.
 --- Downloading header for perl-Compress-Zlib to pack into transaction set.
 perl-Compress-Zlib-1.42-1 100% |=| 4.9 kB00:00
 --- Package perl-Compress-Zlib.i386 0:1.42-1.el4 set to be updated
 -- Running transaction check

 Dependencies Resolved

 =
 Package Arch   Version  RepositorySize
 =
 Installing:
 perl-Compress-Zlib  i386   1.42-1.el4   base   54 k

 Transaction Summary
 =
 Install  1 Package(s)
 Update   0 Package(s)
 Remove   0 Package(s)
 Total download size: 54 k
 Is this ok [y/N]: y
 Downloading Packages:
 (1/1): perl-Compress-Zlib 100% |=|  54 kB00:00
 Running Transaction Test
 Finished Transaction Test
 Transaction Test Succeeded
 Running Transaction
  Installing: perl-Compress-Zlib   # [1/1]

 Installed: perl-Compress-Zlib.i386 0:1.42-1.el4
 Complete!

 # amavisd --version
 ERROR: MISSING REQUIRED BASIC MODULES:
  Compress::Zlib
 BEGIN failed--compilation aborted at /usr/sbin/amavisd line 171.
 #


 --
 Voytek


 -
 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] can not restart with zlib error

2008-03-13 Thread Voytek Eymont

On Thu, March 13, 2008 1:44 pm, Clifton Royston wrote:
 On Thu, Mar 13, 2008 at 01:35:40PM +1100, Voytek Eymont wrote:

 On Thu, March 13, 2008 12:55 pm, John Evans wrote:

 cpan install Compress::Zlib

 with the force option (which I don't remember the syntax for at the
 moment.)

Clifton, thanks

trying:
perl -MCPAN -e'force(install,Compress::Zlib);'

it seemed to have worked, as afterwards I get now:

cpan
install
Compress::Zlib
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Wed, 12 Mar 2008 05:30:55 GMT
Compress::Zlib is up to date.


BUT:

# amavisd --version
ERROR: MISSING REQUIRED BASIC MODULES:
  Compress::Zlib
BEGIN failed--compilation aborted at /usr/sbin/amavisd line 171.
#





-- 
Voytek


-
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] can not restart with zlib error

2008-03-13 Thread Voytek Eymont

On Thu, March 13, 2008 6:11 pm, [EMAIL PROTECTED] wrote:

 Make sure, you hava only one Zlib.pm  in your perl folder.
 i.e. something like this: (on my CentOS5)
 /usr/lib/perl5/vendor_perl/5.8.8/Compress
 /usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm
 /usr/lib/perl5/vendor_perl/5.8.8/auto/Compress/Zlib
 /usr/lib/perl5/vendor_perl/5.8.8/auto/Compress/Zlib/autosplit.ix

 If you haev oter folders with older Compress/Zlib folders, get rid of
 them or rename them. It looks like your amavisd is looking in the wrong
 place.

 It is best to only have one installation of the perl-modules.


Peter,

I don't seem to have any Compress (Centos 4.x)


# pwd
/usr/lib/perl5/vendor_perl
# ls
5.8.0  5.8.1  5.8.2  5.8.3  5.8.4  5.8.5
# perl --version

This is perl, v5.8.5 built for i386-linux-thread-multi


# cd 5.8.5

# ls C*
Convert:
ASN1  ASN1.pm  ASN1.pod  BinHex.pm  TNEF.pm

Crypt:
PasswdMD5.pm

is my Perl install screwed up ?

-- 
Voytek


-
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] can not restart with zlib error

2008-03-13 Thread Voytek Eymont

On Thu, March 13, 2008 6:11 pm, [EMAIL PROTECTED] wrote:



 Make sure, you hava only one Zlib.pm  in your perl folder.


 i.e. something like this: (on my CentOS5)

 /usr/lib/perl5/vendor_perl/5.8.8/Compress
 /usr/lib/perl5/vendor_perl/5.8.8/Compress/Zlib.pm
 /usr/lib/perl5/vendor_perl/5.8.8/auto/Compress/Zlib
 /usr/lib/perl5/vendor_perl/5.8.8/auto/Compress/Zlib/autosplit.ix


# locate Zlib.pm
/root/.cpan/build/Compress-Zlib-2.008/lib/Compress/Zlib.pm
/root/.cpan/build/Compress-Zlib-2.008/blib/lib/Compress/Zlib.pm
/usr/lib/perl5/site_perl/5.8.5/IO/Zlib.pm
/usr/lib/perl5/site_perl/5.8.5/Compress/Zlib.pm
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Compress/Raw/Zlib.pm
/usr/lib/perl5/vendor_perl/5.8.5/IO/Zlib.pm
/usr/lib/perl5/vendor_perl/5.8.5/Compress/Zlib.pm
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/Compress/Raw/Zlib.pm



-- 
Voytek


-
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] 421: Unexpected log failure with anavisd-new 2.5.x

2008-03-13 Thread Mark Martinec
Jens,

 after an update of my system running exim 4.62 and amavisd-new 2.50,
 mails with more than 3 reciepents will not be delivered and blocked
 by amavis with the following error:

 421 4.1.0 Failed, id=07297-15, from MTA([127.0.0.1]:10025): 421
 Unexpected log failure, please try later

 In the FAQ I've read that this problem comes from the openfiles limit
 on the os. So I've set the openfiles to 4096 (from default 1024):
 But nothing has changed. Still mails to recipients  that
 3 will not be delivered.

 So what can I do ?

Check your log files: the exim log file, and system log files 
(e.g. /var/log/messages). Try manually telnetting to 127.0.0.1 10025
and simulate a session with more than three recipients and see what
happens. Check free space on partitions, and sanity (e.g. protection)
of log files and syslog. Enable Exim debugging if available. Ask on
the Exim mailing lists if you run out of ideas, google may be of help.

  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/


Re: [AMaViS-user] 421: Unexpected log failure with anavisd-new 2.5.x

2008-03-13 Thread Jens Strohschnitter
  after an update of my system running exim 4.62 and amavisd-new 2.50,
  mails with more than 3 reciepents will not be delivered and blocked
  by amavis with the following error:
 
  421 4.1.0 Failed, id=07297-15, from MTA([127.0.0.1]:10025): 421
  Unexpected log failure, please try later
 
  In the FAQ I've read that this problem comes from the openfiles limit
  on the os. So I've set the openfiles to 4096 (from default 1024):
  But nothing has changed. Still mails to recipients  that
  3 will not be delivered.
 
  So what can I do ?
 
 Check your log files: the exim log file, and system log files 
 (e.g. /var/log/messages). Try manually telnetting to 127.0.0.1 10025
 and simulate a session with more than three recipients and see what
 happens. Check free space on partitions, and sanity (e.g. protection)
 of log files and syslog. Enable Exim debugging if available. Ask on
 the Exim mailing lists if you run out of ideas, google may be of help.

Hi

in messages I can't see any logentry, freespace is enough, all other
mails will be delivered. But how can I send via telnet 127.0.0.1 10025
a mail to more than one recipient ?

S: 220 smtp.example.com ESMTP Postfix
C: HELO relay.example.org
S: 250 Hello relay.example.org, I am glad to meet you
C: MAIL FROM:[EMAIL PROTECTED]
S: 250 Ok
C: RCPT TO:[EMAIL PROTECTED], ;  . ?
  



-- 
Regards,

 Jens Strohschnitter

-
*!!!LINUX LINUX LINUX LINUX LINUX!!!*
 
* http://www.jens-strohschnitter.de *
-
Set the controls for 
 the heart of the sun
-
__

Raiffeisen Waren-Zentrale Rhein-Main eG
50668 Koeln, Altenberger Str. 1a

Tel: 0221/1638-0
Fax: 0221/1638-254

Sitz: Koeln

Amtsgericht Koeln, GnR 728

Geschaeftsfuehrender Vorstand: 
Hans-Josef Hilgers (Sprecher)
Markus Stuettgen
Dr. Karl-Heinrich Suemmermann

Vorstand:
Friedhelm Decker (Vorsitzender)
Ingo Steitz

Vorsitzender des Aufsichtsrates: 
Peter Bleser (MdB)

St.Nr.: 215/5938/0152

Bankverbindung:
WGZ Bank AG, Duesseldorf
(BLZ 300 600 10) Konto-Nr.: 300 011


-
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] 421: Unexpected log failure with anavisd-new 2.5.x

2008-03-13 Thread Wazir Shpoon
You can do another RCPT TO on the next line.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jens
Strohschnitter
Sent: Thursday, March 13, 2008 9:05 AM
To: amavis-user@lists.sourceforge.net
Subject: Re: [AMaViS-user] 421: Unexpected log failure with anavisd-new
2.5.x

  after an update of my system running exim 4.62 and amavisd-new 2.50,
  mails with more than 3 reciepents will not be delivered and blocked
  by amavis with the following error:
 
  421 4.1.0 Failed, id=07297-15, from MTA([127.0.0.1]:10025): 421
  Unexpected log failure, please try later
 
  In the FAQ I've read that this problem comes from the openfiles
limit
  on the os. So I've set the openfiles to 4096 (from default 1024):
  But nothing has changed. Still mails to recipients  that
  3 will not be delivered.
 
  So what can I do ?
 
 Check your log files: the exim log file, and system log files 
 (e.g. /var/log/messages). Try manually telnetting to 127.0.0.1 10025
 and simulate a session with more than three recipients and see what
 happens. Check free space on partitions, and sanity (e.g. protection)
 of log files and syslog. Enable Exim debugging if available. Ask on
 the Exim mailing lists if you run out of ideas, google may be of help.

Hi

in messages I can't see any logentry, freespace is enough, all other
mails will be delivered. But how can I send via telnet 127.0.0.1 10025
a mail to more than one recipient ?

S: 220 smtp.example.com ESMTP Postfix
C: HELO relay.example.org
S: 250 Hello relay.example.org, I am glad to meet you
C: MAIL FROM:[EMAIL PROTECTED]
S: 250 Ok
C: RCPT TO:[EMAIL PROTECTED], ;  . ?
  



-- 
Regards,

 Jens Strohschnitter

-
*!!!LINUX LINUX LINUX LINUX LINUX!!!*
 
* http://www.jens-strohschnitter.de *
-
Set the controls for 
 the heart of the sun
-
__

Raiffeisen Waren-Zentrale Rhein-Main eG
50668 Koeln, Altenberger Str. 1a

Tel: 0221/1638-0
Fax: 0221/1638-254

Sitz: Koeln

Amtsgericht Koeln, GnR 728

Geschaeftsfuehrender Vorstand: 
Hans-Josef Hilgers (Sprecher)
Markus Stuettgen
Dr. Karl-Heinrich Suemmermann

Vorstand:
Friedhelm Decker (Vorsitzender)
Ingo Steitz

Vorsitzender des Aufsichtsrates: 
Peter Bleser (MdB)

St.Nr.: 215/5938/0152

Bankverbindung:
WGZ Bank AG, Duesseldorf
(BLZ 300 600 10) Konto-Nr.: 300 011



-
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 email has been scanned and certified safe by SpammerTrap(tm). 
For Information please see http://www.spammertrap.com
_

-
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] 421: Unexpected log failure with anavisd-new 2.5.x

2008-03-13 Thread Jens Strohschnitter
   after an update of my system running exim 4.62 and amavisd-new 2.50,
   mails with more than 3 reciepents will not be delivered and blocked
   by amavis with the following error:
  
   421 4.1.0 Failed, id=07297-15, from MTA([127.0.0.1]:10025): 421
   Unexpected log failure, please try later
  
   In the FAQ I've read that this problem comes from the openfiles
 limit
   on the os. So I've set the openfiles to 4096 (from default 1024):
   But nothing has changed. Still mails to recipients  that
   3 will not be delivered.
  Check your log files: the exim log file, and system log files 
  (e.g. /var/log/messages). Try manually telnetting to 127.0.0.1 10025
  and simulate a session with more than three recipients and see what
  happens. Check free space on partitions, and sanity (e.g. protection)
  of log files and syslog. Enable Exim debugging if available. Ask on
  the Exim mailing lists if you run out of ideas, google may be of help.
 in messages I can't see any logentry, freespace is enough, all other
 mails will be delivered. But how can I send via telnet 127.0.0.1 10025
 a mail to more than one recipient ?
 
 You can do another RCPT TO on the next line.
 

Hi

I've found a solution: Removed exim via rpm, removed /var/log/exim
and /vas/spool/exim, reinstalled exim via rpm and chmoded /var/log/exim
to 777 - now anything works. 
Sometimes it has to be the hardest solution ;-)


-- 
Regards,

 Jens Strohschnitter

-
*!!!LINUX LINUX LINUX LINUX LINUX!!!*
 
* http://www.jens-strohschnitter.de *
-
Set the controls for 
 the heart of the sun
-
__

Raiffeisen Waren-Zentrale Rhein-Main eG
50668 Koeln, Altenberger Str. 1a

Tel: 0221/1638-0
Fax: 0221/1638-254

Sitz: Koeln

Amtsgericht Koeln, GnR 728

Geschaeftsfuehrender Vorstand: 
Hans-Josef Hilgers (Sprecher)
Markus Stuettgen
Dr. Karl-Heinrich Suemmermann

Vorstand:
Friedhelm Decker (Vorsitzender)
Ingo Steitz

Vorsitzender des Aufsichtsrates: 
Peter Bleser (MdB)

St.Nr.: 215/5938/0152

Bankverbindung:
WGZ Bank AG, Duesseldorf
(BLZ 300 600 10) Konto-Nr.: 300 011


-
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] 421: Unexpected log failure with anavisd-new 2.5.x

2008-03-13 Thread Fernando Frota Machado de Morais

I don't remember why, but I think exim needs to be member or mail  
group:

[EMAIL PROTECTED] etc]# grep -i exim passwd
exim:x:93:93::/var/spool/exim:/sbin/nologin

[EMAIL PROTECTED] etc]# grep -i exim group
mail:x:12:mail,exim
exim:x:93:



If your problem was with permissions, it will occurs again, because 
logrotate creates new files with default owner and permissions.


Em Qui 13 Mar 2008, Jens Strohschnitter escreveu:
after an update of my system running exim 4.62 and amavisd-new
2.50, mails with more than 3 reciepents will not be delivered
and blocked by amavis with the following error:
   
421 4.1.0 Failed, id=07297-15, from MTA([127.0.0.1]:10025): 421
Unexpected log failure, please try later
   
In the FAQ I've read that this problem comes from the openfiles
 
  limit
 
on the os. So I've set the openfiles to 4096 (from default
1024): But nothing has changed. Still mails to recipients 
that 3 will not be delivered.
  
   Check your log files: the exim log file, and system log files
   (e.g. /var/log/messages). Try manually telnetting to 127.0.0.1
   10025 and simulate a session with more than three recipients and
   see what happens. Check free space on partitions, and sanity
   (e.g. protection) of log files and syslog. Enable Exim debugging
   if available. Ask on the Exim mailing lists if you run out of
   ideas, google may be of help.
 
  in messages I can't see any logentry, freespace is enough, all
  other mails will be delivered. But how can I send via telnet
  127.0.0.1 10025 a mail to more than one recipient ?
 
  You can do another RCPT TO on the next line.

 Hi

 I've found a solution: Removed exim via rpm, removed /var/log/exim
 and /vas/spool/exim, reinstalled exim via rpm and chmoded
 /var/log/exim to 777 - now anything works.
 Sometimes it has to be the hardest solution ;-)



-- 
 Fernando Frota Machado de Morais
Divisao de Redes de Comunicacao
Centro de Computacao
Universidade Federal de Minas Gerais
Brasil
Tel. +55(31)3409.4007  Fax. +55(31)3409.4004

-
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/


[AMaViS-user] Prevent banned notification in case of high spam score?

2008-03-13 Thread MBGaskins
I've run into a problem lately.  I have a ton of spam coming in that is 
being scored quite highly and properly, but they tried to hide their spam 
message inside a zip file.  It's not actually a virus, so the zip doesn't 
get hit by ClamAV.  The problem is that Banned status seems to be higher 
priority than Spam, and we generate a warning message to a user if they 
get a banned file (whereas spam is quarantined with no message and Viruses 
are just discarded with no notification).

So, this stuff is all getting blocked but the zip files within are 
generating a ton of banned file notifications to my users.  Is there any 
easy way to solve this? I notice that the Spam score is still calculated 
even for Banned notifications - perhaps there could be a threshold where 
if a message with a Banned file type has a certain Spam score it will 
discard it and not send a notification?

Thanks.

Mike Gaskins
-
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/


[AMaViS-user] MTA-BLOCKED?

2008-03-13 Thread Luis Daniel Lucio Quiroz
Sice we have an outstage of electricity, I gettint this advice at amavisd.  
Any comment, I havent see MTA-BLOCKED before.

Regards, 

LD

Mar 13 11:39:35 brandmauer amavis[20025]: (20025-06) Blocked MTA-BLOCKED, 
[209.200.229.155] [209.200.229.155] [EMAIL PROTECTED] - 
[EMAIL PROTECTED], Message-ID: 
[EMAIL PROTECTED], mail_id: xeJO2agj-oBE, 
Hits: -2.599, size: 1406, 36996 ms

-
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] MTA-BLOCKED?

2008-03-13 Thread Mark Martinec
Luis Daniel,

 Sice we have an outstage of electricity, I gettint this advice at amavisd.
 Any comment, I havent see MTA-BLOCKED before.

 Mar 13 11:39:35 brandmauer amavis[20025]: (20025-06) Blocked MTA-BLOCKED,

It means Postfix is not accepting (on port 10025) a checked message
back from amavisd. See Postfix log for a more detailed reason,
try telnetting to port 10025 and see if Postfix is accepting mail.

  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/


Re: [AMaViS-user] MTA-BLOCKED?

2008-03-13 Thread Luis Daniel Lucio Quiroz

I also got:

Mar 13 11:54:00 brandmauer amavis[24026]: (24026-01) (!!)TROUBLE in 
process_request: Error writing a SMTP response to the socket: Broken pipe at 
(eval 41) line 874, GEN3 line 4.

at my /var/log/mail/error.log

Port 10025 is open:

[EMAIL PROTECTED] dieu]# telnet localhost 10025
Trying 127.0.0.1...
Connected to brandmauer.insys-corp.com.mx (127.0.0.1).
Escape character is '^]'.
220 [127.0.0.1] ESMTP amavisd-new service ready
EHLO elmo.yahoo.com
250-[127.0.0.1]
250-VRFY
250-PIPELINING
250-SIZE
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250 XFORWARD NAME ADDR PROTO HELO

RCPT dlucio500 5.5.2 Error: bad syntax
@okay.com.mx


QUIT


^]
telnet q
Connection closed.


Le Thursday 13 March 2008 11:52:09 Mark Martinec, vous avez écrit :
 Luis Daniel,

  Sice we have an outstage of electricity, I gettint this advice at
  amavisd. Any comment, I havent see MTA-BLOCKED before.
 
  Mar 13 11:39:35 brandmauer amavis[20025]: (20025-06) Blocked MTA-BLOCKED,

 It means Postfix is not accepting (on port 10025) a checked message
 back from amavisd. See Postfix log for a more detailed reason,
 try telnetting to port 10025 and see if Postfix is accepting mail.

   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] MTA-BLOCKED?

2008-03-13 Thread Luis Daniel Lucio Quiroz
Hi Mark

I was debugging amavisd and I found this:
brandmauer amavis[6320]: (06320-02-3) TIMING [total 45329 ms] - SMTP 
pre-DATA-flush: 403 (1%)1, SMTP DATA: 62 (0%)1, check_init: 126 (0%)1, 
digest_hdr: 2 (0%)1, digest_body: 9 (0%)1, gen_mail_id: 8 (0%)1, mime_decode: 
205 (0%)2, get-file-type1: 363 (1%)3, decompose_part: 107 (0%)3, 
parts_decode: 0 (0%)3, check_header: 91 (0%)3, AV-scan-1: 1290 (3%)6, 
spam-wb-list: 2435 (5%)11, SA parse: 26 (0%)11, SA check: 4243 (9%)21, 
update_cache: 32 (0%)21, decide_mail_destiny: 35 (0%)21, fwd-connect: 362 
(1%)22, fwd-xforward: 69 (0%)22, fwd-mail-pip: 179 (0%)22, fwd-rcpt-pip: 32 
(0%)22, fwd-data-chkpnt: 46 (0%)22, write-header: 11 (0%)22, 
fwd-data-contents: 0 (0%)22, fwd-end-chkpnt: 34549 (76%)99, prepare-dsn: 91 
(0%)99, main_log_entry: 86 (0%)99, update_snmp: 280 (1%)100, SMTP 
pre-response: 22 (0%)100, SMTP response: 69 (0%)100, unlink-1-files: 94 (0%)
100, rundown: 1 (0%)100

lok at this: fwd-end-chkpnt: 34549 (76%)99
to high value, what should I do then?

Regards, 
LD

Le Thursday 13 March 2008 11:52:09 Mark Martinec, vous avez écrit :
 Luis Daniel,

  Sice we have an outstage of electricity, I gettint this advice at
  amavisd. Any comment, I havent see MTA-BLOCKED before.
 
  Mar 13 11:39:35 brandmauer amavis[20025]: (20025-06) Blocked MTA-BLOCKED,

 It means Postfix is not accepting (on port 10025) a checked message
 back from amavisd. See Postfix log for a more detailed reason,
 try telnetting to port 10025 and see if Postfix is accepting mail.

   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] still strugling with zlib issue

2008-03-13 Thread Voytek Eymont

On Fri, March 14, 2008 10:25 am, Voytek Eymont wrote:

 thanks, MrC:

 # perl -e 'use Compress::Zlib;'
 Compress::Raw::Zlib defines neither package nor VERSION--version check
 failed at
 /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/Compress/Raw/Zlib.

thanks, MrC, I'm thinking I'm getting some place:

I've replaced the Zlib.pm from backup copy (before I overwritten it)

and:

# perl -e 'use Compress::Zlib;'

# amavisd -V
amavisd-new-2.5.4 (20080312)

!!thanks!!


-
-- 
Voytek


-
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] MTA-BLOCKED?

2008-03-13 Thread mouss
Luis Daniel Lucio Quiroz wrote:
 I also got:

 Mar 13 11:54:00 brandmauer amavis[24026]: (24026-01) (!!)TROUBLE in 
 process_request: Error writing a SMTP response to the socket: Broken pipe at 
 (eval 41) line 874, GEN3 line 4.

 at my /var/log/mail/error.log

 Port 10025 is open:

 [EMAIL PROTECTED] dieu]# telnet localhost 10025
 Trying 127.0.0.1...
 Connected to brandmauer.insys-corp.com.mx (127.0.0.1).
 Escape character is '^]'.
 220 [127.0.0.1] ESMTP amavisd-new service ready
   

This is amavisd-new. now try to connect to port 10026 instead.

 EHLO elmo.yahoo.com
 250-[127.0.0.1]
 250-VRFY
 250-PIPELINING
 250-SIZE
 250-ENHANCEDSTATUSCODES
 250-8BITMIME
 250-DSN
 250 XFORWARD NAME ADDR PROTO HELO

 RCPT dlucio500 5.5.2 Error: bad syntax
 @okay.com.mx


 QUIT


 ^]
 telnet q
 Connection closed.
   


-
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/


[AMaViS-user] when I have broken fuzzyocr, do I need to remove till fixed ?

2008-03-13 Thread Voytek Eymont
my debug start says, inter alia:

can I just 'leave as is' till I figure out /fix /whatever ?
or, is there a deterimental aspect to this broken part ?

[18179] warn: FuzzyOcr: Cannot find executable for giftopnm
[18179] warn: FuzzyOcr: Cannot find executable for jpegtopnm
[18179] warn: FuzzyOcr: Cannot find executable for pngtopnm
[18179] warn: FuzzyOcr: Cannot find executable for bmptopnm
[18179] warn: FuzzyOcr: Cannot find executable for tifftopnm
[18179] warn: FuzzyOcr: Cannot find executable for ppmhist
[18179] warn: FuzzyOcr: Cannot find executable for pamfile
[18179] warn: FuzzyOcr: Cannot find executable for pnmnorm
[18179] warn: FuzzyOcr: Cannot find executable for pnminvert
[18179] warn: FuzzyOcr: Cannot find executable for pamthreshold
[18179] warn: FuzzyOcr: Cannot find executable for ppmtopgm
[18179] warn: FuzzyOcr: Cannot find executable for pamtopnm
[18179] warn: FuzzyOcr: Cannot find executable for tesseract


-- 
Voytek


-
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/


[AMaViS-user] can not restart with zlib error

2008-03-13 Thread Voytek Eymont
I have amavisd since long time ago,
today, I've altered some x-spam tag values in /etc/amavisd.conf;
when I tried to restart, I get this error:

how do I reinstall zlib ??
how it went missing...?

# service amavisd status
amavisd (pid 19876 19734 2671) is running...
amavis-milter is stopped

# service amavisd restart
Shutting down Mail Virus Scanner (amavisd):[  OK  ]
Starting Mail Virus Scanner (amavisd): ERROR: MISSING REQUIRED BASIC MODULES:
  Compress::Zlib
BEGIN failed--compilation aborted at /usr/sbin/amavisd line 171.
   [FAILED]
# service amavisd start
Starting Mail Virus Scanner (amavisd): ERROR: MISSING REQUIRED BASIC MODULES:
  Compress::Zlib
BEGIN failed--compilation aborted at /usr/sbin/amavisd line 171.
   [FAILED]
# service amavisd stop
Shutting down Mail Virus Scanner (amavisd):[FAILED]

# amavisd --version
ERROR: MISSING REQUIRED BASIC MODULES:
  Compress::Zlib
BEGIN failed--compilation aborted at /usr/sbin/amavisd line 171.


-- 
Voytek


-
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] when I have broken fuzzyocr, do I need to remove till fixed ?

2008-03-13 Thread Mark Martinec
Voytek,

 when I have broken fuzzyocr, do I need to remove till fixed ?

 my debug start says, inter alia:
 can I just 'leave as is' till I figure out /fix /whatever ?
 or, is there a deterimental aspect to this broken part ?
 [18179] warn: FuzzyOcr: Cannot find executable for giftopnm
 [18179] warn: FuzzyOcr: Cannot find executable for jpegtopnm
...

It is most likely not detrimental, just a bunch of warnings
saying that it can't do anything useful with pictures, so
you may leave it as it is for a short while until you
figure out what is wrong. Don't leave it for too long,
as it may be consuming resources unnecessarily.

  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/


Re: [AMaViS-user] MTA-BLOCKED?

2008-03-13 Thread Mark Martinec
Luis Daniel,

 I was debugging amavisd and I found this:
 brandmauer amavis[6320]: (06320-02-3) TIMING [total 45329 ms] - SMTP
 pre-DATA-flush: 403 (1%)1, SMTP DATA: 62 (0%)1, check_init: 126 (0%)1,
 digest_hdr: 2 (0%)1, digest_body: 9 (0%)1, gen_mail_id: 8 (0%)1,
 mime_decode: 205 (0%)2, get-file-type1: 363 (1%)3, decompose_part: 107
 (0%)3,
 parts_decode: 0 (0%)3, check_header: 91 (0%)3, AV-scan-1: 1290 (3%)6,
 spam-wb-list: 2435 (5%)11, SA parse: 26 (0%)11, SA check: 4243 (9%)21,
 update_cache: 32 (0%)21, decide_mail_destiny: 35 (0%)21, fwd-connect: 362
 (1%)22, fwd-xforward: 69 (0%)22, fwd-mail-pip: 179 (0%)22, fwd-rcpt-pip: 32
 (0%)22, fwd-data-chkpnt: 46 (0%)22, write-header: 11 (0%)22,
 fwd-data-contents: 0 (0%)22, fwd-end-chkpnt: 34549 (76%)99, prepare-dsn: 91
 (0%)99, main_log_entry: 86 (0%)99, update_snmp: 280 (1%)100, SMTP
 pre-response: 22 (0%)100, SMTP response: 69 (0%)100, unlink-1-files: 94
 (0%) 100, rundown: 1 (0%)100

 lok at this: fwd-end-chkpnt: 34549 (76%)99
 to high value, what should I do then?

Yes, it is pretty high, Postfix is taking 34 seconds to respond
to end-of-message. Perhaps you have not disabled header of body
checks in MTA on the re-entry path (port 10025) and you have
complex or poorly written regexp-based header/body checks there.
Or it could be some disk I/O problem.

  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/


Re: [AMaViS-user] Prevent banned notification in case of high spam score?

2008-03-13 Thread Mark Martinec
Mike,

 I've run into a problem lately.  I have a ton of spam coming in that is
 being scored quite highly and properly, but they tried to hide their spam
 message inside a zip file.  It's not actually a virus, so the zip doesn't
 get hit by ClamAV.  The problem is that Banned status seems to be higher
 priority than Spam, and we generate a warning message to a user if they
 get a banned file (whereas spam is quarantined with no message and Viruses
 are just discarded with no notification).

Indeed, banned has a higher priority than spam.

 So, this stuff is all getting blocked but the zip files within are
 generating a ton of banned file notifications to my users.  Is there any
 easy way to solve this? I notice that the Spam score is still calculated
 even for Banned notifications - perhaps there could be a threshold where
 if a message with a Banned file type has a certain Spam score it will
 discard it and not send a notification?

The spam score is only available if it is cached from some previous
check of a message with the same contents, or in case of multi-recipient
mail where some recipients are set to bypass banned checks. If there is
no other need for spam checking and a message contains a banned contents,
then spam checking is skipped.

I dont't see any obvious solution, except to (temporarily?) disable
banned recipient notifications, of lift a ban on zip and let spam checks
take over.

  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/


[AMaViS-user] what needs reloading to fix IO::File ?

2008-03-13 Thread Voytek Eymont
I noticed that in my log

Mar 14 13:50:42 bilby amavis[30865]: (30865-01) (!!)TROUBLE in check_mail:
mime_decode-1 FAILED: Can't locate object method binmode via package
IO::File at
/usr/lib/perl5/site_perl/5.8.5/MIME/Body.pm line 437.

tried

 cpan install IO:File
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Thu, 13 Mar 2008 20:32:28 GMT
Warning: Cannot install IO:File, don't know what it is.
Try the command

i /IO:File/

to find objects with matching identifiers.


-- 
Voytek


-
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/