Здравствуйте.
При организации такой вот простой связки, возникли проблемы. Читал много мануалов, коих в инете полно. Но все же не получается заставить работать такую вот простую вешчь :)Почта отправлять - отправляется. В почтовый ящик пользователя складывается. Соединение с pop3 сервером устанавливается. А вот получить почту не получается.
Куски логов:
<maillog>:
Sep 28 18:05:53 host002m pop3d: LOGIN FAILED, user=it1, ip=[10.0.0.9]
<debug.log>:
Sep 28 18:05:52 host002m pop3d: Connection, ip=[10.0.0.9]
Sep 28 18:05:52 host002m authdaemond: received auth request, service=pop3, authtype=login
Sep 28 18:05:52 host002m authdaemond: authmysql: trying this module
Sep 28 18:05:53 host002m authdaemond: SQL query: SELECT email, crypt, password, '1003', '1003', '/var/vmailbox', maildir, "", "", "" FROM users WHERE email = "it1"
Sep 28 18:05:53 host002m authdaemond: zero rows returned
Sep 28 18:05:53 host002m authdaemond: no password available to compare
Sep 28 18:05:53 host002m authdaemond: authmysql: REJECT - try next module
Sep 28 18:05:53 host002m authdaemond: FAIL, all modules rejected
Sep 28 18:05:58 host002m pop3d: Disconnected, ip=[10.0.0.9]
<mysql.log>:
7 Connect postfix@localhost on
7 Init DB mail
7 Query SELECT email, crypt, password, '1003', '1003', '/var/vmailbox', maildir, "", "", "" FROM users WHERE email = "it1"
Конфигурационные файлы:
<main.cf>:
smtpd_client_restrictions = permit_mynetworks, reject_unknown_client
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_unknown_recipient_domain, reject_non_fqdn_recipient
smtpd_sender_restrictions = permit_mynetworks, reject_unknown_sender_domain, reject_non_fqdn_sender
strict_rfc821_envelopes = yes
transport_maps = mysql:$base/mysqlconf/transport.conf
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:$base/mysqlconf/aliases.conf
virtual_gid_maps = static:1003
virtual_mailbox_base = /var/vmailbox
virtual_mailbox_domains = virt1.firma.ru
virtual_mailbox_maps = mysql:$base/mysqlconf/users.conf
virtual_minimum_uid = 1000
virtual_uid_maps = static:1003
<authdaemonrc>:
authmodulelist="authmysql"
authmodulelistorig="authmysql"
daemons=5
authdaemonvar=/var/run/authdaemond
subsystem=mail
DEBUG_LOGIN=2
DEFAULTOPTIONS="wbnodsn=1"
LOGGEROPTS=""
<authmysqlrc>:
MYSQL_SERVER localhost
MYSQL_USERNAME postfix
MYSQL_PASSWORD postfix
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_PORT 3306
MYSQL_OPT 0
MYSQL_DATABASE mail
MYSQL_USER_TABLE users
MYSQL_CRYPT_PWFIELD crypt
MYSQL_CLEAR_PWFIELD password
MYSQL_UID_FIELD '1003'
MYSQL_GID_FIELD '1003'
MYSQL_LOGIN_FIELD email
MYSQL_HOME_FIELD '/var/vmailbox'
MYSQL_MAILDIR_FIELD maildir
<pop3d>:
PIDFILE=/var/run/pop3d.pid
MAXDAEMONS=40
MAXPERIP=4
POP3AUTH="CRAM-MD5 PLAIN LOGIN"
POP3AUTH_ORIG="CRAM-MD5 PLAIN LOGIN"
POP3_PROXY=0
PORT=110
ADDRESS=0
TCPDOPTS="-nodnslookup -noidentlookup"
LOGGEROPTS="-name=pop3d"
POP3DSTART=YES
MAILDIRPATH=/var/vmailbox