трабла с Postfix (Как отключить relay?)

openSUSE, SUSE Linux Enterprise

Модератор: Модераторы разделов

g0a
Сообщения: 56
ОС: openSUSE 11.3

трабла с Postfix

Сообщение g0a »

Всем доброго дня!

Подскажите пожалуйста как отключить relay в postfix'e? Тест на сайте http://tests.nettools.ru/ говорит:

"Тест не пройден. Похоже сервер может использоваться в качестве публичного пересыльщика почты."

Вот сам конфиг mail.cf


queue_directory=/var/spool/postfix
command_directory=/usr/sbin
daemon_directory=/usr/lib/postfix
data_directory=/var/lib/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/sbin/sendmail
newaliases_path=/usr/bin/newaliases
mailq_path=/usr/bin/mailq
setgid_group=maildrop
html_directory=/usr/share/doc/packages/postfix-doc/html
manpage_directory=/usr/share/man
sample_directory=/usr/share/doc/packages/postfix-doc/samples
readme_directory=/usr/share/doc/packages/postfix-doc/README_FILES
inet_protocols=all
biff=no
mail_spool_directory=
canonical_maps=hash:/etc/postfix/canonical
virtual_alias_maps=ldap:/etc/postfix/ldapuser_recipient_maps.cf, ldap:/etc/postfix/ldapvalias_maps_both.cf, ldap:/etc/postfix/ldapvalias_maps_member.cf, ldap:/etc/postfix/ldapvalias_maps_folder.cf, ldap:/etc/postfix/ldapvalias_maps_forward.cf
virtual_alias_domains=ldap:/etc/postfix/ldapvirtual_alias_domains.cf
relocated_maps=hash:/etc/postfix/relocated
transport_maps=ldap:/etc/postfix/ldaptransport_maps.cf
sender_canonical_maps=hash:/etc/postfix/sender_canonical
masquerade_exceptions=root
masquerade_classes=envelope_sender, header_sender, header_recipient
myhostname=mail.vdl
delay_warning_time=1h
message_strip_characters=\0
program_directory=/usr/lib/postfix
inet_interfaces=all
masquerade_domains=, ldap:/etc/postfix/ldapmasquerade_domains.cf
mydestination=$myhostname, localhost.$mydomain, ldap:/etc/postfix/ldapmydestination.cf
defer_transports=
mynetworks_style=subnet
disable_dns_lookups=no
relayhost=
mailbox_command=
mailbox_transport=lmtp:unix:/var/lib/imap/socket/lmtp
strict_8bitmime=no
disable_mime_output_conversion=no
smtpd_sender_restrictions=ldap:/etc/postfix/ldapaccess.cf
smtpd_client_restrictions=
smtpd_helo_required=no
smtpd_helo_restrictions=
strict_rfc821_envelopes=no
smtpd_recipient_restrictions=permit_mynetworks,reject_unauth_destination
smtp_sasl_auth_enable=no
smtpd_sasl_auth_enable=no
smtpd_use_tls=yes
smtp_use_tls=no
smtp_enforce_tls=no
alias_maps=hash:/etc/aliases, ldap:/etc/postfix/ldapalias_maps_folder.cf, ldap:/etc/postfix/ldapalias_maps.cf
mailbox_size_limit=0
message_size_limit=5242880
smtp_tls_enforce_peername=no
smtpd_banner=$myhostname ESMTP $mail_name
smtp_sasl_security_options=noanonymous
mynetworks=127.0.0.0/8, 10.0.0.0/8, [::1]/128
smtpd_tls_auth_only=no
smtpd_tls_cert_file=/etc/ssl/servercerts/servercert.pem
smtpd_tls_key_file=/etc/ssl/servercerts/serverkey.pem
smtpd_tls_CApath=/etc/ssl/certs
smtp_tls_per_site=ldap:/etc/postfix/ldapsmtp_tls_per_site.cf
home_mailbox=
Спасибо сказали: