차근차근/Linux

샌드메일 계정 추가하기

예쁜꽃이피었으면 2016. 9. 13. 15:38



FTP / 퍼티 사용



http://faq.hostway.co.kr/Linux_Mail/3748

https://oops.org/?t=lecture&sb=sendmail&n=4



FTP로 서버에 접속한 후 /etc/mail/virtusertable 파일을 열어서 

 예)
 webmaster@domain.co.kr       webmaster

추가할 계정을 입력한다. 


( 나는 ftp에서 virtusertable 이 파일을 내려받아 계정을 추가한 후 다시 서버로 올렸다)




푸티를 열고 로그인 후 

# makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable

이렇게 명령어를 친다.

( 위의 한 줄 전체 . 약간 기다린다. -  virtusertable.db file을 갱신을 위한 명령어 )





반응형