1 개요
- exim
- 엑심 [éksìm]
- 리눅스 메일데몬
- 메일전송 에이전트(MTA)의 일종이다.
- Debian에서 표준 MTA
- 하나의 프로세스로 동작하며 설정이 쉬운 편
- 개발언어: C
- 원저자: 필립 해이즐(Philip Hazel)
- 첫 릴리즈: 1995년
2 설치
2.1 Debian계열
exim은 exim4-base 로 대체
Console
Copy
#sudo apt install exim4-base
3 재설정
3.1 Debian계열
- 재설정
Console
Copy
#sudo dpkg-reconfigure exim4-config
- 설정파일 확인
Console
Copy
# sudo nano /etc/exim4/update-exim4.conf.conf
GNU nano File: update-exim4.conf.conf
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'
#
# Please note that this is _not_ a dpkg-conffile and that automatic changes
# to this file might happen. The code handling this will honor your local
# changes, so this is usually fine, but will break local schemes that mess
# around with multiple versions of the file.
#
# update-exim4.conf uses this file to determine variable values to generate
# exim configuration macros for the configuration file.
#
# Most settings found in here do have corresponding questions in the
# Debconf configuration, but not all of them.
#
# This is a Debian specific file
dc_eximconfig_configtype='satellite'
dc_other_hostnames='<hostname>'
dc_local_interfaces='127.0.0.1 ; ::1'
dc_readhost='<readhost>'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='<smarthost'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='maildir_home'
- 서비스 재시작
Console
Copy
#sudo service exim4 restart
- 서비스 실행여부 체크
Console
Copy
#netstat -tl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 localhost:smtp 0.0.0.0:* LISTEN
tcp6 0 0 localhost:smtp [::]:* LISTEN
- 메인로그 확인
Console
Copy
#tail -f /var/log/exim4/mainlog
- rejectlog로는 별도로 저장
4 같이 보기
5 참고
편집자 Estanthan7 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.