LINUX.ORG.RU

postfix & smtps


0

1
master.cf
...
smtps     inet  n       -       n       -       -       smtpd
...


При попытке отправить письмо в мир через этот почтовик не из локалки в майллоге

postfix/smtpd[9545]: warning: smtpd_peer_init: getnameinfo(219.23.187.11,,,,,,NI_NAMEREQD) error Temporary failure in name resolution

 [root@router postfix]# cat main.cf  
#
#-----------------CLAMAV----------------------#
receive_override_options = no_address_mappings
#---------------------------------------------#
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
default_privs = nobody
#---------------------------------------------#
myhostname = domen.com
mydomain = domen.com
mydestination = domen.com
local_recipient_maps = unix:passwd.byname $alias_maps
unknown_local_recipient_reject_code = 550
mynetworks = 127.0.0.1/8, 192.168.0.0/24,  hash:/etc/postfix/relay_access
no_lookup = yes
relay_domains = $mydestination

smtpd_sasl_auth_enable = yes
smtp_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
strict_rfc821_envelopes = yes
disable_vrfy_command = yes
smtpd_delay_reject = yes
smtpd_helo_required = yes

smtpd_helo_restrictions = permit_mynetworks,permit_sasl_authenticated, check_helo_access hash:/etc/postfix/helo_access, check_helo_access regexp:/etc/postfix/helo_regexp, check_helo_access regexp:/etc/postfix/dul_checks, permit
smtpd_client_restrictions =   permit_sasl_authenticated,  permit_sasl_authenticated 
smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, check_sender_access regexp:/etc/postfix/sender_access,reject_non_fqdn_sender
smtpd_recipient_restrictions = reject_unauth_pipelining,     permit_sasl_authenticated, permit_mynetworks, reject_non_fqdn_recipient, reject_unlisted_recipient, check_recipient_access regexp:/etc/postfix/recipient_access, reject_unauth_destination
    
#-------------------------------------------------#
smtpd_banner = HELLO domen.com
#-------------------------------------------------#
mailbox_size_limit = 100000000
message_size_limit = 300000000
queue_minfree = 450000000
virtual_mailbox_limit = 45000000
mailbox_size_limit = 450000000

alias_maps = hash:/etc/aliases
debug_peer_level = 2
debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         xxgdb $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES
#-------------------------------------------------#
bounce_size_limit = 10000000000


Последнее исправление: I00matolog (всего исправлений: 2)

а что говорит на этом хосте:
dig -x 219.23.187.11

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.