OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: attachment size by domains

From: Adrian Mak (makkaichunggmail.com)
Date: Sat Aug 27 2005 - 01:46:24 CDT


Then I postfix document said that message_size_limit (default: 10240000)

If I want to set it to unlimit, should I set to zero ?
message_size_limit = 0

2005/8/27, Cami <camismweb.co.za>:
> Adrian Mak wrote:
> > Is postfix "message_size_limit" is limit each delivery message size
> > globally ? no matter how many virtual domains which postfix hosted ?
> >
> > In other words, can it be configured by domains ? For example looking
> > up a table e.g. dbm, mysql db, etc
> >
> > Says,
> > message_size_limit = mysql:/etc/postfix/message_size.cf
> >
> > then in message_size.cf
> > it may has
> > hosts = localhost
> > dbname = postfix
> > user = postfixuser
> > password = userpostfix
> > query = SELECT messgsize FROM domain WHERE domain='%s'
>
> This is not possible. What is going to happen when you get a
> message destined for multiple domains? How are you going to
> deny the one mail and allow the other?
>
> Cami
>
>