/2019-06

๐Ÿ“ฎ ์šฐ๋ฆฌ๋“ค์˜ ์ด๋ฉ”์ผ ์„œ๋น„์Šค, ๋‹ค์ž‡๋ˆ„!

Primary LanguageJavaScriptMIT LicenseMIT

Daitnu

Documentation Maintenance

์šฐ๋ฆฌ๋“ค์˜ ์ด๋ฉ”์ผ ์„œ๋น„์Šค, ๋‹ค์ž‡๋ˆ„!
Linux ํ™˜๊ฒฝ์—์„œ SMTP, POP3, IMAP ํ”„๋กœํ† ์ฝœ์„ ์ด์šฉํ•˜์—ฌ ์ด๋ฉ”์ผ ์„œ๋ฒ„ ๊ตฌ์ถ•

Daitnu Season2

๋‹ค์ž‡๋ˆ„ ์‹œ์ฆŒ2๋Š” ๋‹ค๋ฅธ ๋ ˆํฌ์—์„œ ์ง„ํ–‰๋ฉ๋‹ˆ๋‹ค.

server : Spring ๊ธฐ๋ฐ˜
client : Type Script๋กœ ์ „ํ™˜

Daitnu Season1

๐Ÿ  Homepage

๐Ÿ“ฎ Daitnu Blog

Concept

์›Œํฌํ”Œ๋กœ์šฐ

Mail Agents

  • MUA (Mail User Agent): ๋ฉ”์ผ์„ ์ฝ๊ณ  ๋ณด๋‚ผ ๋•Œ ํด๋ผ์ด์–ธํŠธ๊ฐ€ ์ด์šฉํ•˜๋Š” ํ”„๋กœ๊ทธ๋žจ
  • MTA (Mail Transfer Agent): ๋ฉ”์ผ์„ SMTP๋ฅผ ํ†ตํ•ด ๋‹ค๋ฅธ ๋ฉ”์ผ ์„œ๋ฒ„๋กœ ์ „๋‹ฌํ•˜๋Š” ํ”„๋กœ๊ทธ๋žจ
  • MDA (Mail Delivery Agent): POP3, IMAP์„ ํ†ตํ•ด ์„œ๋ฒ„์— ์ €์žฅ๋œ ์ด๋ฉ”์ผ์„ ์‚ฌ์šฉ์ž์—๊ฒŒ ์ „๋‹ฌํ•˜๋Š” ํ”„๋กœ๊ทธ๋žจ

Mail Protocols

  • SMTP (Simple Mail Transfer Protocol): ์ธํ„ฐ๋„ท์—์„œ ์ด๋ฉ”์ผ์„ ๋ณด๋‚ด๊ธฐ ์œ„ํ•ด ์ด์šฉ๋˜๋Š” ํ”„๋กœํ† ์ฝœ
  • SMTPS: SMTP ํ”„๋กœํ† ์ฝœ ์ด์šฉ์‹œ SSL (Secure Socket Layer)๋ฅผ ์ด์šฉํ•˜์—ฌ ์•”ํ˜ธํ™”
  • IMAP/POP3 (Internet Message Access Protocol): ์‘์šฉ ๊ณ„์ธต ์ธํ„ฐ๋„ท ํ”„๋กœํ† ์ฝœ ์ค‘ ํ•˜๋‚˜๋กœ, ์›๊ฒฉ ์„œ๋ฒ„๋กœ๋ถ€ํ„ฐ TCP/IP ์—ฐ๊ฒฐ์„ ํ†ตํ•ด ์ด๋ฉ”์ผ์„ ๊ฐ€์ ธ์˜ค๋Š”๋ฐ ์‚ฌ์šฉ
  • IMAPS/POP3S: IMAP/POP3 ํ”„๋กœํ† ์ฝœ ์‚ฌ์šฉ์‹œ SSL (Secure Socket Layer)์„ ์ด์šฉํ•˜์—ฌ ์•”ํ˜ธํ™”

IMAP vs POP3

  • IMAP: ์„œ๋ฒ„์— ์ด๋ฉ”์ผ์„ ์ €์žฅ. ๋ชจ๋ฐ”์ผ ์žฅ์น˜๋‚˜ ์ปดํ“จํ„ฐ ๋“ฑ ์—ฌ๋Ÿฌ ๊ธฐ๊ธฐ์—์„œ ์ด๋ฉ”์ผ์„ ์ฒ˜๋ฆฌํ•˜๋Š” ๊ฒฝ์šฐ IMAP์„ ์‚ฌ์šฉํ•œ๋‹ค๋ฉด ๋ชจ๋“  ๊ธฐ๊ธฐ์—์„œ ๋™๊ธฐํ™”๋œ ๋ฉ”์ผ ์ •๋ณด๋ฅผ ๋ฐ›์•„๋ณผ ์ˆ˜ ์žˆ์Œ
  • POP3: ๋ชจ๋ฐ”์ผ ์žฅ์น˜๋‚˜ ์ปดํ“จํ„ฐ์˜ ํด๋”์— ์ด๋ฉ”์ผ์„ ์ €์žฅ. ์ด๋ก ์ ์œผ๋กœ IMAP๋ณด๋‹ค Privateํ•˜์ง€๋งŒ, ์ด๋ฉ”์ผ์ด ์‹œ์Šคํ…œ ์˜ค๋ฅ˜, ํ•˜๋“œ ๋“œ๋ผ์ด๋ธŒ ๊ณ ์žฅ ๋“ฑ์œผ๋กœ๋ถ€ํ„ฐ ๋” ํฐ ์œ„ํ—˜์— ๋…ธ์ถœ๋จ. ์ด๋ฉ”์ผ์„ ์‚ฌ์šฉํ•˜๋Š” ๋ชจ๋“  ๊ธฐ๊ธฐ๋Š” ์ž์‹ ์˜ ํด๋”๋ฅผ ๊ฐ€์ง€๊ณ  ์žˆ๊ณ  ๋‹ค๋ฅธ ๊ธฐ๊ธฐ์—์„œ ํด๋”๋ฅผ ๋ณด๊ฑฐ๋‚˜ ์ ‘๊ทผํ•  ์ˆ˜ ์—†์Œ

Tech Stack

๊ธฐ์ˆ ์Šคํƒ

Prerequisites

  • node 10.16.0
  • npm 6.9.0

Install & Usage

  • Front-End
cd web
npm install
npm run build
npm start
  • Back-End
cd server
npm install
npm start

Run tests

npm run test

Team

๐Ÿ‘ค @BuildTheTruth

๐Ÿ‘ค @ljh1324

๐Ÿ‘ค @jonghwajoa

๐Ÿ‘ค @sjh2428