ХОчу создать рилей. Но проблема почему то в логах после собаки домен отображается как : домен.имя_машины . ((Отправляю -
mail -s test hitrov@test
sdfsdf
EOT
Вот логи:
Oct 1 13:47:31 BuTaJIuK postfix/pickup[5373]: C1E8E39C32D: uid=0 from=<root>
Oct 1 13:47:31 BuTaJIuK postfix/cleanup[5379]: C1E8E39C32D: message-id=<20071001104731.C1E8E39C32D@BuTaJIuK>
Oct 1 13:47:31 BuTaJIuK postfix/qmgr[5374]: C1E8E39C32D: from=<root@BuTaJIuK.BuTaJIuK>, size=415, nrcpt=1 (queue active)
Oct 1 13:47:31 BuTaJIuK postfix/qmgr[5374]: C1E8E39C32D: to=<hitrov@test.BuTaJIuK>, orig_to=<hitrov@test>, relay=none, delay=0, status=deferred (delivery temporarily suspended: deferred transport)
Вот конфиг:
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
mail_owner = postfix
unknown_local_recipient_reject_code = 550
debug_peer_level = 2
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/html
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/packages/postfix/samples
readme_directory = /usr/share/doc/packages/postfix/README_FILES
inet_protocols = all
biff = no
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_alias_maps = hash:/etc/postfix/virtual
virtual_alias_domains = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
program_directory = /usr/lib/postfix
masquerade_domains =
disable_dns_lookups = no
mailbox_command =
mailbox_transport =
strict_8bitmime = no
disable_mime_output_conversion = no
smtpd_sender_restrictions = hash:/etc/postfix/access
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 = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000
###############################3
mynetworks_style = host
myhostname = BuTaJIuK
#inet_interfaces = 192.168.0.97
mydestination = test
defer_transports = smtp
relayhost = 192.168.0.15 ### eto i est' test server