[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amavis-user
Subject:    RE: [AMaViS-user] Problem with gzip
From:       "Gary Landers" <gary2506 () tein ! net>
Date:       2004-08-30 15:02:50
Message-ID: 026701c48ea2$7127dae0$d174ac3f () MUDDY
[Download RAW message or body]

Thanks, I take it you commented out the GZ line and uncommented the
"normal" line

I may have found another fix for it
I downloaded the source for gzip and build a new one
ftp://wuarchive.wustl.edu/mirrors/gnu/gzip/gzip-1.2.4.tar
Then copied it to chroot -> /usr/bin and /usr/bin
 it shows a different version when I do gzip -V

Since last night, I don't see any TROUBLE lines. 

So far so good,  if it shows up I will try your fix.

Gary Landers

> -----Original Message-----
> From: Sean Hafeez [mailto:sahafeez@zaphodb.org] 
> Sent: Monday, August 30, 2004 12:48 AM
> To: Gary Landers
> Subject: Re: [AMaViS-user] Problem with gzip
> 
> 
> Check the mail archive. I posted this question last week. I had to 
> change something in the amvisd file itself. I do not remember 
> the exact 
> thing right now. Search the /usr/local/sbin/amavisd for .gz If you 
> remove the .gz it will not gzip the file and the issues goes 
> away. The 
> issues has something to do with the shell in a chroot. Gzip needs 
> something that I was never able to get setup right. Ah, found the 
> line...
> 
> It is in file amavisd, probably in /usr/local/sbin/
> 
>    %Amavis::Conf::local_delivery_aliases = (
>      'virus-quarantine'    => sub { ($QUARANTINEDIR,  $VIRUSFILE) },
>      'banned-quarantine'   => sub { ($QUARANTINEDIR,  $VIRUSFILE) },
>      'bad-header-quarantine'=>sub { ($QUARANTINEDIR,  $VIRUSFILE) },
>    # 'spam-quarantine'     => sub { ($QUARANTINEDIR,  
> $VIRUSFILE) },     
> # normal
>      'spam-quarantine'     => sub { ($QUARANTINEDIR, 
> "$VIRUSFILE.gz") }, 
> # gzipped
> 
> 
> On Aug 29, 2004, at 10:34 PM, Gary Landers wrote:
> 
> I set up a SPAM Virus gateway per instructions published by 
> Scott Vintinner. Using OpenBSD 3.5, and the latest versions 
> of amavisd-new, SpamAssassin, ClamAV, Razor and DCC Running 
> amavisd-new in chroot
> 
> I get the following errors
> 
> Aug 29 23:13:17 bearpaw amavis[10333]: (10333-07) TROUBLE in 
> check_mail: spam quar+notif FAILED: Closing pipe to 
> /usr/bin/gzip: DIED on signal 127, Broken pipe at 
> /usr/local/sbin/amavisd line 3552, <GEN7> line 1139. Aug 29 
> 23:13:17 bearpaw amavis[10333]: (10333-07) TROUBLE in 
> check_mail: spam quar+notif FAILED: Closing pipe to 
> /usr/bin/gzip: DIED on signal 127, Broken pipe at 
> /usr/local/sbin/amavisd line 3552, <GEN7> line 1139. Aug 29 
> 23:13:17 bearpaw amavis[10333]: (10333-07) PRESERVING 
> EVIDENCE in /var/amavisd/tmp/amavis-20040829T231050-10333
> 
> I used ldd /usr/bin/gzip and made sure that all the files 
> were copied to chroot directory tree.
> 
> I found some mention of gzip problems in the archives but it 
> seemed to be with older versions. This seems to be the only problem.
> 
> Any suggestions or workarounds?
> 
> Gary Landers
> TEIN Network
> Lewistown, MT
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today. 
> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
> 
> _______________________________________________
> 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 BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
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/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic