CentOS6のexim4.72でSMTP_AUTH(PAM)をおこなう方法

SSL、TLSはありません。

yum install exim
vim /etc/exim/exim.conf
---
・・・
auth_advertise_hosts = *
・・・
PLAIN:
  driver                     = plaintext
  server_set_id              = $auth2
  server_prompts             = :
  server_condition           = ${if pam{$auth2:$auth3}{yes}{no}}
  server_advertise_condition = yes

LOGIN:
  driver                     = plaintext
  server_set_id              = $auth1
  server_prompts             = <| Username: | Password:
  server_condition           = ${if pam{$auth1:$auth2}{yes}{no}}
  server_advertise_condition = yes
---

chmod +r /etc/shadow
service exim restart

telnetでの確認はこちら https://hacknote.jp/archives/1455/