Skip to content

조회 수 9517 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

필자는 이글을 통해 하고싶은말은 서버를 관리하시거나 서버관리자가 꿈이신 분들이 조금이나마

도움이되고자 하여 올리는 글입니다.


메일을 대량으로 보내야하는 서버의 경우 메일큐에서 순차적으로 하나씩 보내기때문에 그만큼 시간도 오래걸리고 누락되는 경우도 있다..

이에 필자는 [멀티 큐]라는 기능을 이용하기로 하였다.


[ 멀티 큐의 장점 ]

멀티 큐의 장점은 다음과 같다.

  • 고성능
  • 병렬 큐 처리
  • 파일 시스템 결점 보완
  • [수정파일]


    /etc/mail/sendmail.cf

    없을경우

    /etc/sedmail.cf


    버젼에따라 파일의 위치가 상이하니 참고하세요.

     

    이파일의 내용중에

    O QueueDirectory=/var/spool/mqueue

    라고된부분이 있을것이다.

     

    우리는 멀티큐를 이용할것이니

    O QueueDirectory=/var/spool/mqueue/q*

    수정후에

     

    cd /var/spool/mqueue/

     

    이동하여

     

    mkdir q1 q2 q3 q4 q5 q6

     

    이렇게 멀티큐를 이용할수있는디렉토리를 지정해주자.


    이제 다끝났다 마지막으로 sendmail만 리스타트해주도록하자


    rpm으로 설치하였거나 yum update를 하였다면


    service sendmail restart 해주면 될것이며


    소스설치라면 귀찮더라도


    /etc/init.d/sendmail restart 를 해주도록하자..


    이제 멀티큐가 되었는지 확인을 해보자.


    쉘상태에서 mailq 라고 입력을 해보자


    /var/spool/mqueue/q1 is empty
    /var/spool/mqueue/q2 is empty
    /var/spool/mqueue/q3 is empty
    /var/spool/mqueue/q4 is empty
    /var/spool/mqueue/q5 is empty
    /var/spool/mqueue/q6 is empty
                    Total requests: 0


    이런식으로 나오면 멀티큐가 된것이다.


    약 300통이상보내고나서 다음날 확인하니 큐에 메일이 안가고 싸인게 몇개있다싶으면


    sendmail -oQ/var/spool/mqueue -oT1d -q -v  


    명령으로 강제로라도 보내서 메일을 못받았으니 이런소리가 안나오도록하자..


  1. roundcube첨부파일 한글일때 깨지는 문제해결

    Date2009.11.01 ByADMINPLAY Views12374
    Read More
  2. sendmail : rejecting connections on port 25 : load ave...

    Date2009.09.20 ByADMINPLAY Views8604
    Read More
  3. sendmail log분석

    Date2009.05.22 ByADMINPLAY Views10548
    Read More
  4. sendmail mqueue 에 쌓인 메일삭제 주기수정

    Date2009.12.14 ByADMINPLAY Views15111
    Read More
  5. sendmail POP3 : webmaster, support 등의 계정으로 SMTP...

    Date2010.11.21 ByADMINPLAY Views19489
    Read More
  6. sendmail spfmilter를 통한 스팸 방지

    Date2012.05.31 ByADMINPLAY Views18854
    Read More
  7. Sendmail 계정 및 도메인생성

    Date2009.11.24 ByADMINPLAY Views13284
    Read More
  8. Sendmail 구동원리 및 설치 활용

    Date2009.06.04 ByADMINPLAY Views8271
    Read More
  9. Sendmail 메일큐 활용하기.[멀티 큐 활용]

    Date2009.07.18 ByADMINPLAY Views9517
    Read More
  10. SendMail 설정 하기

    Date2009.10.20 ByADMINPLAY Views10443
    Read More
  11. sendmail 설정 후 생기는 pop3 로그온 문제

    Date2008.11.08 ByADMINPLAY Views8667
    Read More
  12. Sendmail 세부설정

    Date2009.10.20 ByADMINPLAY Views9914
    Read More
  13. sendmail 송수신 안될시 확인사항

    Date2010.11.21 ByADMINPLAY Views25487
    Read More
  14. sendmail 이메일 포워딩 설정방법

    Date2012.01.16 ByADMINPLAY Views19257
    Read More
  15. sendmail.cf 자주쓰는 설정

    Date2008.12.14 ByADMINPLAY Views9186
    Read More
  16. sendmail.cf 파일 내용 들여다보기

    Date2008.11.10 ByADMINPLAY Views8583
    Read More
  17. Sendmail에서 milter 사용으로 spam, 바이러스 막기

    Date2009.10.20 ByADMINPLAY Views8279
    Read More
  18. sm-client를 시작 중: can not chdir(/var/spool/clientmq...

    Date2012.01.18 ByADMINPLAY Views19962
    Read More
  19. Sorry,_no_mailbox_here_by_that_name._(#5.1.1)

    Date2010.06.22 ByADMINPLAY Views22132
    Read More
  20. SpamAssassin local.cf 룰

    Date2010.11.19 ByADMINPLAY Views18366
    Read More
Board Pagination Prev 1 2 3 4 5 6 Next
/ 6

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234