[AMaViS-user] Compress quarantined spam letters

This is a discussion on [AMaViS-user] Compress quarantined spam letters within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Hello. When i was using amavisd-2.3 it was compressing spam and virus quarantine messages with gzip(1), but ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-04-2008
Igor Zinovik
 
Posts: n/a
Default [AMaViS-user] Compress quarantined spam letters

Hello.

When i was using amavisd-2.3 it was compressing spam and virus
quarantine messages with gzip(1), but 2.5 does not do this even when i
explicitly set gzip='/usr/bin/gzip'. How can i enable compression for
quarantined messages?

P.S. Are there any effort to prapare man pages for amavisd that will
describe amavisd-agent stats and amavisd.conf knobs?

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply With Quote
  #2 (permalink)  
Old 06-04-2008
Mark Martinec
 
Posts: n/a
Default Re: [AMaViS-user] Compress quarantined spam letters

Igor,

> When i was using amavisd-2.3 it was compressing spam and virus
> quarantine messages with gzip(1), but 2.5 does not do this even when i
> explicitly set gzip='/usr/bin/gzip'. How can i enable compression for
> quarantined messages?


The $gzip='/usr/bin/gzip' has nothing to do with compression a quarantine,
in only controls what program can be used for decoding mail parts.

Whether a quarantine file is compressed or not depends on the
setting of a %quarantine_method_by_ccat, e.g.:
$spam_quarantine_method = 'local:spam/%m.gz'; # compressed
$spam_quarantine_method = 'local:spam/%m'; # uncompressed

That is, if the file name template ends with '.gz' the file
will be compressed, otherwise not.

> P.S. Are there any effort to prapare man pages for amavisd that will
> describe amavisd-agent stats and amavisd.conf knobs?


Not really...

Some of the more-recently introduced counters are listed
and briefly described in release notes. Some of the rest are
pretty much self-explanatory, and for the rest check the
source or ask.

Mark

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply With Quote
  #3 (permalink)  
Old 06-04-2008
Mark Martinec
 
Posts: n/a
Default Re: [AMaViS-user] Compress quarantined spam letters

> Whether a quarantine file is compressed or not depends on the
> setting of a %quarantine_method_by_ccat, e.g.:
> $spam_quarantine_method = 'local:spam/%m.gz'; # compressed
> $spam_quarantine_method = 'local:spam/%m'; # uncompressed
> That is, if the file name template ends with '.gz' the file
> will be compressed, otherwise not.


See also:
http://www.ijs.si/software/amavisd/a...tml#quarantine

Mark

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:26 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0