OK

installed a second mysql-instance on my local machine
with port 3307 and killed standard mysqld for testing

it works with inet:host:port
please add a simple notice for others in the docs

now searching if this is possible for dovecot-sasl too :-)

user          = dbmailro
password      = ****
dbname        = dbmail
hosts         = unix:/var/lib/mysql/mysql.sock inet:10.0.0.120:3307
query         = select transport from dbma_sender_relay where email like '%s'


Am 19.02.2011 19:03, schrieb Reindl Harald:
> 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
> 

-- 

Mit besten Grüßen, Reindl Harald
the lounge interactive design GmbH
A-1060 Vienna, Hofmühlgasse 17
CTO / software-development / cms-solutions
p: +43 (1) 595 3999 33, m: +43 (676) 40 221 40
icq: 154546673, http://www.thelounge.net/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to