Re: [AMaViS-user] Postfix and Amavisd-new on different servers, where point MX record to?

2008-03-12 Thread mouss
Daniel Mayer [COUGA.net] wrote:
 Hi,

 we are working on evolving our amavisd-new setup from one to two machines. 
 Box 1 providing the final delivery to the mailbox and box 2 performing spam 
 and virus filtering guided by amavisd-new.

 The question is where to point the MX's of the domains to? Box 1 could accept 
 the mail and forward it to amavis and then get it reinjected for final 
 delivery. Another option would be to install postfix also on box 2, accept 
 mail there in the first place, scan it and then forward it to box 1 for 
 delivery.

 Do you have any recommendations? Which is the best-practice for this?
   

I prefer the second approach:
- box2 is a mail gateway (mx and filtering)
- box 1 is mail store (pop/imap/...)

This role separation is more natural. you can add/replace the gateway 
box without having to deal with user access (imap/pop), and conversely, 
you can add/replace mail stores without disturbing the mx and filters.

this also saves one trip.


-
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] Followup to Ref:f-prot 6 (new) and amavisd-new-2.5.4-rc1

2008-03-12 Thread Mark Martinec
Joseph,

 Someone suggested downloading the new release and hence the problem.
 I am using the latest download from f-protect. I even tried:

 @av_scanners = (
 ['F-Prot 6',
\ask_daemon,
[SCAN FILE {}/*\nQUIT\n,'127.0.0.1:10200'],
qr/^(0|8|64) /, qr/^1 /, qr/^1 infected: ([^]+)/ ],

 );

From your previous posting:

 Mar 11 04:02:24 mailer01 amavis[21751]: (21751-05) (!!)ask_av (F-Prot 6)
 FAILED - unexpected result: HTTP/1.1 501 Not Implemented\r\nServer:
 fprotd/4.6.8\r\nDate: Tue, 11 Mar 2008 08:02:24 GMT\r\nContent-Type:
 text/html\r\nHTMLHEAD...

your f-prot server clearly says it is an old fprotd/4.6.8
and not the recent fpscand:6.0.0

  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] (!!)TROUBLE in child_init_hook: BDB no dbS: Lock table is out of available locker entries, . at (eval 38) line 30.

2008-03-12 Thread Stefan Jakobs
Hello list,

I still try to figure out what happened with my server. Now it is running with 
amavisd-new 2.5.4rc1 (20080307) and Spamassassin 3.2.2.

After I run amavisd-nanny, I got this:

PID 19494: terminated   3:07:17 .:.:.:
PID 19494: sending SIGKILL in 29 s
PID 19494: successfully killed

The process terminated, does that mean it crashed?

I posted the debug output from this process here:
http://de.pastebin.ca/939846

Greetings Stefan


On Monday 10 March 2008 16:07, Stefan Jakobs wrote:
 On Monday 10 March 2008 14:40, Mark Martinec wrote:
  Stefan,
 
   On Friday 07 March 2008 17:25, Luis Daniel Lucio Quiroz wrote:
Does anybody has any way to fix this,  this is common now at my
server: (!!)TROUBLE in child_init_hook: BDB no dbS: Lock table is out
of available locker entries, . at (eval 38) line 30.
  
   FYI:
   After an upgrade of BerkeleyDB (perl modul) from 0.26 to 0.33 I get the
   same errors.
 
  A version of BerkeleyDB perl module is rarely a problem, as long as
  it was installed with the same version of libdb (berkeley db library)
  that is currently on the system (i.e. the BerkeleyDB perl module should
  preferably be reinstalled after upgrades to libdb).

 I upgraded only the BDB Perl Modul not the libdb.

  But first of all, you need to rule out the possibility that
 
  there were any process crashes. To repeat myself:
  | Does amavisd-nanny report any crashed processes ('went away...') ?
  | If yes, the fix is to upgrade amavisd to 2.5.4-rc1 (or manually
  | apply a fix to 2.5.3 I posted about a week ago).

 Yes, it did. And I installed the new amavisd version after I realised the
 errors.
 I have four equal configured servers and on one of them I upgraded a couple
 of Perl modules. And only that server showed the errors. That's why I
 thought it may be related to the BDB Perl Modul upgrade.

  | If the answer is no, then see the posting on the matter from a
  | last week or two on this ML. In short, using recent maintenance
  | versions of berkeley db (4.3.29 or 4.4.20, or later) may help.
 
Mark

 Greetings
 Stefan

-
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] (!!)TROUBLE in child_init_hook: BDB no dbS: Lock table is out of available locker entries, . at (eval 38) line 30.

2008-03-12 Thread Mark Martinec
Stefan,

 I still try to figure out what happened with my server. Now it is running
 with amavisd-new 2.5.4rc1 (20080307) and Spamassassin 3.2.2.

Good.

 After I run amavisd-nanny, I got this:

 PID 19494: terminated   3:07:17
 .:.:.: PID 19494: sending SIGKILL in 29 s
 PID 19494: successfully killed

 The process terminated, does that mean it crashed?

 I posted the debug output from this process here:
 http://de.pastebin.ca/939846

Everything is normal :)

The process didn't crash, it was terminated by nanny, 'just in case'.

amavisd-nanny would kill a *busy* process after $activettl seconds,
which is 10 minutes by default.

amavisd-nanny would kill an *idle* process after $idlettl seconds,
which is 3 hours by default. If the mail traffic is really low
and this process really didn't process any mail in the last three
hours this may happen - in which case this is just an unnecessary
kill, a new child will be created right away. The only reason for
killing a long lasting idle process is a precaution - perhaps it
was idle for so long because of some unknown/unexplicable problem
(although this never happened so far).

If a process would crash, nanny would report a 'went away'.

  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] Feature Request: SA score with leading zeros in the subject line

2008-03-12 Thread Andy Spiegl
I am still curious:
 is there any reason *not* to use leading zeros by default?

I'd really like to see this patch included.

Thanks,
 Andy.


Feb 11th I wrote:
  Back in good ol' 2007 I suggested to change
$1 eq 'SCORE' ? (0+sprintf(%.3f,$spam_level+$boost))
  to
$1 eq 'SCORE' ? (sprintf(%05.2f,$spam_level+$boost))
 
  in sub add_forwarding_header_edits_per_recip.
  I would think this makes more sense to everybody, doesn't it?
 
 Apparently it doesn't.
 Why would you want a leading zero, and trailing zeroes?

Sorting of the subject field in the MUA doesn't work w/o leading zeros.

I (and my collegues) get hundreds of SPAMs every day.  You can't
review all of them for FP, so we just sort them by subject
and only look at the ones with a lower score.  Without the leading
zeros mails with a score of e.g. 8 show up next to the ones with a
score of 80, etc.

I am curious: is there any reason *not* to use leading zeros?

Bye,
 Andy.

-- 
 43rd Law of Computing:
 Anything that can go wr
 fortune: Segmentation violation -- Core dumped

-
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] ANNOUNCING a release of amavisd-new-2.5.4

2008-03-12 Thread Mark Martinec
A version 2.5.4 of amavisd-new is available at:

  http://www.ijs.si/software/amavisd/amavisd-new-2.5.4.tar.gz

There are no incompatibilities with 2.5.3.

2.5.4 is purely a maintenance release. It fixes known bugs
and stability problems over 2.5.3. New features will appear
in 2.6.0.


amavisd-new-2.5.4 release notes

BUG FIXES

- simplify regular expressions in parse_quoted_rfc2821() to avoid perl crashing
  on a long degenerated e-mail address; reported by Sébastien Aveline;

- further simplify (split in two) regular expressions in parse_address_list()
  to avoid perl crashing on long degenerated e-mail addresses in From, To,
  and Cc header fields, also reported and sample provided by Tomi Lukkarinen;

- incorrect parsing of header fields could let a header field to be ignored
  when preparing notification templates, or when adding a spam tag to a
  Subject header field, causing a second Subject header field to be inserted;
  reported by Mike Cisar;

- untaint a policy bank name when it comes from an AM.PDP protocol request;
  symptom was a failure to insert a pen pals SQL record in a milter setup;
  reported by Peter Huetmannsberger;

- smtp client code inappropriately concluded there is no progress being made
  when forwarding a message back to MTA, and exited a rw_loop when sysread
  returned status EAGAIN despite a 'select' setting an input-ready flag;
  the problem was detected on Solaris, although it could be more general;
  thanks to Aleksandr for a detailed problem report;

- limit the number of filenames given as arguments to a file(1) utility
  to stay within a safe program argument space limit, run file(1) multiple
  times if necessary;

- change the sprintf format for conversion of 64-bit SNMP-like counter values
  into a string (replaced %020d by %020.0f) to properly convert large values
  (beyond 32 bits) into strings on versions of Perl which are not compiled
  with support for 64-bit integers (Solaris?); reported by David Schweikert;


OTHER

- invoke unrar and rar without option 'av-', which is no longer valid
  since version of unrar 3.7.5, and was previously apparently just ignored;
  the rar documentation states that option 'av' is only available with
  registered versions, so it appears the 'av-' is redundant with rar as well.
  Unrar aborting with 'unknown option' error was reported by Piotr Meyer;

- a new AV entry for fpscan 6.x, (F-PROT Antivirus for UNIX command-line
  scanner) based on information from Erik Slooff, Bruno Friedmann, and Steve);

- a new AV entry for fpscand 6.x (F-PROT Antivirus for Linux/BSD/Solaris),
  based on initial research by Alexander Wirt, Henrik K, and F-Prot
  documentation, thanks also to Haukur Valgeirsson of F-Prot International;

- ask_daemon_internal now keeps persistent connection to an F-PROT fpscand
  daemon, in addition to Sophie and Trophie daemons;

- new AV entry 'bdscan' for a new version of BitDefender Antivirus Scanner
  for Linux and FreeBSD; thanks to Gary V;

- updated README.postfix, thanks to Chris Pepper and Patrick Ben Koetter;

- updated amavisd-new-docs.html;




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

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

2008-03-12 Thread Voytek Eymont

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/


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

2008-03-12 Thread MrC
Voytek,

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

Make sure to also update perl-Scalar-List-Utils or itgs equivalent on 
your distro.

MrC

-
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-12 Thread John Evans
On Thu, 13 Mar 2008, Voytek Eymont wrote:

 # 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.

I'd use cpan as root and do this once in cpan:

install Compress::Zlib

If it asks for prerequesites to Compress::Zlib, allow cpan to install
it.

-- 
John Evans
Administrator of kilnar.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] can not restart with zlib error

2008-03-12 Thread Voytek Eymont

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

 I'd use cpan as root and do this once in cpan:
 install Compress::Zlib
 If it asks for prerequesites to Compress::Zlib, allow cpan to install
 it.

thanks, John, thanks, MrC

--
 cpan install Scalar::Util
Scalar::Util is up to date.

but when I try ZLIB, I get:

---
lot of stuff scrolling off followed by


.Use of uninitialized value in concatenation (.) or string at
/usr/lib/perl5/5.8.5/i386-linux-thread-multi/Scalar/Util.pm line 30.
t/08encoding..1/30
# Failed test (t/08encoding.t at line 33)
# Tried to use 'Compress::Zlib'.
# Error:   is only avaliable with the XS version at
/root/.cpan/build/Compress-Zlib-2.008/blib/lib/Compress/Zlib.pm line 9
# BEGIN failed--compilation aborted at t/08encoding.t line 33.
# Compilation failed in require at (eval 33) line 2.
# BEGIN failed--compilation aborted at (eval 33) line 2.
Bareword Compress::Zlib::zlib_version not allowed while strict subs in
use at t/08encoding.t line 40.
Bareword ZLIB_VERSION not allowed while strict subs in use at
t/08encoding.t line 40.
Execution of t/08encoding.t aborted due to compilation errors.
# Looks like you planned 30 tests but only ran 2.
# Looks like your test died just after 2.
t/08encoding.. Dubious, test returned 255 (wstat 65280, 0xff00)
 Failed 29/30 subtests
t/14gzopenUse of uninitialized value in concatenation (.) or
string at /usr/lib/perl5/5.8.5/i386-linux-thread-multi/Scalar/Util.pm line
30.
t/14gzopen1/251
# Failed test (t/14gzopen.t at line 25)
# Tried to use 'Compress::Zlib'.
# Error:   is only avaliable with the XS version at
/root/.cpan/build/Compress-Zlib-2.008/blib/lib/Compress/Zlib.pm line 9
# BEGIN failed--compilation aborted at t/14gzopen.t line 25.
# Compilation failed in require at (eval 33) line 2.
# BEGIN failed--compilation aborted at (eval 33) line 2.
Global symbol $gzerrno requires explicit package name at t/14gzopen.t
line 49.
Global symbol $gzerrno requires explicit package name at t/14gzopen.t
line 53.
Global symbol $gzerrno requires explicit package name at t/14gzopen.t
line 56.
Global symbol $gzerrno requires explicit package name at t/14gzopen.t
line 59.
Global symbol $gzerrno requires explicit package name at t/14gzopen.t
line 66.
Global symbol $gzerrno requires explicit package name at t/14gzopen.t
line 94.
Global symbol $gzerrno requires explicit package name at t/14gzopen.t
line 97.
Global symbol $gzerrno requires explicit package name at t/14gzopen.t
line 100.
Global symbol $gzerrno requires explicit package name at t/14gzopen.t
line 104.
Global symbol $gzerrno requires explicit package name at t/14gzopen.t
line 111.
Global symbol $gzerrno requires explicit package name at t/14gzopen.t
line 111.
Global symbol $gzerrno requires explicit package name at t/14gzopen.t
line 117.
Global symbol $gzerrno requires explicit package name at t/14gzopen.t
line 118.
Global symbol $gzerrno requires explicit package name at t/14gzopen.t
line 480.
Global symbol $gzerrno requires explicit package name at t/14gzopen.t
line 481.
Global symbol $gzerrno requires explicit package name at t/14gzopen.t
line 499.
Global symbol $gzerrno requires explicit package name at t/14gzopen.t
line 502.
Bareword Compress::Zlib::zlib_version not allowed while strict subs in
use at t/14gzopen.t line 38.
Bareword ZLIB_VERSION not allowed while strict subs in use at
t/14gzopen.t line 38.
Bareword Z_FINISH not allowed while strict subs in use at t/14gzopen.t
line 98.
Bareword Z_STREAM_END not allowed while strict subs in use at
t/14gzopen.t line 110.
Bareword Z_STREAM_END not allowed while strict subs in use at
t/14gzopen.t line 111.
Bareword Z_STREAM_ERROR not allowed while strict subs in use at
t/14gzopen.t line 446.
Bareword Z_STREAM_ERROR not allowed while strict subs in use at
t/14gzopen.t line 461.
Execution of t/14gzopen.t aborted due to compilation errors.
# Looks like you planned 251 tests but only ran 3.
# Looks like your test died just after 3.
t/14gzopen Dubious, test returned 255 (wstat 65280, 0xff00)
 Failed 249/251 subtests
t/99pod...ok

Test Summary Report
---
t/000prereq.t (Wstat: 1024 Tests: 7 Failed: 4)
  Failed tests:  2-4, 6
  Non-zero exit status: 4
t/01version.t (Wstat: 65280 Tests: 2 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 3 tests but ran 2.
t/03zlib-v1.t (Wstat: 65280 Tests: 4 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 402 tests but ran 4.
t/05examples.t (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/06gzsetp.t  (Wstat: 65280 Tests: 0 Failed: 0)
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
t/08encoding.t (Wstat: 65280 Tests: 2 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: Bad plan.  You planned 30 tests but ran 2.
t/14gzopen.t  (Wstat: 65280 Tests: 3 Failed: 

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

2008-03-12 Thread Clifton Royston
On Thu, Mar 13, 2008 at 01:35:40PM +1100, Voytek Eymont wrote:
 On Thu, March 13, 2008 12:55 pm, John Evans wrote:
  I'd use cpan as root and do this once in cpan:
  install Compress::Zlib
  If it asks for prerequesites to Compress::Zlib, allow cpan to install
  it.
 
 thanks, John, thanks, MrC
 
 --
  cpan install Scalar::Util
 Scalar::Util is up to date.
 
 but when I try ZLIB, I get:
 
 ---
 lot of stuff scrolling off followed by
 
 .Use of uninitialized value in concatenation (.) or string at
 /usr/lib/perl5/5.8.5/i386-linux-thread-multi/Scalar/Util.pm line 30.
 t/08encoding..1/30
 # Failed test (t/08encoding.t at line 33)
 # Tried to use 'Compress::Zlib'.
 # Error:   is only avaliable with the XS version at
 /root/.cpan/build/Compress-Zlib-2.008/blib/lib/Compress/Zlib.pm line 9
 # BEGIN failed--compilation aborted at t/08encoding.t line 33.
 # Compilation failed in require at (eval 33) line 2.
 # BEGIN failed--compilation aborted at (eval 33) line 2.
 Bareword Compress::Zlib::zlib_version not allowed while strict subs in
 use at t/08encoding.t line 40.
 Bareword ZLIB_VERSION not allowed while strict subs in use at
 t/08encoding.t line 40.
 Execution of t/08encoding.t aborted due to compilation errors.

  This sounds to me like your Compress::Zlib installation somehow got
partially - but not completely - uninstalled.  Specifically the error
above (under t/08encoding.t) seems to be saying that the XS portion of
the code is missing.  CPAN is seeing it as installed enough that it
doesn't try to reinstall it, but when it tries to run it as a test it
fails.

  Try

  cpan install Compress::Zlib

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

  -- Clifton

-- 
Clifton Royston  --  [EMAIL PROTECTED] / [EMAIL PROTECTED]
   President  - I and I Computing * http://www.iandicomputing.com/
 Custom programming, network design, systems and network consulting services

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