[질문] sendmail에서 받은메일 내용이 깨져요?
안녕하세요!
redhat9 Linux에 SendMail 데몬을 뛰워서
메일을 TEST하고 있습니다.
다른 메일서버에서 보낸 메일을
local에서 받는것 까지는 되는데여
메일 내용들이 모두 깨져 버립니다.
--------------Boundary-00=_M1ATULUXFQQMYJ0CCJD0
Content-Type: Text/Plain;
charset="euc-kr"
Content-Transfer-Encoding: base64
uN7AzyBURVNU
--------------Boundary-00=_M1ATULUXFQQMYJ0CCJD0
Content-Type: Text/HTML;
charset="euc-kr"
Content-Transfer-Encoding: base64
PFNUWUxFPgpCT0RZIHtGT05ULUZBTUlMWTogsby4sjtGT05ULVNJWkU6IDEwcHQ7fQpQIHttYXJn
aW4tdG9wOjJweDttYXJnaW4tYm90dG9tOjJweDt9CjwvU1RZTEU+CrjewM8gVEVTVDxQPiZuYnNw
OzxCUj48L1A+PHA+DQo8VEFCTEUgYm9yZGVyPTAgY2VsbFBhZGRpbmc9MCBjZWxsU3BhY2luZz0w
IHdpZHRoPTYzMD4NCjx0cj48dGQgaGVpZ2h0PSIxIiB3aWR0aD0iNjMwIiBiYWNrZ3JvdW5kPSJo
dHRwOi8vc3RhdGljLm5hdmVyLmNvbS9uZXdfbWFpbC9pbWFnZXMvZl9kb3QuZ2lmIj48L3RkPjwv
dHI+DQo8dHI+DQo8VEQ+DQoJPHRhYmxlIGJvcmRlcj0iMCIgY2VsbHBhZGRpbmc9IjAiIGNlbGxz
cGFjaW5nPSIwIiB3aWR0aD0iMTAwJSI+DQoJPHRyPjx0ZCBoZWlnaHQ9IjUiPjwvdGQ+PC90cj4N
Cgk8dHI+IA0KCTx0ZCBjb2xzcGFuPSIzIiB3aWR0aD0iMTAwJSI+PGZvbnQgc3R5bGU9ImZvbnQt
c2l6ZToxMnB4Ij48Rk9OVCBjb2xvcj0iMDA1NEZGIj48Yj5bs9fAzLn2uN7Az108L2I+PC9GPiA8
YSBocmVmPWh0dHA6Ly9tYWlsLm5hdmVyLmNvbSB0YXJnZXQ9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aHR0cDovL2tpbi5uYXZlci5jb20vYnJvd3NlL2RiX2RldGFpbC5waHA/ZGlyX2lk
PTYwMSZkb2NpZD0xMzM0MSIgdGFyZ2V0PWJsYW5rPrTfIMDivsa41LDtIL/AuK653yEgv9Ygx8/H
yiAnv8C4ri4uPC9hPjwvZm9udD48L3RkPg0KCQkJCQk8L3RyPg0KCQkJCQk8L3RhYmxlPiANCgkJ
CQk8L3RkPg0KCQkJCTx0ZCB3aWR0aD0iMSIgbm93cmFwPjxpbWcgc3JjPSJodHRwOi8vc3RhdGlj
Lm5hdmVyLmNvbS9uZXdfbWFpbC9pbWFnZXMvZl9kb3RsaW5lLmdpZiI+PC90ZD4NCgkJCQk8dGQg
d2lkdGg9IjUwJSI+DQoJCQkJCTx0YWJsZSBib3JkZXI9IjAiIGNlbGxwYWRkaW5nPSIwIiBjZWxs
c3BhY2luZz0iMCI+DQoJCQkJCTx0cj4NCgkJCQkJPHRkIHdpZHRoPSIxMiI+PC90ZD4NCgkJCQkJ
PHRkPjxpbWcgc3JjPSJodHRwOi8vc3RhdGljLm5hdmVyLmNvbS9uZXdfbWFpbC9mb290ZXIvaHVr
dWljb24uZ2lmIj48L3RkPg0KCQkJCQk8dGQgd2lkdGg9IjgiPjwvdGQ+DQoJCQkJCTx0ZCBjbGFz
cz0iZm4yIj48Zm9udCBzdHlsZT0iZm9udC1zaXplOjEycHg7IGxpbmUtaGVpZ2h0OjE3cHgiPrPX
wMy59r+hvK0gu/XH2CC6uSC4ucDMIMOjwLi8vL/kIQ0KPGJyPjxhIGhyZWY9Imh0dHA6Ly9ldmVu
왜그런지 모르겠내여.
뭐가 깨진다는거죠?위의 상태 그대로 나온다는 건가요?decodin
뭐가 깨진다는거죠?
위의 상태 그대로 나온다는 건가요?
decoding 을 하셔야죠.
[quote="zepinos"]뭐가 깨진다는거죠?위의 상태 그대로 나
바보 같은 질문을 또합니다.
decoding은 뭘로 하는건가여 ?
Linux 를 배워봅시다.
파이썬이 설치되어 있다면 base64 모듈의 decodestring()으
파이썬이 설치되어 있다면 base64 모듈의 decodestring()으로 한 방에 decoding이 가능합니다. :)
-----
http://monpetit.posterous.com/
http://monpetit.tistory.com/
댓글 달기