OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: "message_size_limit" restriction.

From: Truong Tan Son (sonttfcv.fujitsu.com)
Date: Wed Mar 29 2006 - 02:37:33 CST


Came wrote:
>> Full idea:
>>
>> * On LAN : accept message_size <= 5Mb.
>> * LAN -----> Internet : accept message_size <= 1Mb.
>
> Only way i see this working is if you have 2 seperate
> databases for Policyd.
>
> Policyd (database1) -> default config set to allow 5meg mail per user.

 For *On LAN ( localdomain.com ------> localdomain.com )

> Policyd (database2) -> default config set to allow 1meg mail per user.

For *LAN ---> Internet ( localdomain.com ----> <Unknow domain> ? )

Generates 3 the difficulties:
    
        a) how to assign <Unknow domain >?
        
        b) smtpd_recipient_restrictions =
          ...
            reject_unauth_destination
            reject_unlisted_recipient
            check_policy_service inet:127.0.0.1:10031 ??

        c) How to make Policyd understands 2 separate databases ???

Thanks you and best regards,
--