Micah Anderson:
> I would like to reduce the mysql transport retry time (or perhaps the
> proxymap retry time?), is there a variable that I can tweak down to
> reduce the time between retries of mysql transport connection losses?

Connections to database servers should not be lost routinely. 

> Oct 27 13:24:37 mx1 postfix/proxymap[14768]: warning: mysql query failed: 
> Lost connection to MySQL server during query
> Oct 27 13:24:37 mx1 postfix/trivial-rewrite[11124]: fatal: 
> proxy:mysql:/etc/postfix/maps/mysql_aliases.cf(0,lock|fold_fix): table lookup 
> problem

If anything should retry the query, then it would be the mysql
client.  The proxymap can't make such decisions (for example, it
makes no sense to retry after a read error from a local file).

And in fact, the mysql client does implement retry logic. It retries
if you have more than one mysql server configured. Perhaps you
can specify the same server multiple times.

        Wietse

Reply via email to