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.
How does amavis calculate the size of a mail which is compared with
$sa_mail_body_size_limit?
My configuration is:
$sa_mail_body_size_limit = 100*1024;
amavis version is 2.6.4
---
Bernd Probst
------------------------------------------------------------------------------
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
AMaVi...@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/
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
_________________________________________________________________________
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
Bernd Probst wrote:
> | 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
Bernd Probst wrote:
>
> 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
>
Read the release notes.
--
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.spammertrap.com
_________________________________________________________________________
> 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
As Michael pointed out, see release notes of a 2.6.4 release, starting with:
- large messages beyond $sa_mail_body_size_limit are now partially passed
to SpamAssassin and other spam scanners for checking: a copy passed to
a spam scanner is truncated near or slightly past the indicated limit.
Large messages are no longer given an almost free passage through spam
checks. [...]
The feature works best with the version 3.3.0 of SpamAssassin. With earlier
versions DKIM signatures are invalidated by message truncation, which can
fire some fraud protection rules (for large messages), which are based on
validity of a DKIM signature.
Mark