====== PAM 인증을 통한 사용자 관리 ====== ===== 설정변경 ===== - /etc/exim4/update-exim4.conf.conf 파일을 수정한다. dc_eximconfig_configtype='internet' dc_other_hostnames='adminschool.net' dc_local_interfaces='' dc_readhost='' dc_relay_domains='' dc_minimaldns='false' dc_relay_nets='' dc_smarthost='' CFILEMODE='644' #dc_use_split_config='false' dc_use_split_config='true' dc_hide_mailname='false' dc_mailname_in_oh='true' #dc_localdelivery='mail_spool' dc_localdelivery='maildir_home' - /etc/exim4/conf.d/auth/42-login 파일을 생성한다. # # /etc/passwd 에 있는 값을 가지고 인증을 한다. # fixed_login: driver = plaintext public_name = LOGIN server_prompts = "Username:: : Password::" server_condition = ${if pam{$1:${sg{$2}{:}{::}}}{yes}{no}} server_set_id = $1 # # fixed_plain: driver = plaintext public_name = PLAIN server_prompts = : server_condition = ${if pam{$2:${sg{$3}{:}{::}}}{yes}{no}} server_set_id = $2 - /etc/group 파일을 수정한다. ... shadow:x:42:Debian-exim ... -