From: ivanov.pa.79@gmail.com
To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Проблемы установки courier-imap и Mysql
Date: Wed, 29 May 2013 06:16:54 +1000
Message-ID: <4315168.v880OUbmYM@altlinux.localdomain> (raw)
In-Reply-To: <51A596F6.2030707@gmail.com>
On 29 мая 2013 08:49:42 Viacheslav Dubrovskyi wrote:
29.05.2013 04:17, Павел Иванов пишет:
Добрый день!
Переношу почтовый сервер на другое оборудование, база создана на
отдельном сервере и прекрасно работает.
Настройка postfix прошла без загвоздок, подключение к базе проходит тоже
успешно.
Дошло дело до настройки курьера. вот тут начинаются грабли.
В authdaemon.conf прописал:
authmodulelist="authmysql"
authmodulelistorig="authmysql"
daemons=5
DEBUG_LOGIN=2
Тут вопросов не возникает
В authdaemon-mysql.conf:
MYSQL_SERVER 127.0.0.1
MYSQL_USERNAME postfix
MYSQL_PASSWORD postfix
MYSQL_SOCKET /var/lib/mysql/mysql.sock
Я не знаток настройки курьера, предпочитаю dovecot. Но если база, как вы
пишете, на отдельном сервере, то почему пытаетесь подключиться к 127.0.0.1 ?
--
WBR,
Viacheslav Dubrovskyi
Да, вы правы, я скопировал базу на локальный сервер (мало ли что)
Собственно с этим вопросом разобрался, в полях нужно указывать следующие
значения:
MYSQL_HOME_FIELD CONCAT("/var/spool/mail/", maildir)
MYSQL_MAILDIR_FIELD CONCAT("/var/spool/mail/",maildir)
Видать за последние 2 года много поменялось.
Вот ради спортивного интереса, как же все таки заставить MySQL записывать
запросы к базе данных?
parent reply other threads:[~2013-05-28 20:16 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <51A596F6.2030707@gmail.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4315168.v880OUbmYM@altlinux.localdomain \
--to=ivanov.pa.79@gmail.com \
--cc=sysadmins@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git