삽질은 나의 힘 | 'mail' 태그의 글 목록
삽질은 나의 힘 위치로그  |  태그  |  미디어로그  |  방명록
icon mail 에 해당하는 글3 개
2010.12.15   [Mail] Deferred: 452 MI:SFK
2010.03.20   [crond] got status 0x007f
2009.12.07   DSN : Return receipt


icon [Mail] Deferred: 452 MI:SFK
TroubleShooting | 2010. 12. 15. 09:04

국내에서는 정상적이나, 해외쪽으로 메일발송시 return된다고 합니다.

[ return message ]
...
<xxxx@xxx.yyy>... Deferred: 452 MI:SFK
http://www.ipmotor.com/smtp_err.htm
...

해당 경로에 가보면 중국어라 구글번역기를 이용하면

아래와 같이 번역되어 나옵니다.

452 MI: SFK Forged sender identity information.

nameserver가 타업체 서버라, 해당 담당자에게 연락해보니

이상트래픽으로 해외쪽 트래픽을 막았었다고 하네요.

받는 쪽 메일서버에서 해당 domain을 check하고 return한것으로 보여집니다.

해제후 정상화되었습니다.


arrow 트랙백 | 댓글



icon [crond] got status 0x007f
TroubleShooting | 2010. 3. 20. 00:26

============= error_log ====================================
] cat /var/log/cron
Mar 17 11:25:01 nweb crond[18376]: (root) MAIL (mailed 122 bytes of output but got status 0x007f )
Mar 17 11:26:01 nweb crond[18394]: (root) CMD (run-parts /etc/cron.1min)
Mar 17 11:26:01 nweb crond[18393]: (root) MAIL (mailed 122 bytes of output but got status 0x007f )
Mar 17 11:27:01 nweb crond[18409]: (root) CMD (run-parts /etc/cron.1min)
Mar 17 11:27:01 nweb crond[18408]: (root) MAIL (mailed 122 bytes of output but got status 0x007f )
Mar 17 11:28:01 nweb crond[18429]: (root) CMD (run-parts /etc/cron.1min)
Mar 17 11:28:01 nweb crond[18428]: (root) MAIL (mailed 122 bytes of output but got status 0x007f )
...
...
============================================================

] man crond
....
....
When executing commands, any output is mailed to  the  owner of the crontab
(or to the user named in the MAILTO environment variable in the crontab, if such exists)

// 명령어가 실행될때 output이 crontab소유자에게 mailing되게 됩니다.
// 또는, crontab 환경변수 MAILTO가 지정되어있는 경우는 지정된 사용자에게 보내집니다.
============================================================
- mail program의 오동작
- /var 파티션(기본적인 sendmail사용 파일이 포함된)에 100%가 차도
  mail발송이 안되므로 위와 유사한 로그가 발생한다고 합니다.
============================================================


arrow 트랙백 | 댓글



icon DSN : Return receipt
Server/Linux | 2009. 12. 7. 21:20

sendmail 기본설정인 서버기준으로,

Nate
에서 메일을 발송할 때, 메일발송후 수신서버에서 “Return receipt” 메일 메시지가

발송되는 현상관련 로그는 아래와 같다.


( aaaaa가 bbbbb에게 메일을 보내면 정상적으로 메일이 수신되었음을 bbbbb계정이 있는
메일서버에서 aaaaa에게 배달성공메시지를 보낸다.)

Nov 20 17:27:26 www sendmail[6375]: nAK8RQT9006375: from=<aaaaa
@nate.com>, size=1023, class=0, nrcpts=1, msgid=<d564454f517ce4d4c83de9da474e40c9$25d9603d@mail3.nate.com>

TP, daemon=Daemon0, relay=[117.xx.xxx.131]

Nov 20 17:27:26 www sendmail[6376]: nAK8RQT9006375: to=bbbbb@ccc.net, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31203, dsn=2.0.0, stat=Sent

Nov 20 17:27:26 www sendmail[6376]: nAK8RQT9006375: nAK8RQT9006376: DSN: Return receipt

 

DSN(Delivery Status Notifications) 관련 문서를 찾아본 결과 아래와 같은 부분을 볼 수 있었다.

 

-       Specifically, the DSN SMTP service is used to request that indications of successful delivery or delivery failure (in the DSN format) be returned. Issuance of a DSN upon delivery failure is the default behavior, whereas issuance of a DSN upon successful delivery requires a specific request from the sender.

 

배달 실패시 리턴은 기본적으로 되어있으나,

배달 성공의 경우 리턴은, 메일발송시 보내는 쪽의 특정 요청이 필요한 것으로 보인다.

 

추가하여, 배달성공 리턴메시지를 막기 위해 아래의 방법을 이용할 수 있다.

 

/etc/mail/sendmail.mc 에 아래 구문을 넣고 저장,

================================

define(`confPRIVACY_FLAGS', `noreceipts')dnl

================================

 

# m4 sendmail.mc > sendmail.cf

# killall HUP sendmail

 

번거로우면 간단하게 /etc/mail/sendmail.cf에 아래 구문을 넣고

 

=======================

O PrivacyOptions=noreceipts

=======================

 

# killall HUP sendmail 로 설정파일을 다시 읽어들이시면 바로적용된다.


arrow 트랙백 | 댓글



[PREV] [1] [NEXT]
관리자  |   글쓰기
BLOG main image
분류 전체보기 (27)
Server (4)
Network (3)
Packet Analysis (3)
Security (3)
TroubleShooting (8)
Algorithm (1)
ETC (2)
None (1)
Total :
Today :
Yesterday :
rss
위치로그 : 태그 : 방명록 : 관리자
minSoong-e's Blog is powered by Daum / Designed by plyfly.net