Displaying 15 results from an estimated 15 matches for "db_port".
2006 Oct 19
1
Writing with xapian-tcpsrv and php
Hi,
I think, there is missing constructor function supporting remote
writing for XapianWritableDatabase class in the php bindings (0.9.7).
This code:
$db = new XapianWritableDatabase(remote_open($db_host, $db_port),
$action);
returns:
Fatal error: No matching function for overloaded
'new_XapianWritableDatabase' (...)
$db = new XapianWritableDatabase($path, $action); works fine.
xapian-tcpsrv is running with --writable parameter.
Tom
2010 Jun 16
2
class methods from module where active rec is involved
...not involved, access to the class methods seems
to work ok. What can I do to make this work or so that I can access
the class methods ?
##################################
require ''active_record''
DB_Host = ''localhost''
DB_Database = ''proj1''
DB_Port = 5432
ActiveRecord::Base.establish_connection(
:adapter => "postgresql",
:host => DB_Host,
:database => DB_Database,
:username => "me"
# :password => "secret"
)
module ModelClassMethods
def mycreate(pkey_val)
pkey_fld = self.primary_key...
2007 Mar 14
2
login authentication
Hi everyone, i used postfix, dovecot and mysql. I have virtual users and
domains. I have this configuration in dovecot-mysql.conf:
db_host = localhost
db_port = 3306
db_unix_socket = /var/run/mysqld/mysqld.sock
db = postfix
db_user = postfix
db_passwd = bscidth46
db_client_flags = 0
default_pass_scheme = CRYPT
password_query = SELECT password FROM mailbox WHERE username = '%u'
user_query = SELECT maildir, 105 AS uid, 106 AS gid FROM mailbox WHERE...
2008 Jan 16
3
question about mysql authentication
Hi list,
i use dovecot-1.0-1.2.rc15.el5 installed from rpm
centos 5.0
I cant get mysql authetication working: this is my /etc/dove-mysql.conf
######dove-mysql.conf should look like this##########
#db_host = 127.0.0.1
#db_port = 3306
db = postfix
db_user = postfix
db_passwd = secret
db_client_flags = 0
default_pass_scheme = PLAIN
password_query = SELECT password FROM mailbox WHERE username = '%u'
user_query = SELECT '/var/vmail/%d/%n' as home, 'maildir:/var/vmail/%d/%n' as
mail, 150 AS uid,...
2004 Jun 18
1
Info: Internal login failure:
I get the following error on auth with mysql on pop3
what am i missing or doing wrong
mysql config file
db_host = localhost
#db_port = 3306
db_unix_socket = /var/lib/mysql/mysql.sock
db = ADMIN
db_user = mailmaster
db_passwd = ********
db_client_flags = 0
default_pass_scheme = PLAIN
password_query = SELECT MAILBOX_PASSWORD AS password FROM MAIL WHERE MAILBOX_USERNAME = '%n' AND MAILBOX_DOMAIN = '%d'
#user_query =...
2005 Jun 20
0
MySQL user_query ignored
...to be ignored -
however the password_query works.
Instead the default user query in db-mysql.c always takes effect.
Might this be a bug or is something worng wit my setup below?
(To keep on working i changed the default query in db-mysql.c..)
Helmut
dovecot-mysql.conf:
db_host = localhost
#db_port = 3306
db_unix_socket = /var/lib/mysql/mysql.sock
db = mail
db_user = mail
db_passwd =
db_client_flags = 0
default_pass_scheme = PLAIN
password_query = SELECT password FROM users WHERE login = '%n' and
domain='%d'
user_query = SELECT '/var/mail/%d/%n' as home, 506 as uid...
2005 Aug 23
1
Thunderbird got "Mail Server does not support secure authentication" ???
...l
default_mail_env = /var/spool/virtual/%u
auth = default
auth_mechanisms = plain
auth_userdb = mysql /etc/dovecot/mysql.conf
auth_passdb = mysql /etc/dovecot/mysql.conf
auth_executable = /usr/local/libexec/dovecot/dovecot-auth
auth_user = dovecot-auth
/etc/dovecot/mysql.conf
db_host = localhost
db_port = 3306
db_unix_socket = /tmp/mysql.sock
db = postfix
db_user = postfixuser
db_passwd = userpostfix
db_client_flags = 0
password_query = SELECT password FROM mailbox WHERE username = '%u'
user_query = SELECT maildir, 1000 AS uid, 1000 AS gid FROM mailbox
WHERE username = '%u'
2005 Aug 29
1
MySQL user cant log in
Hi,
I configured dovecot IMAP for MySQL authentification.
--- start dovecot.conf ---
auth_userdb = mysql /etc/dovecot/dovecot-mysql.conf
auth_passdb = mysql /etc/dovecot/dovecot-mysql.conf
--- end dovecot.conf ---
--- start dovecot-mysql.conf ---
db_host = localhost
db_port = 3306
db_unix_socket = /var/run/mysqld/mysqld.sock
db = users
db_user = users
db_passwd = xxx
db_client_flags = 0
password_query = SELECT password FROM users WHERE userid = '%n' AND
active = 'Y'
user_query = SELECT home, uid, gid FROM users WHERE userid = '%u'
--- end dov...
2006 Apr 12
1
DOVECOT+SQLITE
Has somebody experience with DOVECOT+SQLITE?
Which will be the config variables?
auth_userdb = mysql /etc/dovecot/dovecot-mysql.conf
------------------------------------------------------
db_host = localhost
db_port = 3306
db_unix_socket = /var/run/mysqld/mysqld.sock
db = test
db_user = test
db_passwd = test
db_client_flags = 0
default_pass_scheme = PLAIN
password_query = SELECT clear FROM users WHERE username = '%u'
user_query = SELECT pop as home, uid, gid FROM users WHERE username = '%u'...
2006 Apr 26
2
mysql authentication problems
Hello all..
I'm trying to configure dovecot do athenticate using mysql, but I?m
having some troubles...
After configuring the mysql athentication in dovecot-mysql.conf and in
dovecot.conf, when I try to login I get this mesage in my logs:
Dovecot-auth: MySQL: Can't connect to database dovecot: Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2)
2006 Oct 20
1
md5 password storage
...i List.
I've got a dovecot running with mysql. All my users data are there. But
I intend to use MD5 instead of clear passwords at MySQL.
Someone can help-me? []s;
Andrey
Here's my dovecot-mysql.conf:
# Dovecot queries
db_host = localhost
db_unix_socket = /var/lib/mysql/mysql.sock
db_port = 3306
db = mail
db_user = my_conn_user
db_passwd = my_conn_passwd
#
# Pehapes i need to change this, but I tryied changing it do md5 with no
success.
#
default_pass_scheme = PLAIN
#
# This I changed for own reasons, but works.
#
password_query = SELECT clear FROM postfix_users WHERE
user=subs...
2005 Aug 06
1
auth_passdb using MySQL fails at starup
...hat else I can check
Dovecot error message lacks the reason it can not connect - unless the
(13) means anything to anybody???
Anybody have any ideas???
dovecot.conf :
.
auth_assdb = mysql /etc/dovecot-mysql.conf
dovecot-mysql.conf :
db_host = localhost
db_unix_socket = /var/lib/mysql/mysql.sock
#db_port = 3306
db = vmail
db_user = vmail
db_passdb = temp
password_query = SELECT 'test' as password from mailbox
vmail.sql:
create database vmail;
use vmail;
grant insert,select,update,delete on vmail.* to 'vmail'@'localhost'
identified by 'temp';
CREATE TABLE mailbox (...
2005 Jun 06
2
Mailbox usage
I use dovecot-0.99.11 from RHEL4.
dovecot-mysql.conf:
===
db_host = dbhost
db_port = 3306
db = db
db_user = dovecot
db_passwd = pass
default_pass_scheme = PLAIN
password_query = SELECT password FROM users WHERE username = '%u'
user_query = select maildir AS home,u_id AS uid,g_id AS gid from users
WHERE username = '%u'
===
When I try "telnet localhost 110&qu...
2005 Jan 06
1
Dovecot Crashing after MySQL Auth
...idle outlook-pop3-no-nuls
mail_drop_priv_before_exec = no
auth = default
auth_mechanisms = plain
auth_userdb = mysql /usr/local/etc/dovecot-mysql.conf
auth_passdb = mysql /usr/local/etc/dovecot-mysql.conf
auth_user = root
auth_verbose = yes
auth_debug = yes
dovecot-mysql.conf
db_host = localhost
db_port = 3306
# db_unix_socket = /var/tmp/mysql.sock
db_unix_socket = /var/run/mysqld/mysqld.sock
db = vmail
db_user = vmail
db_passwd = xxxxx
db_client_flags = 0
# Default password scheme.
#
# Currently supported schemes include PLAIN, PLAIN-MD5, DIGEST-MD5, and
# CRYPT.
#
default_pass_scheme = PLAIN-MD...
2004 Aug 09
4
MySQL passdb, auth_verbose, and documentation
I've been playing around with Dovecot for the past few months for
testing (on a Debian 3.0 system), and initially it was easy to setup
and worked well.
Recently I upgraded to 0.99.10.9, and when I rebuilt it I enabled
MySQL and SSL.
The first problem I ran into was upon startup it complained that there
was no certificate, which makes sense, except that I hadn't enabled
imaps in the