Hello,

Thank you Jan, thanks for your suggestion!

Regards,
Muhammed Sameer


--- On Wed, 11/26/08, Jan P. Kessler <[EMAIL PROTECTED]> wrote:

> From: Jan P. Kessler <[EMAIL PROTECTED]>
> Subject: Re: Customized Postfix Check
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Date: Wednesday, November 26, 2008, 9:38 AM
> Muhammed Sameer schrieb:
> > Salaam,
> >
> > Hello everyone, Can I write a postfix check myself?
> >
> > Actually, I want postfix to check for the quota and
> status of the user in a database, and if the user is
> overquota or if the status of the user is suspended, I want
> postfix to accordingly bounce the message with the
> appropriate bounce message.
> >
> > The database is updated by another application that we
> have on our server.
> >
> > Is there an existing check that can help me do this,
> or do I have to write another such custom check, if yes then
> can please someone guide me to how can I do this.
> >   
> 
> Take a look at postfix access policy delegation at
> http://www.postfix.org/SMTPD_POLICY_README.html. This
> allows to create
> your own checks and to reject during the smtp dialogue.


      

Reply via email to