Код: Выделить всё
Nov 1 11:06:26 mail postfix/smtpd[98212]: connect from f267.mail.ru[217.69.128.188]
Nov 1 11:06:26 mail postfix/smtpd[98212]: NOQUEUE: reject: RCPT from f267.mail.ru[217.69.128.188]: 554 5.7.1 <info@virt_domen.net.ru>: Relay access denied; from=<> to=<info@virt_domen.net.ru> proto=ESMTP helo=<f267.mail.ru>
Nov 1 11:06:26 mail postfix/smtpd[98212]: disconnect from f267.mail.ru[217.69.128.188]
Код: Выделить всё
mail# cat /usr/local/etc/postfix/main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix
data_directory = /var/db/postfix
mail_owner = postfix
unknown_local_recipient_reject_code = 550
debug_peer_level = 2
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/local/sbin/sendmail
newaliases_path = /usr/local/bin/newaliases
mailq_path = /usr/local/bin/mailq
setgid_group = maildrop
html_directory = /usr/local/share/doc/postfix
manpage_directory = /usr/local/man
sample_directory = /usr/local/etc/postfix
readme_directory = /usr/local/share/doc/postfix
##############
myhostname = mail.domen.dp.ua
mydomain = domen.dp.ua
myorigin = $mydomain
mynetworks_style = host
mynetworks = 127.0.0.0/8
mailbox_size_limit = 1073741824
message_size_limit = 104857600
alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
transport_maps = pgsql:/usr/local/etc/postfix/sql/transport.conf
virtual_mailbox_base = /
virtual_mailbox_maps = pgsql:/usr/local/etc/postfix/sql/mailbox.conf
virtual_alias_maps = pgsql:/usr/local/etc/postfix/sql/alias.conf
virtual_uid_maps = static:125
virtual_gid_maps = static:126
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
local_recipient_maps = $virtual_mailbox_maps $virtual_maps $transport_maps
relay_domains = $mydestination $transport_maps
#smtpd_sasl_path = smtpd
#smtpd_sasl_auth_enable = yes
#smtpd_sasl_authenticated_header = yes
#smtpd_sasl_security_options = noanonymous
#broken_sasl_auth_clients = yes
#smtpd_client_restrictions = permit_mynetworks,
# permit_sasl_authenticated,
# reject_invalid_hostname,
# reject_unknown_client_hostname
#smtpd_helo_restrictions = permit_mynetworks,
# permit_sasl_authenticated,
# reject_invalid_hostname,
# reject_unknown_hostname,
# reject_non_fqdn_hostname
#smtpd_sender_restrictions = permit_mynetworks,
# permit_sasl_authenticated,
# reject_authenticated_sender_login_mismatch,
# reject_unknown_sender_domain,
# reject_unlisted_sender,
# reject_unverified_sender,
# reject_invalid_hostname,
# reject_non_fqdn_hostname,
# reject_non_fqdn_sender
# reject_unknown_client_hostname,
# reject_unknown_hostname
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated,
reject_invalid_hostname,
reject_unauth_destination,
# check_policy_service inet:127.0.0.1:10023,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unknown_sender_domain
smtpd_banner = $myhostname ESMTP
smtpd_helo_required = yes
#smtpd_etrn_restrictions = reject
#smtpd_reject_unlisted_sender = yes
#smtpd_reject_unlisted_recipient = yes
#strict_rfc821_envelopes = yes
disable_vrfy_command = no
#delay_warning_time = 1h
#sleep = 20s
home_mailbox = Maildir/