Доброго времени суток.
Настроена связка postfix, cyrus-sasl, courier-imap, mysql
Не могу принять почьту снаружи
postconf -n
broken_sasl_auth_clients = yes
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
html_directory = no
local_recipient_maps = unix:passwd.byname $alias_maps $virtual_mailbox_maps
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
mydestination = localhost, $hostname, hostname.my.domain, $config_directory mysql:/usr/local/etc/postfix/mysql-mydestination.cf
mydomain = my.domain
myhostname = hostname.my.domain
mynetworks_style = host
newaliases_path = /usr/local/bin/newaliases
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
queue_directory = /var/spool/postfix
readme_directory = no
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtp_sasl_security_options = noanonymous
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = my.domain
smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks
transport_maps = mysql:/usr/local/etc/postfix/mysql-transport.cf
unknown_local_recipient_reject_code = 550
virtual_gid_maps = mysql:/usr/local/etc/postfix/mysql-virtual-gid.cf
virtual_mailbox_base = /
virtual_mailbox_limit_maps = proxy:mysql:/usr/local/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_mailbox_maps = mysql:/usr/local/etc/postfix/mysql-virtual-maps.cf
virtual_maildir_limit_message = Sorry, this user has overdrawn their diskspace quota. Please try again later.
virtual_minimum_uid = 500
virtual_overquota_bounce = yes
virtual_uid_maps = mysql:/usr/local/etc/postfix/mysql-virtual-uid.cfВ maillog
Mar 16 15:43:48 mail postfix/smtpd[1511]: NOQUEUE: reject: RCPT from ffe10.ukr.net[195.214.192.29]: 554 5.7.1 <user@my.domain>: Recipient address rejected:Access denied; from=<user@ukr.net> to=<user@my.domain> proto=ESMTP helo=<ffe10.ukr.net>Пользователь user существует
Заранее благодарен.
>[оверквотинг удален]
>virtual_uid_maps = mysql:/usr/local/etc/postfix/mysql-virtual-uid.cf
>
>В maillog
>Mar 16 15:43:48 mail postfix/smtpd[1511]: NOQUEUE: reject: RCPT from ffe10.ukr.net[195.214.192.29]: 554 5.7.1 <user@my.domain>: Recipient address rejected:Access denied; from=<user@ukr.net> to=<user@my.domain> proto=ESMTP helo=<ffe10.ukr.net>
>
>Пользователь user существует
>
>Заранее благодарен.
>
>Попробуйте сделать так
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
> smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, rejectКруто!!!
http://www.postfix.org/postconf.5.html#smtpd_recipient_restr... читать до полного просветления