View Single Post
Old 21st September 2011, 19:22
wyrie wyrie is offline
Junior Member
Join Date: Jan 2009
Posts: 28
Thanks: 2
Thanked 9 Times in 6 Posts
Default Amavisd policy & message_size_limit


I've come across a interesting situation with the amavisd policy settings, specifically regarding message size restrictions.

The situation is this:
I have set message size restrictions in my main config file using @message_size_limit_maps (for example: => 3*1024*1024)

In ISPC the mailbox spam policy is set to 'Normal' which has it's message size restriction set to zero. Amavisd interprets this value as disable which overrides my main config file value. Manually setting the value to NULL in the spamfilter_policy table fixes the situation and amavisd adheres to the value set in the main config file.

Is this behavior intended?

It's problematic for me as I would like to enforce size limits that a user cannot override by setting or changing their policy. Chaning the default value of zero to NULL would fix this.
Reply With Quote
Sponsored Links