Andres,
> I appreciate your patience on this.
> That's a year old from source but from packages is the last ( I do not
> know why ubuntu package maintainera are not using a more updated
> version).
My choice of OS is FreeBSD :-)
> In this very conversation thread I patched amavisd-new file to be
> compatible with Net::Server, and it worked some weeks, until today.
>
> What do you advice me to do to cause little impact? Use amavisd-new
> not from packages? Do I have to uninstall it from packages first?
> Or can I deal with Net::Server a little more?
Here is the patch that should apply cleanly to 2.3.3:
--- amavisd~ Mon Aug 22 01:46:15 2005
+++ amavisd Thu Dec 14 16:20:30 2006
@@ -13370,10 +13370,12 @@
defined $ln || $!==0 || $!==EAGAIN
or die "Error reading from file(1) utility: $!";
+ my($err); $proc_fh->close or $err = $!;
+ my(@errmsg);
+ $?==0 or or push(@errmsg, "failed, ".exit_status_str($?,$err));
if ($index < @part_list) {
- die sprintf("parsing file(1) results - missing last %d results",
- @part_list - $index);
+ push(@errmsg, sprintf("parsing failure - missing last %d results",
+ @part_list - $index));
}
- my($err); $proc_fh->close or $err = $!;
- $?==0 or die ("'file' utility ($file) failed, ".exit_status_str($?,$err));
+ [EMAIL PROTECTED] or die "file(1) utility ($file) ".join(", ",@errmsg);
section_time(sprintf('get-file-type%d', scalar(@part_list)));
}
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/