Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email email@example.com
From: Muhammed Sameer (samix_119yahoo.com)
Date: Wed Nov 26 2008 - 11:11:00 CST
Thanks for your time and suggestion will sure try that out.
--- On Wed, 11/26/08, mouss <moussnetoyen.net> wrote:
> From: mouss <moussnetoyen.net>
> Subject: Re: Customized Postfix Check
> To: samix_119yahoo.com
> Cc: "Postfix users" <postfix-userspostfix.org>
> Date: Wednesday, November 26, 2008, 9:36 AM
> Muhammed Sameer a écrit :
> > 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.
> if it's a simple lookup to a mysql/postgres db, then
> if you need more, you can write a policy server. one was
> posted to the
> list some time ago. search the archives and you should find
> PS. do not bounce. do reject. bounce means accept then
> generate an NDR
> later, which may cause backscatter. with reject, it is the
> "other" side
> which will have to generate the NDR (if it is a real MTA).