Hi I didnt find the counter option in policy daemon after installation of policy daemon. Its my request please mention the step by step where click and where i go to find the option because as mention in your reply counter...but i didnt find yout.I have to just set the policy daemon with postfix send 10 min in 60 second thats it.please advise?
> From: [email protected] > Subject: Users Digest, Vol 42, Issue 5 > To: [email protected] > Date: Wed, 14 Dec 2011 12:00:01 +0000 > > Send Users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.policyd.org/mailman/listinfo/users > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Users digest..." > > > Today's Topics: > > 1. Re: restrict postfix outgoing email (ALi Ramzan) > 2. Re: restrict postfix outgoing email (Simon Hobson) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 14 Dec 2011 12:48:12 +0500 > From: ALi Ramzan <[email protected]> > Subject: Re: [policyd-users] restrict postfix outgoing email > To: <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > > How are you?Sir i have a problem. I have a postfix and using gmail as a relay > without authentication,the problem is this postfix is just using for sending > email its send 1000s of email in a one day.I need your help i want to > restrict the postfix send a 20 emails in a 1min and stop , i have tried my > setting but its not > working my server ip is blacklisted on RBL level-1 so i want to restrict it. > i have also use a policy daemon but i dont how to use it if you have any idea > about this please help me out. > Please mentioned complete step by step guide line thanks in advance. > > > From: [email protected] > > Subject: Users Digest, Vol 42, Issue 4 > > To: [email protected] > > Date: Tue, 13 Dec 2011 17:04:56 +0000 > > > > Send Users mailing list submissions to > > [email protected] > > > > To subscribe or unsubscribe via the World Wide Web, visit > > http://lists.policyd.org/mailman/listinfo/users > > or, via email, send a message with subject or body 'help' to > > [email protected] > > > > You can reach the person managing the list at > > [email protected] > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of Users digest..." > > > > > > Today's Topics: > > > > 1. delay in postfix (ALi Ramzan) > > 2. Re: Restrict email sending / receiving to specific email > > addresses (Nigel Kukard) > > 3. Re: delay in postfix (Nigel Kukard) > > 4. Re: delay in postfix (Simon Hobson) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Tue, 13 Dec 2011 17:23:07 +0500 > > From: ALi Ramzan <[email protected]> > > Subject: [policyd-users] delay in postfix > > To: <[email protected]> > > Message-ID: <[email protected]> > > Content-Type: text/plain; charset="iso-8859-1" > > > > > > Hi > > i have installed the policy daemon i want to set the restrict postfix send > > the 10 emails in 1min .please help me > > Thanks > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: > > http://lists.policyd.org/pipermail/users/attachments/20111213/2a27bf2a/attachment-0001.htm > > > > > > ------------------------------ > > > > Message: 2 > > Date: Tue, 13 Dec 2011 12:37:02 +0000 > > From: Nigel Kukard <[email protected]> > > Subject: Re: [policyd-users] Restrict email sending / receiving to > > specific email addresses > > To: [email protected] > > Message-ID: <[email protected]> > > Content-Type: text/plain; charset="utf-8" > > > > On 12/13/11 06:34, Shamjith G wrote: > > > Hi, > > > > > > I am new to policyd, so please excuse if this is answered already > > > ..how do i set policy and access control to achieve below scenario. > > > please help me > > > > > > user [email protected] <mailto:[email protected]> can sent/receive mail > > > only to example.com <http://example.com> or example2.com....if > > > [email protected] <mailto:[email protected]> try to send any other domain > > > other than this should bounce and [email protected] > > > <mailto:[email protected]> can receive mails only from example.com > > > <http://example.com> or example2.com <http://example2.com>. > > > > > > user [email protected] <mailto:[email protected]> should able to > > > send/receive mails from anywhere. > > > > > > > You first need to setup a policy to match the email traffic you want. > > Then you need to add a quota to that. > > http://policyd.org/content/policies-configuration > > http://policyd.org/content/quotas > > > > -N > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: > > http://lists.policyd.org/pipermail/users/attachments/20111213/9b75e0fc/attachment-0001.htm > > > > -------------- next part -------------- > > A non-text attachment was scrubbed... > > Name: smime.p7s > > Type: application/pkcs7-signature > > Size: 5205 bytes > > Desc: S/MIME Cryptographic Signature > > Url : > > http://lists.policyd.org/pipermail/users/attachments/20111213/9b75e0fc/attachment-0001.p7s > > > > > > ------------------------------ > > > > Message: 3 > > Date: Tue, 13 Dec 2011 12:38:23 +0000 > > From: Nigel Kukard <[email protected]> > > Subject: Re: [policyd-users] delay in postfix > > To: [email protected] > > Message-ID: <[email protected]> > > Content-Type: text/plain; charset="utf-8" > > > > On 12/13/11 12:23, ALi Ramzan wrote: > > > Hi > > > > > > i have installed the policy daemon i want to set the restrict postfix > > > send the 10 emails in 1min .please help me > > > > > > Thanks > > > > The subject of this mail is misleading? delay vs. quota? > > > > You first need to setup a policy to match the email traffic you want. > > Then you need to add a quota to that. > > http://policyd.org/content/policies-configuration > > http://policyd.org/content/quotas > > > > If you have trouble, show us what you have so far. > > > > -N > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: > > http://lists.policyd.org/pipermail/users/attachments/20111213/6c4f9d95/attachment-0001.htm > > > > -------------- next part -------------- > > A non-text attachment was scrubbed... > > Name: smime.p7s > > Type: application/pkcs7-signature > > Size: 5205 bytes > > Desc: S/MIME Cryptographic Signature > > Url : > > http://lists.policyd.org/pipermail/users/attachments/20111213/6c4f9d95/attachment-0001.p7s > > > > > > ------------------------------ > > > > Message: 4 > > Date: Tue, 13 Dec 2011 13:35:31 +0000 > > From: Simon Hobson <[email protected]> > > Subject: Re: [policyd-users] delay in postfix > > To: [email protected] > > Message-ID: <[email protected]> > > Content-Type: text/plain; charset="us-ascii" ; format="flowed" > > > > ALi Ramzan wrote: > > > > >i have installed the policy daemon i want to set the restrict > > >postfix send the 10 emails in 1min .please help me > > > > Step 1 - RTFM > > Documentation is at http://www.policyd.org/content/policyd-support > > > > Step 2 - come back and ask is you have a specific question after that. > > > > http://www.catb.org/~esr/faqs/smart-questions.html > > > > > > You will want to be looking at the Quotas module. > > You need to decide what you want to restrict - total emails > > restricted to 10/minute, 10/minute/domain, 10/minute/sender address, > > 10/minute/SASL User, something else ? > > Then configure a policy to match the traffic, and a quota to control it. > > > > > > -- > > Simon Hobson > > > > Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed > > author Gladys Hobson. Novels - poetry - short stories - ideal as > > Christmas stocking fillers. Some available as e-books. > > > > > > ------------------------------ > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.policyd.org/mailman/listinfo/users > > > > > > End of Users Digest, Vol 42, Issue 4 > > ************************************ > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.policyd.org/pipermail/users/attachments/20111214/6c3659d7/attachment.html > > > ------------------------------ > > Message: 2 > Date: Wed, 14 Dec 2011 08:11:22 +0000 > From: Simon Hobson <[email protected]> > Subject: Re: [policyd-users] restrict postfix outgoing email > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset="us-ascii" ; format="flowed" > > ALi Ramzan wrote: > > >I have a postfix and using gmail as a relay > >without authentication,the problem is this postfix is just using for > > sending email its send 1000s of email in a one day. > > OK, so you are sending thousands of messages a day, and you are > sending them all through gmail. That's pretty well guaranteed to get > you blacklisted. > > I assume from the message quantities, this is either a commercial > mail system, or you are hosting a popular mailing list. Unless your > upstream ISP provides a mail relay, then you really should be sending > the mail yourself, not using some third party as a relay. > > At work I run a mail server handling thousands of mails a day for > users. We don't find blacklisting to be a problem as long as we > behave ourselves and keep an eye on what our users are doing. We did > have a case where a customer got affected by something, and their > systems were sending messages as fast as ours could take them - that > got us temporarily blacklisted, but not for long (especially since I > stopped the queue and put all theirs on hold, and then deleted all > the spam). > > >I need your help i want to restrict the postfix send a 20 emails in > >a 1min and stop , i have tried my setting but its not > > OK, policyd can **not** do that. It can rate limit, but it will not > pass n messages and then stop. > If you set the rate to (say) 10/min) then it will allow up to 10 > messages in a short space of time - in the same second if the systems > will handle it. An 11th message will "trip" the system by going over > quota, but after a short time the counter will reduce and more > messages will be allowed through. > The way the counter works is along the lines of : > If counter is below limit : > permit message > add one to counter > else > reduce counter > new value = old value - (old value * (t/T)) > > where t = delay since last attempt, T = time peeriod set in quota. So > if you got the quota counter up to 11, and sent a new message after 6 > seconds, then the counter would be reduced by 11 * ( 6/60), or 1.1. > So the new value would be 9.9 and a new message could then be > permitted. > > What this means is that if you just try sending messages rapidly, > your average rate will be held to the 10/min set, but the > instantaneous rate will vary a bit. > > >i have also use a policy daemon but i dont how to use it if you have > >any idea about this please help me out. > > I believe you have already been told this twice : > > You need to configure a policy to handle the traffic. > You configure which traffic "goes through" that policy using the policy rules. > Then you configure the quota module for that policy - you configure > the rate, the time period that rate applies over, and whether you are > applying a quota to the whole system, by sender address, by SASL > account, or something else. > > -- > Simon Hobson > > Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed > author Gladys Hobson. Novels - poetry - short stories - ideal as > Christmas stocking fillers. Some available as e-books. > > > ------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > http://lists.policyd.org/mailman/listinfo/users > > > End of Users Digest, Vol 42, Issue 5 > ************************************
_______________________________________________ Users mailing list [email protected] http://lists.policyd.org/mailman/listinfo/users
