初めて質問します。
SendmailからPostfixにメールサーバーを変えたいのですがうまくいきません。
「FedoraCore5ビギナーズバイブル」に従い設定しているのですが、うまくいきません。
どうかご指導ください。
おかしな点
①本では「SMPTコマンドによる動作チェック」として
# telnet localhost 25
trying 127,0,0,1... → trying 192.168.1.1 となります。
この原因がわかりません。
ちなみにネットワーク設定ではSMBAサーバはうまくいってます。
DNSのMXの設定もできているつもりです。
....
helo matu.jp
250 mail.matu.jp
mail from:
hoge@xxxxxxx(仮)
250 OK
rcpt to:
rara@xxxxxxx(仮)
このまま何の反応を示しません。
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
body_checks = regexp:/etc/postfix/body_checks
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_privs = nobody
header_checks = regexp:/etc/postfix/header_checks
home_mailbox = Mailbox
html_directory = no
in_flow_delay = 1s
inet_interfaces = $myhostname, localhost
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, mail.$mydomain,
www.$mydomain
mydomain = matu.jp
myhostname = susu.matu.jp
mynetworks_style = subnet
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.2.8/README_FILES
smtpd_sasl_auth_enable = yes smtpd_sasl_local_domain = $mydomain
smtpd_sasl_application_name = smtpd smtpd_sasl_exception_networks = $mynetworkas
smtpd_sasl_security_options = noplaintext, noanonymous broken_sasl_auth_clients = yes
relay_domains = $mydestination
relayhost = $mydomain
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 450