I do not want to block mails depending on size by amavis or spamassassin.

I'm worried about mails in quarantine that should not be processed at all by
spamassassin because mail size is greater than $sa_mail_body_size_limit

 

Von: Michael Scheidell [mailto:[email protected]] 
Gesendet: Donnerstag, 17. September 2009 12:58
An: Bernd Probst
Cc: [email protected]
Betreff: Re: [AMaViS-user] $sa_mail_body_size_limit

 

Bernd Probst wrote: 

Hi all
 
Looking into directories of quarantined mails I realized that the file size
of some of these mails is larger than $sa_mail_body_size_limit. Some of the
larger mails have files attached, some of these mails are HTML Mails with or
without text-only part. 
 
  

sa_mail_body_limit doesn't limit the size of the quarantined email, it
limits the size that is sent to SA for processing.

if you want to block emails over a certain size, you can best do that in the
MTA.
If you want to quarantine emails over a certain size, you can use other
amavisd settings to do that.

if you want to delete (trim, truncate, muck up, screw up, trash) emails over
a certain size, you can do something like:

'delete from quarantine where /* partition_tag=$partition_tag and */
chunk_ind > 15'

(given each chunk is 1500 bytes, I think)

but if you DO that, you will most likely trash the email.



-- 
Michael Scheidell, CTO
Phone: 561-999-5000, x 1259
> | SECNAP Network Security Corporation 

.         Certified SNORT Integrator

.         2008-9 Hot Company Award Winner, World Executive Alliance

.         Five-Star Partner Program 2009, VARBusiness

.         Best Anti-Spam Product 2008, Network Products Guide

.         King of Spam Filters, SC Magazine 2008

 

  _____  

This email has been scanned and certified safe by SpammerTrapR. 
For Information please see http://www.secnap.com/products/spammertrap/

  _____  

 

  _____  

This email has been scanned and certified safe by SpammerTrapR. 
For Information please see www.spammertrap.com

  _____  

 

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
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/ 

Reply via email to