changing the error code for "Message delivery request rate limit exceeded" situation

2012-07-11 Thread Kovács Albert
Hello, by default postfix reject with 5.7.1 (permanent) error if the client exceeded the set rate limit. Is it possible to give him a temporary (4xx) error? Albert

Re: changing the error code for "Message delivery request rate limit exceeded" situation

2012-07-11 Thread Wietse Venema
Kov?cs Albert: [ Charset ISO-8859-1 unsupported, converting... ] > Hello, > >by default postfix reject with 5.7.1 (permanent) error if the client >exceeded the set rate limit. Postfix has no "Message delivery request rate..." error message. Wietse

Re: changing the error code for "Message delivery request rate limit exceeded" situation

2012-07-11 Thread Wietse Venema
Wietse Venema: > Kov?cs Albert: > > Hello, > > > >by default postfix reject with 5.7.1 (permanent) error if the client > >exceeded the set rate limit. > > Postfix has no "Message delivery request rate..." error message. To be precise, Postfix does not send that to the remote SMTP client. Postfix

My doc-foo is failing mail (policy delegation)

2012-07-11 Thread Ralf Hildebrandt
When using a policy daemon in smtpd_data_restrictions: Is the policy daemon called ONCE for every sender - recipient tuple? My goal is: I want to impose a limit on the number of mails an envelope sender can send per time unit. If the policy daemon is called ONCE for every sender - recipient tupl

Re: My doc-foo is failing mail (policy delegation)

2012-07-11 Thread Michael Alan Dorman
Ralf Hildebrandt writes: > When using a policy daemon in smtpd_data_restrictions: > > Is the policy daemon called ONCE for every > sender - recipient tuple? > > My goal is: I want to impose a limit on the number of mails an > envelope sender can send per time unit. If the policy daemon is called

Re: My doc-foo is failing mail (policy delegation)

2012-07-11 Thread Wietse Venema
Ralf Hildebrandt: > When using a policy daemon in smtpd_data_restrictions: > > Is the policy daemon called ONCE for every > sender - recipient tuple? Postfix invokes smtpd_clientrestrictions ONCE for every client connection. Postfix invokes smtpd_helo_restrictions ONCE for every HELO or EHLO co

Re: My doc-foo is failing mail (policy delegation)

2012-07-11 Thread Ralf Hildebrandt
* Michael Alan Dorman : > Ralf Hildebrandt writes: > > When using a policy daemon in smtpd_data_restrictions: > > > > Is the policy daemon called ONCE for every > > sender - recipient tuple? > > > > My goal is: I want to impose a limit on the number of mails an > > envelope sender can send per ti

i am working on a policy Daemon like policyD

2012-07-11 Thread Eliezer Croitoru
i am working on a policy Daemon like policyD i started reading : www.postfix.org/SMTPD_POLICY_README.html but i'm not sure on what phases i can declare a "ceck_policy_service" i know i can use it on: smtpd_end_of_data_restrictions, smtpd_sender_restrictions, smtpd_recipient_restrictions. it stat

RE-Postfix make install. Do not support mysql and pcre /Finish

2012-07-11 Thread Feel Zhou
Thanks for all my friend. and thanks for Joe's proposal. Last message is too long. can not reply it. Actually, I lost mysql-devel pcre-devel packages So I reinstall centos with these packages, and down postfix-2.9.3 Use the command make ,Everything working. I'm so glad [root@mail ~]# make -f Makef

Re: i am working on a policy Daemon like policyD

2012-07-11 Thread Wietse Venema
Eliezer Croitoru: > i am working on a policy Daemon like policyD > i started reading : www.postfix.org/SMTPD_POLICY_README.html > but i'm not sure on what phases i can declare a "ceck_policy_service" > i know i can use it on: smtpd_end_of_data_restrictions, > smtpd_sender_restrictions, smtpd_recip

Re: ot: head office/branch office mailserver howto?

2012-07-11 Thread Viktor Dukhovni
On Wed, Jul 11, 2012 at 08:06:06AM +0200, Robert Schetterer wrote: > you can split up this with e.g. transport tables Yes, but these are then different on the destination hosts (local delivery) than on the origin hosts (smtp delivery to the destination hosts). This precludes a central data source

Re: My doc-foo is failing mail (policy delegation)

2012-07-11 Thread Viktor Dukhovni
On Wed, Jul 11, 2012 at 08:03:05AM -0400, Wietse Venema wrote: > Ralf Hildebrandt: > > When using a policy daemon in smtpd_data_restrictions: > > > > Is the policy daemon called ONCE for every > > sender - recipient tuple? > > Postfix invokes smtpd_clientrestrictions ONCE for every client > conn

Re: ot: head office/branch office mailserver howto?

2012-07-11 Thread Ben Rosengart
On Wed, Jul 11, 2012 at 08:36:37PM +, Viktor Dukhovni wrote: > On Wed, Jul 11, 2012 at 08:06:06AM +0200, Robert Schetterer wrote: > > > you can split up this with e.g. transport tables > > Yes, but these are then different on the destination hosts > (local delivery) than on the origin hosts (

Re: ot: head office/branch office mailserver howto?

2012-07-11 Thread Wietse Venema
Ben Rosengart: > On Wed, Jul 11, 2012 at 08:36:37PM +, Viktor Dukhovni wrote: > > On Wed, Jul 11, 2012 at 08:06:06AM +0200, Robert Schetterer wrote: > > > > > you can split up this with e.g. transport tables > > > > Yes, but these are then different on the destination hosts > > (local deliver

Re: ot: head office/branch office mailserver howto?

2012-07-11 Thread Patrick Westenberg
On Wed, Jul 11, 2012 at 08:36:37PM +, Viktor Dukhovni wrote: On Wed, Jul 11, 2012 at 08:06:06AM +0200, Robert Schetterer wrote: you can split up this with e.g. transport tables Yes, but these are then different on the destination hosts (local delivery) than on the origin hosts (smtp deliv

Re: ot: head office/branch office mailserver howto?

2012-07-11 Thread Viktor Dukhovni
On Thu, Jul 12, 2012 at 12:07:03AM +0200, Patrick Westenberg wrote: > >>On Wed, Jul 11, 2012 at 08:36:37PM +, Viktor Dukhovni wrote: > >>>On Wed, Jul 11, 2012 at 08:06:06AM +0200, Robert Schetterer wrote: > >>> > you can split up this with e.g. transport tables > >>> > >>>Yes, but these ar

Re: i am working on a policy Daemon like policyD

2012-07-11 Thread Eliezer Croitoru
On 7/11/2012 7:35 PM, Wietse Venema wrote: Eliezer Croitoru: i am working on a policy Daemon like policyD i started reading : www.postfix.org/SMTPD_POLICY_README.html but i'm not sure on what phases i can declare a "ceck_policy_service" i know i can use it on: smtpd_end_of_data_restrictions, smt

Re: ot: head office/branch office mailserver howto?

2012-07-11 Thread Robert Schetterer
Am 11.07.2012 23:31, schrieb Ben Rosengart: > On Wed, Jul 11, 2012 at 08:36:37PM +, Viktor Dukhovni wrote: >> On Wed, Jul 11, 2012 at 08:06:06AM +0200, Robert Schetterer wrote: >> >>> you can split up this with e.g. transport tables >> >> Yes, but these are then different on the destination hos