OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: postfix + mysql

From: Victor Duchovni (Victor.DuchovniMorganStanley.com)
Date: Mon Aug 02 2004 - 15:07:51 CDT


On Mon, Aug 02, 2004 at 09:13:42PM +0200, Magnus B?ck wrote:

> On Monday, August 02, 2004 at 21:04 CEST,
> rs112972 <rs112972via-rs.com.br> wrote:
>
> > My name is Leal, and i have a little problem with postfix and mysql
> > authentication...
> > When the mysql sever is busy, or "down"... and postfix can not
> > contact it, the mail is "lost" (user unknown).
>
> No, that is not the case. If Postfix cannot connect to a database, it
> says "temporary lookup failure" and returns a temporary error code (4xx)
> to the connecting client (which will retry later).
>
> This is completely unrelated to authentication.
>

The only exception to the above is when mysql is used for system
user accounts via the nsswitch. In that case the C-library getpwnam()
interface on many systems does not expose the temporary problem to
the application (Postfix). If this is the case complain to the OS
vendor. That is not a Postfix problem.

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>