Система FreeBSD 5.3-STABLE
Courier-imap+Postfix+mysql+Postfixadmin
делал по http://high5.net/howto/#top
без SASL
В чем проблема::
# telnet localhost 110
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK Hello there.
user sds
+OK Password required.
pass 777
-ERR Login failed.
tail -f /var/log/maillog
mail pop3d: LOGIN FAILED, user=sds, ip=[::ffff:127.0.0.1]
Настройки
postconf -n
mail# postconf -n
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = 127.0.0.1, x.x.x.x
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
mydestination = $transport_maps
mydomain = my.domen.ru
myhostname = my.domen.ru
mynetworks = 1.1.1.1
myorigin = $myhostname
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
unknown_local_recipient_reject_code = 550
virtual_alias_maps = $virtual_maps
virtual_gid_maps = static:1001
virtual_mailbox_base = /var/spool/postfix/virtual
virtual_mailbox_domains = mysql:/usr/local/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = mysql:/usr/local/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 1001
virtual_transport = virtual
virtual_uid_maps = static:1001
cat /etc/passwd
postfix:*:1001:1001:Postfix Mail System:/var/spool/postfix:/usr/sbin/nologin
cat authdaemonrc
authmodulelist="authmysql authpam"
authmodulelistorig="authmysql authpam"
daemons=5
version="authdaemond.mysql"
authdaemonvar=/usr/local/var/spool/authdaemon
DEBUG_LOGIN=2
DEFAULTOPTIONS="wbnodsn=1"
# cat authmysqlrc
MYSQL_CRYPT_PWFIELD password
MYSQL_DATABASE postfix
MYSQL_GID_FIELD '1001'
MYSQL_HOME_FIELD '/var/spool/postfix/virtual'
MYSQL_LOGIN_FIELD username
MYSQL_MAILDIR_FIELD maildir
MYSQL_NAME_FIELD name
MYSQL_OPT 0
MYSQL_PASSWORD postfix
#MYSQL_PORT 0
MYSQL_SERVER localhost
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_UID_FIELD '1001'
MYSQL_USERNAME postfix
MYSQL_USER_TABLE mailbox
пробелов в authmysqlrc нет только ТАВ
таблица mailbox
TABLE mailbox (
username varchar(255) NOT NULL default '',
password varchar(255) NOT NULL default '',
name varchar(255) NOT NULL default '',
maildir varchar(255) NOT NULL default '',
quota int(10) NOT NULL default '0',
domain varchar(255) NOT NULL default '',
created datetime NOT NULL default '0000-00-00 00:00:00',
modified datetime NOT NULL default '0000-00-00 00:00:00',
active tinyint(1) NOT NULL default '1',
PRIMARY KEY (username),
KEY username (username)
) TYPE=MyISAM COMMENT='Postfix Admin - Virtual Mailboxes';
В чем ошибка?
почему courier-imap не проходит идентификацию?