개발 - 예제 모음/LINUX & UNIX
sendmail - aliases 설정
곰!
2009. 8. 10. 10:40
첫 등록일 : 2008-03-23
최종 수정일 : 2009-08-10
** aliases 화일 위치 및 설정
/etc/mail/aliases
root: rootmessage@domain.com
return: /dev/null
- return@domain.com 으로 오는 메일은 /dev/null 로 처리 (삭제)
* root: rootmessage@domain.com
- 서버내에서 root 로 가는 메일은 rootmessage@domain.com 로 포워딩
- 크론 작업 등의 결과가 root 로 메일링 되도록 되어있는데 이 메세지를 받아보기 편하다
** aliases 설정 반영 -> aliases.db 에 적용
[root@mail mail]# sendmail -bi
- sendmail 재시작은 해줘야 하는지 잘 기억이 안남.. (별거 아니니 그냥 해주면 됨)
--> 재시작할 필요없음
최종 수정일 : 2009-08-10
** aliases 화일 위치 및 설정
/etc/mail/aliases
root: rootmessage@domain.com
return: /dev/null
--- 메모 ---
* return: /dev/null- return@domain.com 으로 오는 메일은 /dev/null 로 처리 (삭제)
* root: rootmessage@domain.com
- 서버내에서 root 로 가는 메일은 rootmessage@domain.com 로 포워딩
- 크론 작업 등의 결과가 root 로 메일링 되도록 되어있는데 이 메세지를 받아보기 편하다
[root@mail mail]# sendmail -bi
--- 메모 ---
* /etc/init.d/sendmail restart- sendmail 재시작은 해줘야 하는지 잘 기억이 안남.. (별거 아니니 그냥 해주면 됨)
--> 재시작할 필요없음