On 04-11-13 17:25, Marius Karthaus wrote: > Hello list, > > I have two unrelated questions; > > 1) I've just completed a new dbmail install with dbmail 3.1.7 (-V says > 3.1.6, but I seem to recall this is a known issue). > dbmail and the database (postgres) are running on separate servers. The > connection is specified in dbmail.conf like this: > > dburi = postgresql://1.2.3.4/dbmail?user=dbmail&password=******* > > When the database connection hickups, dbmail starts giving this error: > database has gone away. > The problem is that even after the database is back up again, the > connection is never re-established. I need to manually restart dbmail to > get the system to work again. Is there anyway to get dbmail to retry the > connection?
That was a feature gone missing since 3.0. apply 08c3b37fa6f3b22e3a9b52b01ea5edcae0290028 get the patch, or the tarball: http://git.dbmail.eu/paul/dbmail/commit/?h=dbmail_3_1&id=08c3b37fa6f3b22e3a9b52b01ea5edcae0290028 -- ________________________________________________________________ Paul J Stevens pjstevns @ gmail, twitter, github, linkedin * Premium Hosting Services and Web Application Consultancy * www.nfg.nl/[email protected]/+31.85.877.99.97 ________________________________________________________________ _______________________________________________ DBmail mailing list [email protected] http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
