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 SpammerTrap(r).
For Information please see http://www.secnap.com/products/spammertrap/
_________________________________________________________________________
_________________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r).
For Information please see http://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/