подскажите по 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
Ответ на:
комментарий
от sdio
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум postfix: косяк с smtp авторизацией (2008)
- Форум FreeBSD+Postfix+Openssl+Cyrus-sasl+Courier-authlib+Courier-imap (2008)
- Форум Postfix+Courier+MySQL и Squirrelmail. Connection dropped by IMAP server. (2014)
- Форум Vpopmail+Courier-imap (2004)
- Форум Как выполнить авторизацию MD5 паролей в Postfix+Mysql+Sasl (2012)
- Форум Courier-IMAP + MySQL (2006)
- Форум Courier-imap (2008)
- Форум Postfix + SASL + MySQL. Проблема с аутентификацией (2008)
- Форум Thunderbird не коннектится к IMAP (2013)
- Форум postfix+cyrus+courier-authlib (2011)