as i understand the docs the follwoing should be correct
to use the local mysqld over a unix socket and if this
fails try the query again on the scond host over tcp

but how can i specify that the fallback-server is listening
on port 3307 because this is the readonly replication-slave
and on 3306 is living a weekly-backup with his own imapd?

since this is production environment it's hard to play with...
___________________

user     = dbmailro
password = **********
dbname   = dbmail
hosts    = unix:/var/lib/mysql/mysql.sock inet:10.0.0.120:3307
query    = .....................
___________________

the reason behind is if the local mysqld has too many connections
from dovecot-auth, imapd, pop3d let not fail postfix-queries and
leave incoming messages in the queue until dbmail-lmtp is
able to receive them

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to