Skip to content

Instantly share code, notes, and snippets.

@nishinoshake
Last active May 29, 2016 03:44
Show Gist options
  • Save nishinoshake/20e03a52af3b37c570bfb8456d361aa3 to your computer and use it in GitHub Desktop.
Save nishinoshake/20e03a52af3b37c570bfb8456d361aa3 to your computer and use it in GitHub Desktop.
メールサーバがよくわからん

#メールサーバ ##必要なソフトウェア ###MUA(Mail User Agent) Macの「メール」やThunderbirdなどのメールクライアント ###MTA(Mail Transfer Agent) 代表的なソフト:Postfix(新),sendmail(古)

クライアントから受け取ったメールを転送する
メールの送受信・保管を担当。(ほぼ全部)
POP/IMAPはできないのでMRAにまかせる。 ###MRA(Mail Retrieval Agent) 代表的なソフト:Dovecot(ダブコット)

メールクライアントのメール取り出しを受け付ける処理
クライアントへメールを渡す

##流れ(逆も同じ) 自分のクライアントからメールを送信
↓ SMTP
自分のメールサーバのPostfixが宛先のメールサーバに送信
↓ SMTP
宛先のメールサーバがメールを受信・保管。
宛先のクライアントからメールの要求があるとdovecotが反応して返す
↑↓ POP/IMAP
宛先のクライアントソフトでメールを確認

http://www.ibm.com/support/knowledgecenter/linuxonibm/liaaz/mailflow.htm?lang=ja

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment