Приветствую всех.
Кто прикручивал к postfix postfixadmin? Дайте, пожалуйста, подробную инструкцию. Я сколько бьюсь не получается. Почтовый клиент пишет "Команда PASS не выполнена. Почтовый сервер ответил: Authentication failed".
А может в моих настройках ошибка есть? Вот они.
Содержание файла main.cf
# See /usr/share/postfix/main.cf.dist for a commented, more complete version
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
readme_directory = no
# TLS parameters
smtpd_tls_cert_file = /etc/ssl/certs/postfix.pem
smtpd_tls_key_file = /etc/ssl/private/postfix.pem
smtpd_use_tls = yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
# information on enabling SSL in the smtp client.
myhostname = kmv.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = localhost
mynetworks = 192.168.0.0/24, 127.0.0.1/8
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
virtual_mailbox_domains = mysql:/etc/postfix/domains.conf
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_mailbox_maps = mysql:/etc/postfix/mailbox.conf
virtual_alias_maps = mysql:/etc/postfix/alias.conf,mysql:/etc/postfix/email2email.conf
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
inet_protocols = all
relayhost =
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/mail_passwd
smtp_sasl_security_options = noanonymous
Содержание файла domains.conf
user = postfixadmin
password = password
hosts = 127.0.0.1
dbname = postfixadmin
query = SELECT 1 FROM domain WHERE domain='%s'
Содержание файла mailbox.conf
user = postfixadmin
password = password
hosts = 127.0.0.1
dbname = postfixadmin
query = SELECT 1 FROM view_users WHERE email='%s'
Содержание файла alias.conf
user = postfixadmin
password = password
hosts = 127.0.0.1
dbname = postfixadmin
query = SELECT destination FROM view_aliases WHERE email='%s'
Содержание файла email2email.conf
user = postfixadmin
password = password
hosts = 127.0.0.1
dbname = postfixadmin
query = SELECT email FROM view_users WHERE email='%s'
Спасибо