<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>Postgres "issue"</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Dear list,</FONT>
</P>
<BR>

<P><FONT SIZE=2>I have a small issue with dovecot talking to a postgresql server:</FONT>
</P>

<P><FONT SIZE=2>If my postgres server get restarted, dovecot fails to reconnect to the postgres server.</FONT>
</P>

<P><FONT SIZE=2>I run dovecot 0.99.9.1 (which is actually a cvs version of dovecot, of may 9 2003)</FONT>
</P>

<P><FONT SIZE=2>I have the same postgres version for the server as I use for the libraries.</FONT>
</P>

<P><FONT SIZE=2>Is it hard to get auto-reconnect to work?</FONT>
</P>
<BR>

<P><FONT SIZE=2>Kind regards,</FONT>
</P>
<BR>

<P><FONT SIZE=2>Maikel Verheijen</FONT>
</P>
<BR>

<P><FONT SIZE=2>Ps: the log message I get is this:</FONT>
</P>

<P><FONT SIZE=2>May 22 17:33:01 testlfw3 dovecot-auth: PGSQL: Query "SELECT password FROM aliases WHERE alias = 'maikel@test.com' AND password != ''" failed: FATAL 1:  This connection has been terminated by the administrator. server closed the connection unexpectedly ^IThis probably means the server terminated abnormally ^Ibefore or while processing the request. </FONT></P>

<P><FONT SIZE=2>Which probably describes it all :)</FONT>
</P>

</BODY>
</HTML>