Am 20.02.2011 02:51, schrieb Jeroen Geilman:
> On 02/19/2011 09:36 PM, Reindl Harald wrote:
>> 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 :-)
> 
> A dovecot SASL connection uses a Unix socket:
> http://www.postfix.org/SASL_README.html#server_sasl_enable

I meant this one below, so postfix is really working for incoming
and outgoing mails if the local mysqld is overloaded and deferring
messages in /var/spool/ until lmtp is ok, but they are received
from outside with 250 OK


[root@mail:~]$ cat /etc/dovecot/sql.conf
driver = mysql
connect = host=/var/lib/mysql/mysql.sock host=10.0.0.120 port=3307 
dbname=dbmail user=proxy password=***
password_query = SELECT passwd as password, '127.0.0.1' as host, userid as 
destuser, passwd AS pass, 'Y' AS
nologin, 'Y' AS nodelay, 'Y' AS proxy FROM dbmail_users WHERE userid='%u'
default_pass_scheme = plain

-- 

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