LINUX.ORG.RU
ФорумAdmin

postfix + courier — не работает pop3 и imap ((((


0

0

подскажите по postfix'у. Уже перелопатил кучу статей на эту тему...

Вот вроде бы настроил, пытаюсь подключиться к pop3:

# telnet localhost pop3
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Hello there.
user test007@r-style.donpac.ru
+OK Password required.
pass 111111
-ERR Temporary problem, please try again later
Connection closed by foreign host.

По imap та же фигня (((((((( А в логах:

Jan 24 15:20:16 mail authdaemond: stopping authdaemond children
Jan 24 15:20:16 mail authdaemond: modules="authmysql authpam", daemons=5
Jan 24 15:20:16 mail authdaemond: Installing libauthmysql
Jan 24 15:20:16 mail authdaemond: Installation complete: authmysql
Jan 24 15:20:16 mail authdaemond: Installing libauthpam
Jan 24 15:20:16 mail authdaemond: Installation complete: authpam
Jan 24 15:20:21 mail imapd: Connection, ip=[::ffff:192.168.0.101]
Jan 24 15:20:21 mail authdaemond: received auth request, service=imap, authtype=login
Jan 24 15:20:21 mail authdaemond: authmysql: trying this module
Jan 24 15:20:21 mail imapd: LOGIN FAILED, method=PLAIN, ip=[::ffff:192.168.0.101]
Jan 24 15:20:21 mail imapd: authentication error: Input/output error
Jan 24 15:20:21 mail authdaemond: failed to connect to mysql server (server=localhost, userid=postfix): Access denied for user 'postfix'@'localhost' (using pas
[16:12:08] vovans: Jan 24 15:20:21 mail authdaemond: authmysql: TEMPFAIL - no more modules will be tried
Jan 24 15:20:22 mail imapd: Connection, ip=[::ffff:192.168.0.101]
Jan 24 15:20:22 mail authdaemond: received auth request, service=imap, authtype=login
Jan 24 15:20:22 mail authdaemond: authmysql: trying this module
Jan 24 15:20:22 mail authdaemond: failed to connect to mysql server (server=localhost, userid=postfix): Access denied for user 'postfix'@'localhost' (using pas
Jan 24 15:20:22 mail authdaemond: authmysql: TEMPFAIL - no more modules will be tried
Jan 24 15:20:22 mail imapd: LOGIN FAILED, method=PLAIN, ip=[::ffff:192.168.0.101]
Jan 24 15:20:22 mail imapd: authentication error: Input/output error


в authmysqlrc чего только не писал... Пробелы все поубирал, теперь одни табы там... Хз чего ему надо...

MYSQL_CRYPT_PWFIELD password
MYSQL_DATABASE postfix
MYSQL_GID_FIELD '106'
MYSQL_HOME_FIELD '/var/vmail'
MYSQL_LOGIN_FIELD username
MYSQL_MAILDIR_FIELD maildir
MYSQL_NAME_FIELD name
MYSQL_PASSWORD 'postfix'
MYSQL_QUOTA_FIELD quota
MYSQL_SERVER localhost
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_UID_FIELD '103'
MYSQL_USERNAME postfix
MYSQL_USER_TABLE mailbox

права на мускул...

# mysql -u postfix -h localhost postfix -p
Enter password:
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 178
Server version: 5.0.45-5 (Debian)

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>

Система -- Debian testing

★★★★★

Проблема, как ты понимаешь, в подключении authdaemond к базе.

>MYSQL_PASSWORD 'postfix'
А ты уверен, что апострафы тут не передаются вместе с паролем?

sdio ★★★★★
()
Ответ на: комментарий от sdio

понимаю.

Без апострафов оно вообще загоняет...

Хотя... ХЗ ))

# telnet localhost 110 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. +OK Hello there. user test0071@r-style.donpac.ru +OK Password required. pass 111111 +OK logged in.

странно, а на работе не получалось хоть убей...

Спасибо! ))

vovans ★★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.