У меня похожая проблема... Жаль автор не показал свои конфиги..
Устанленно: Postfix+MYSQL+Postfixadmin+SASL2+IMAP+PhpMyAdmin.
Имена, Пароли храняться в базе мускула в открытом виде.
Вот может это ещё поможет:
forum# pkg_tree postfix
postfix-2.10.1,1
|\__ openssl-1.0.0_7
|\__ pcre-8.20
|\__ mysql-client-5.1.60
\__ cyrus-sasl-2.1.25_1 (unknown)
postfixadmin-2.3.4
|\__ expat-2.0.1_2
|\__ openssl-1.0.0_7
|\__ perl-threaded-5.12.4_3
|\__ pkg-config-0.25_1
|\__ pcre-8.20
|\__ oniguruma-4.7.1
|\__ gdbm-1.9.1
|\__ db42-4.2.52_5
|\__ libiconv-1.13.1_1
|\__ libxml2-2.7.8_1
|\__ apr-ipv6-devrandom-gdbm-db42-mysql41-1.4.5.1.3.12_1
|\__ apache-2.2.21
|\__ php5-mysqli-5.3.8
|\__ php5-xml-5.3.8
|\__ php5-xmlrpc-5.3.8
|\__ php5-session-5.3.8
|\__ php5-mysql-5.3.8
\__ php5-mbstring-5.3.8
Вот как у меня сейчас в конфигах:
forum# postconf -n
address_verify_sender = <>
alias_database = mysql:$base/mysqlLookupMaps/alias.conf
alias_maps = mysql:$base/mysqlLookupMaps/alias.conf
base = /usr/local/etc/postfix
broken_sasl_auth_clients = yes
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
data_directory = /var/db/postfix
debug_peer_level = 2
debug_peer_list = Мойдомен.ru
default_privs = nobody
disable_vrfy_command = yes
header_checks = regexp:$config_directory/header_checks
html_directory = /usr/local/share/doc/postfix
inet_interfaces = 10.11.11.5, 10.11.11.7, 127.0.0.1
inet_protocols = ipv4
local_recipient_maps = $alias_maps, unix:passwd.byname
mail_owner = postfix
mail_spool_directory = /var/spool/mail
mailbox_size_limit = 52428800
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname localhost.$mydomain localhost
mydomain = Мойдомен.ru
myhostname = forum.Мойдомен.ru
mynetworks = 10.11.11.0/24, 127.0.0.0/8, 10.50.50.0/24
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/local/share/doc/postfix
relay_domains = $mydestination
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
show_user_unknown_table_name = no
smtpd_banner = $myhostname ESMTP
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, check_client_access hash:$base/client_access, reject_unknown_client_hostname, reject_unknown_address, reject_unknown_recipient_domain, reject_unknown_sender_domain, reject_unknown_client_hostname, reject_unauth_destination, reject_unauth_pipelining
smtpd_delay_reject = yes
smtpd_etrn_restrictions = reject
smtpd_hard_error_limit = 8
smtpd_helo_required = yes
smtpd_helo_restrictions = check_helo_access hash:$base/hello_access, permit_mynetworks, permit_sasl_authenticated, reject_invalid_helo_hostname, reject_non_fqdn_helo_hostname, reject_unknown_helo_hostname
smtpd_recipient_limit = 8
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_recipient_access hash:$base/recipient_access, reject_unlisted_recipient, reject_unknown_recipient_domain, reject_non_fqdn_recipient, reject_unverified_recipient
smtpd_reject_unlisted_sender = yes
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = cyrus
smtpd_sender_login_maps = mysql:$base/mysqlLookupMaps/sender.conf
smtpd_sender_restrictions = permit_mynetworks, check_sender_access hash:$base/sender_access, reject_authenticated_sender_login_mismatch, reject_unlisted_sender, reject_unverified_sender, reject_unknown_sender_domain
strict_rfc821_envelopes = yes
transport_maps = mysql:/usr/local/etc/postfix/mysqlLookupMaps/transport.conf
unknown_local_recipient_reject_code = 450
unverified_sender_reject_code = 550
virtual_alias_maps = mysql:$base/mysqlLookupMaps/alias.conf
virtual_gid_maps = static:1981
virtual_mailbox_base = /var/spool/mail
virtual_mailbox_domains = mysql:$base/mysqlLookupMaps/domain.conf
virtual_mailbox_maps = mysql:$base/mysqlLookupMaps/mailbox.conf
virtual_minimum_uid = 1000
virtual_transport = virtual: virtual_create_maildirsize = yes
virtual_uid_maps = static:1981
forum# cat aliases
root: vlad@Мойдомен.ru
38595: 38595
abuse: vlad
Почту отправить от локального пользователя своей сети могу, а вот получить от почтового сервера(своего) нет.
В логах получаю следующее при попытке получить почту:
Dec 16 16:39:25 forum pop3d: LOGIN FAILED, method=CRAM-MD5, ip=[::ffff:10.50.50.2]
Да чуть не забыл. При перезагрузке служб для почтовика в логе вижу вот это:
Dec 16 16:24:10 forum authdaemond: modules="authmysql", daemons=5
Dec 16 16:24:10 forum authdaemond: Installing libauthmysql
Dec 16 16:24:10 forum authdaemond: file not found