On 3/29/06, Gary V <[EMAIL PROTECTED]> wrote:
> Jiří wrote:
>
> > Mark Martinec napsal(a):
> >> Jiří,
> >>
> >>
> >>> I´m trying to run amavisd-new with postfix and nod32 (20030616p10-5) on
> >>> debian sarge but with config file from previous installation (it was
> >>> amavis version from debian unstable).
>
> Trying to use a newer version of a config file with an older version
> of amavisd-new in many cases will cause amavisd-new to fail to start.
> The fact that you are able to start up most likely means your
> particular settings are still compatible with the older version.
>
> >>>
> >>> Mar 21 14:44:56 gate amavis[9408]: (09408-03) ESMTP> 451 4.5.0 Error in
> >>> processing, id=09408-03, decoding2-get-file-types FAILED: 'file' utility
> >>> (/usr/bin/file) failed, status=1 (256 ) at /usr/sbin/amavisd-new line 
> >>> 3853.
> >>>
> >>> Where can be the problem? The amavis stops the emails even if they are
> >>> plain text. Manual running of /usr/bin/file on stored email.txt works 
> >>> fine.
> >>>
>
> >> Such test should be run as user vscan (or whatever amavisd runs under)
> >> to be able to spot file access/protection violations.
> >> If running chrooted, a test should be done chrooted as well.
> >>
> >> Btw, you must not have Net::Server newer than 0.90, which is
> >> the last version compatible with amavisd-new <= 2.3.3
> >> ... although I do not think this was your problem.
> >>
> >>   Mark
> >>
>
> > How could I learn my version of Net::Server and how to eventually
> > downgrade it?
> > Thanks for reply.
>
> If you are running Sarge you are probably using an older version.
> You can determine the version by starting amavisd-new in debug mode
> and noticing near the beginning of the debug output. Or try:
>
> perl -MNet::Server -e 'print "$Net::Server::VERSION\n";'
>
> The newest version at the moment from Debian is 0.90. If you installed
> from CPAN however you may have a newer version. If you did install
> from CPAN (or source) and you are using a newer version, you could
> simply install 0.90 over the top of the newer version.
>
> cd /usr/local/src
> wget 
> http://search.cpan.org/CPAN/authors/id/R/RH/RHANDOM/Net-Server-0.90.tar.gz
> tar xzvf Net-Server-0.90.tar.gz
> cd Net-Server-0.90
> perl Makefile.PL
> make && make test && make install
>
> On a Debian system (and probably others) if you install from CPAN (or
> source), that is the copy Perl will find first, so any libnet-server-perl
> package you install from Debian will from now on be ignored. This is
> just for future reference.
>
> Gary V
>
>
>
> -------------------------------------------------------
> 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/
>
Thanx Gray,

This solved my problem.
Thanx a Lot.

Regards
Ram

Reply via email to