From linux-umbrella-bounces@lug.lk Fri Aug 21 10:16:47 2009
Received: from localhost.pdn.ac.lk ([127.0.0.1] helo=penguin.lug.lk)
	by penguin.lug.lk with esmtp (Exim 4.63)
	(envelope-from <linux-umbrella-bounces@lug.lk>)
	id 1MeM1K-0005UG-VZ; Fri, 21 Aug 2009 10:16:35 +0530
Received: from [192.248.40.1] (helo=hantana.pdn.ac.lk)
	by penguin.lug.lk with esmtp (Exim 4.63)
	(envelope-from <tidalbobo@gmail.com>) id 1MeM0M-0005Tt-7o
	for linux@lug.lk; Fri, 21 Aug 2009 10:15:34 +0530
Received: from localhost (localhost.pdn.ac.lk [127.0.0.1])
	by hantana.pdn.ac.lk (Postfix) with ESMTP id 994D75C029
	for <linux@lug.lk>; Fri, 21 Aug 2009 10:16:50 +0530 (LKT)
X-Virus-Scanned: amavisd-new at pdn.ac.lk
Received: from hantana.pdn.ac.lk ([127.0.0.1])
	by localhost (hantana.pdn.ac.lk [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id UhTQoLwZNTZN for <linux@lug.lk>;
	Fri, 21 Aug 2009 10:16:48 +0530 (LKT)
Received: from kitul.learn.ac.lk (kitul.learn.ac.lk [192.248.1.163])
	by hantana.pdn.ac.lk (Postfix) with ESMTP id 00AA05C026
	for <linux@lug.lk>; Fri, 21 Aug 2009 10:16:47 +0530 (LKT)
Received: from localhost (localhost [127.0.0.1])
	by kitul.learn.ac.lk (Postfix) with ESMTP id 8C04217C346
	for <linux@lug.lk>; Fri, 21 Aug 2009 10:16:46 +0530 (IST)
X-Virus-Scanned: amavisd-new at learn.ac.lk
Received: from kitul.learn.ac.lk ([127.0.0.1])
	by localhost (kitul.learn.ac.lk [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id R3fLpvzrCUfM for <linux@lug.lk>;
	Fri, 21 Aug 2009 10:16:35 +0530 (IST)
Received: from mail-px0-f178.google.com (mail-px0-f178.google.com
	[209.85.216.178])
	by kitul.learn.ac.lk (Postfix) with ESMTP id 8437617BD59
	for <linux@lug.lk>; Fri, 21 Aug 2009 10:16:11 +0530 (IST)
Received: by pxi8 with SMTP id 8so3942841pxi.9
	for <linux@lug.lk>; Thu, 20 Aug 2009 21:46:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.142.55.10 with SMTP id d10mr36751wfa.250.1250829968644; Thu, 
	20 Aug 2009 21:46:08 -0700 (PDT)
In-Reply-To: <d05326450908202145m6e44a1c2k7705c4da970bb3db@mail.gmail.com>
References: <d05326450908180912r4c8971c1pdc802559cb038f91@mail.gmail.com>
	<867260.14404.qm@web110516.mail.gq1.yahoo.com>
	<d05326450908202145m6e44a1c2k7705c4da970bb3db@mail.gmail.com>
Date: Fri, 21 Aug 2009 10:16:08 +0530
Message-ID: <d05326450908202146k12d82193ib87e1453e8e75152@mail.gmail.com>
From: tidalbobo <tidalbobo@gmail.com>
To: linux@lug.lk
Content-Type: multipart/alternative; boundary=001636b2bb00f49ad404719f8b5a
X-BeenThere: linux-umbrella@lug.lk
X-Mailman-Version: 2.1.9
Precedence: list
Sender: linux-umbrella-bounces@lug.lk
Errors-To: linux-umbrella-bounces@lug.lk
X-Mailman-Approved-At: Sat, 22 Aug 2009 22:19:09 +0530
Subject: [linux] Fwd:  Fwd: User List based restrictions - Postfix
X-BeenThere: linux@lug.lk
List-Id: <linux.lug.lk>
List-Unsubscribe: <https://secure.lug.lk/mailman/listinfo/linux>,
	<mailto:linux-request@lug.lk?subject=unsubscribe>
List-Archive: <http://secure.lug.lk/pipermail/linux>
List-Post: <mailto:linux@lug.lk>
List-Help: <mailto:linux-request@lug.lk?subject=help>
List-Subscribe: <https://secure.lug.lk/mailman/listinfo/linux>,
	<mailto:linux-request@lug.lk?subject=subscribe>
X-List-Received-Date: Fri, 21 Aug 2009 04:46:47 -0000

--001636b2bb00f49ad404719f8b5a
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

This should help

http://wiki.zimbra.com/index.php?title=Postfix_Policyd



On Fri, Aug 21, 2009 at 10:01 AM, Yasantha Uggallage <yasanthau@yahoo.com>wrote:

> Policyd installed. The webui is also up and running. But cant think of a
> way to get my requirement configured. Are there any howtos relating to
> configuration of policyd. The documents in policyd site wont provide that
> type of information.
>
>
> --- On *Tue, 8/18/09, tidalbobo <tidalbobo@gmail.com>* wrote:
>
>
> From: tidalbobo <tidalbobo@gmail.com>
> Subject: [linux] Fwd: User List based restrictions - Postfix
> To: linux@lug.lk
> Date: Tuesday, August 18, 2009, 12:12 PM
>
>
>
>
> ---------- Forwarded message ----------
> From: tidalbobo <tidalbobo@gmail.com<http://us.mc1105.mail.yahoo.com/mc/compose?to=tidalbobo@gmail.com>
> >
> Date: Tue, Aug 18, 2009 at 1:46 PM
> Subject: Re: [linux] User List based restrictions - Postfix
> To: Yasantha Uggallage <yasanthau@yahoo.com<http://us.mc1105.mail.yahoo.com/mc/compose?to=yasanthau@yahoo.com>
> >
>
>
> You should use a policy server.
> See http://www.policyd.org/
> This is possible and i have seen being done
>
> Keep us posted
>
>   On Tue, Aug 18, 2009 at 10:27 AM, Yasantha Uggallage <
> yasanthau@yahoo.com<http://us.mc1105.mail.yahoo.com/mc/compose?to=yasanthau@yahoo.com>
> > wrote:
>
>>     Hai all,
>>
>> It is possible to block attachments by file extensions using
>> "mime_header_checks" in postfix. But this setting applies to all users. Is
>> it possible to exempt some users from the above restriction or to put that
>> restriction to a list of users?
>>
>> At the same time I want to use "message_size_limit" also based on user
>> list or group of users. If "message_size_limit" is put to main.cf, it
>> applies to all users. If there are any howtos or tutorials, pls let us have
>> the links. I googled and found nothing relating to this. Thank you,
>>
>>
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam? Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.com
>>
>> _______________________________________________
>> linux mailing list
>> linux@lug.lk <http://us.mc1105.mail.yahoo.com/mc/compose?to=linux@lug.lk>
>> https://secure.lug.lk/mailman/listinfo/linux
>>
>>
>
>
> -----Inline Attachment Follows-----
>
> _______________________________________________
> linux mailing list
> linux@lug.lk <http://us.mc1105.mail.yahoo.com/mc/compose?to=linux@lug.lk>
> https://secure.lug.lk/mailman/listinfo/linux
>
>
>

--001636b2bb00f49ad404719f8b5a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><div class=3D"gmail_quote">This should help<br><br><a href=3D"http://wi=
ki.zimbra.com/index.php?title=3DPostfix_Policyd" target=3D"_blank">http://w=
iki.zimbra.com/index.php?title=3DPostfix_Policyd</a><div><div></div><div cl=
ass=3D"h5">
<br><br><br><div class=3D"gmail_quote">On Fri, Aug 21, 2009 at 10:01 AM, Ya=
santha Uggallage <span dir=3D"ltr">&lt;<a href=3D"mailto:yasanthau@yahoo.co=
m" target=3D"_blank">yasanthau@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><table border=3D"=
0" cellpadding=3D"0" cellspacing=3D"0"><tbody><tr><td style=3D"font-family:=
 inherit; font-style: inherit; font-variant: inherit; font-weight: inherit;=
 font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-=
stretch: inherit;" valign=3D"top">

Policyd installed. The webui is also up and running. But cant think of=A0a =
way to get my requirement configured. Are there any howtos relating to conf=
iguration of policyd. The documents in policyd site wont provide that type =
of information.<div>

<br><br><br>--- On <b>Tue, 8/18/09, tidalbobo <i>&lt;<a href=3D"mailto:tida=
lbobo@gmail.com" target=3D"_blank">tidalbobo@gmail.com</a>&gt;</i></b> wrot=
e:<br>
</div><blockquote style=3D"border-left: 2px solid rgb(16, 16, 255); padding=
-left: 5px; margin-left: 5px;"><div><br>From: tidalbobo &lt;<a href=3D"mail=
to:tidalbobo@gmail.com" target=3D"_blank">tidalbobo@gmail.com</a>&gt;<br>
</div>Subject: [linux] Fwd: User List based restrictions - Postfix<br>To: <=
a href=3D"mailto:linux@lug.lk" target=3D"_blank">linux@lug.lk</a><br>Date: =
Tuesday, August 18, 2009, 12:12 PM<div><div></div><div><br><br>
<div><br><br>
<div class=3D"gmail_quote">---------- Forwarded message ----------<br>From:=
 <b class=3D"gmail_sendername">tidalbobo</b> <span dir=3D"ltr">&lt;<a href=
=3D"http://us.mc1105.mail.yahoo.com/mc/compose?to=3Dtidalbobo@gmail.com" re=
l=3D"nofollow" target=3D"_blank">tidalbobo@gmail.com</a>&gt;</span><br>

Date: Tue, Aug 18, 2009 at 1:46 PM<br>Subject: Re: [linux] User List based =
restrictions - Postfix<br>To: Yasantha Uggallage &lt;<a href=3D"http://us.m=
c1105.mail.yahoo.com/mc/compose?to=3Dyasanthau@yahoo.com" rel=3D"nofollow" =
target=3D"_blank">yasanthau@yahoo.com</a>&gt;<br>

<br><br>You should use a policy server.<br>See <a href=3D"http://www.policy=
d.org/" rel=3D"nofollow" target=3D"_blank">http://www.policyd.org/</a><br>T=
his is possible and i have seen being done<br><br>Keep us posted<br><br>
<div class=3D"gmail_quote">
<div>
<div></div>
<div>On Tue, Aug 18, 2009 at 10:27 AM, Yasantha Uggallage <span dir=3D"ltr"=
>&lt;<a href=3D"http://us.mc1105.mail.yahoo.com/mc/compose?to=3Dyasanthau@y=
ahoo.com" rel=3D"nofollow" target=3D"_blank">yasanthau@yahoo.com</a>&gt;</s=
pan> wrote:<br>

</div></div>
<blockquote style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt=
 0pt 0pt 0.8ex; padding-left: 1ex;" class=3D"gmail_quote">
<div>
<div></div>
<div>
<table border=3D"0" cellpadding=3D"0" cellspacing=3D"0">
<tbody>
<tr>
<td style=3D"font-family: inherit; font-size-adjust: inherit; font-stretch:=
 inherit;" valign=3D"top">
<div>Hai all,</div>
<div>=A0</div>
<div>It is possible to block attachments by file extensions using &quot;mim=
e_header_checks&quot; in postfix. But this setting applies to all users. Is=
 it possible to exempt some users from the above restriction or to put that=
 restriction to a list of users?</div>


<div>=A0</div>
<div>At the same time I want to use &quot;message_size_limit&quot; also bas=
ed on user list or group of users. If &quot;message_size_limit&quot; is put=
 to <a href=3D"http://main.cf/" rel=3D"nofollow" target=3D"_blank">main.cf<=
/a>, it applies to all users. If there are any howtos or tutorials, pls let=
 us have the links. I googled and found nothing relating to this. Thank you=
,</div>


<div>=A0</div>
<div>
<div>=A0</div></div></td></tr></tbody></table>
<div><br>__________________________________________________<br>Do You Yahoo=
!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br><a=
 href=3D"http://mail.yahoo.com/" rel=3D"nofollow" target=3D"_blank">http://=
mail.yahoo.com</a> </div>

<br></div></div>_______________________________________________<br>linux ma=
iling list<br><a href=3D"http://us.mc1105.mail.yahoo.com/mc/compose?to=3Dli=
nux@lug.lk" rel=3D"nofollow" target=3D"_blank">linux@lug.lk</a><br><a href=
=3D"https://secure.lug.lk/mailman/listinfo/linux" rel=3D"nofollow" target=
=3D"_blank">https://secure.lug.lk/mailman/listinfo/linux</a><br>

<br></blockquote></div><br></div><br></div><br></div></div>-----Inline Atta=
chment Follows-----<div><br><br>
<div>_______________________________________________<br>linux mailing list<=
br><a href=3D"http://us.mc1105.mail.yahoo.com/mc/compose?to=3Dlinux@lug.lk"=
 target=3D"_blank">linux@lug.lk</a><br><a href=3D"https://secure.lug.lk/mai=
lman/listinfo/linux" target=3D"_blank">https://secure.lug.lk/mailman/listin=
fo/linux</a><br>

</div></div></blockquote></td></tr></tbody></table><br>



      </blockquote></div><br>
</div></div></div><br>

--001636b2bb00f49ad404719f8b5a--




