[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[postfix-jp: 4124] SMTP認証ができません



はじめまして、後藤と申します。

さくらVPSに、CentOS 6.2 + PostFix2.6.6 + Devocotでサーバー構築中です。
SMTP認証をしようとかれこれ2日調べてますが、どうもうまくいきません。
telnetで、250-AUTH PLAIN LOGIN にしかならないのはなぜでしょうか?

---telnetの結果---
  [testuser@www ~]$ telnet localhost 25
  Trying ::1...
  Connected to localhost.
  Escape character is '^]'.
  220 mail.example.jp ESMTP
  ehlo localhost
  250-mail.example.jp
  250-PIPELINING
  250-SIZE 10240000
  250-VRFY
  250-ETRN
→250-AUTH PLAIN LOGIN
  250-AUTH=PLAIN LOGIN
  250-ENHANCEDSTATUSCODES
  250-8BITMIME
  250 DSN
  quit
  221 2.0.0 Bye
  Connection closed by foreign host.

---saslauthdの設定---
  [testuser@www ~]$ sudo vi /usr/lib64/sasl2/smtpd.conf
  pwcheck_method: auxprop
  mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5

---smtpd.confが複数あるのは正常ですか?---
---/usr/内のファイルは自分で作成しました。---
  [testuser@www ~]$ sudo find / -name smtpd.conf
  /usr/lib64/sasl2/smtpd.conf
  /etc/postfix/smtpd.conf
  /etc/sasl2/smtpd.conf


---postconfの結果---
  [testuser@www ~]$ sudo postconf -n
  [sudo] password for testuser:
  alias_database = hash:/etc/aliases
  alias_maps = hash:/etc/aliases
  broken_sasl_auth_clients = yes
  command_directory = /usr/sbin
  config_directory = /etc/postfix
  daemon_directory = /usr/libexec/postfix
  data_directory = /var/lib/postfix
  debug_peer_level = 2
  home_mailbox = Maildir/
  html_directory = no
  inet_interfaces = all
  inet_protocols = all
  mail_owner = postfix
  mailq_path = /usr/bin/mailq.postfix
  manpage_directory = /usr/share/man
  mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
  mydomain = example.jp
  myhostname = mail.example.jp
  mynetworks = 192.168.0.0/23, 127.0.0.0/8
  mynetworks_style = host
  myorigin = $mydomain
  newaliases_path = /usr/bin/newaliases.postfix
  queue_directory = /var/spool/postfix
  readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
  relay_domains = $mydestination
  sample_directory = /usr/share/doc/postfix-2.6.6/samples
  sendmail_path = /usr/sbin/sendmail
  setgid_group = postdrop
  smtpd_banner = $myhostname ESMTP
  smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
  smtpd_sasl_auth_enable = yes
  smtpd_sasl_security_options = noanonymous
  unknown_local_recipient_reject_code = 550

以上です。
よろしくお願いします。

_______________________________________________
Postfix-jp-list mailing list
Postfix-jp-list@xxxxxxxxxxxxxxxxxxxx
http://lists.sourceforge.jp/mailman/listinfo/postfix-jp-list

Follow-Ups
[postfix-jp: 4125] Re: SMTP認証ができません, Yu Oasa

[検索ページ] [Postfix-JP ML Home]