{ "version": "https://jsonfeed.org/version/1.1", "user_comment": "This feed allows you to read the posts from this site in any feed reader that supports the JSON Feed format. To add this feed to your reader, copy the following URL -- https://matoken.org/blog/tag/imap/feed/json/ -- and add it your reader.", "home_page_url": "https://matoken.org/blog/tag/imap/", "feed_url": "https://matoken.org/blog/tag/imap/feed/json/", "language": "ja", "title": "IMAP – matoken's blog", "description": "Is there no plan B?", "icon": "https://matoken.org/blog/wp-content/uploads/2025/03/cropped-1865f695c4eecc844385acef2f078255036adccd42c254580ea3844543ab56d9.jpeg", "items": [ { "id": "https://matoken.org/blog/?p=4279", "url": "https://matoken.org/blog/2024/12/19/use-imap-smtp-with-hydroxide-and-proton-bridge-with-a-free-account/", "title": "hydroxide\u3092\u4f7f\u3044\u7121\u6599\u30a2\u30ab\u30a6\u30f3\u30c8\u306eProton Mail\u3067\u3082IMAP/SMTP\u3092\u4f7f\u3046", "content_html": "
Proton Mail\u3067OSS\u306e\u30e1\u30fc\u30eb\u30d6\u30ea\u30c3\u30b8\u3092\u4f7f\u3046\u3053\u3068\u3067\u7121\u6599\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u3082IMAP/SMTP\u304c\u5229\u7528\u3067\u304d\u305f\u306e\u3067\u30e1\u30e2\u3057\u3066\u304a\u304d\u307e\u3059\uff0e
\n\n
ProtonMail\u3068\u3044\u3046\u30b9\u30a4\u30b9\u306e\u4f1a\u793e\u306e\u30e1\u30fc\u30eb\u30b5\u30fc\u30d3\u30b9\u304c\u3042\u308a\u307e\u3059\uff0e\u30b3\u30fc\u30c9\u306fOSS\u3067\u516c\u958b\u3055\u308c\u3066\u304a\u308a\uff0c\u81ea\u52d5\u7684\u306bPGP\u9375\u3092\u4f5c\u6210\u3057\u3066E2EE\u3092\u4f7f\u3048\u305f\u308a\u3057\u307e\u3059\uff0e
\n\u73fe\u5728\u306f\u30aa\u30f3\u30e9\u30a4\u30f3\u30b9\u30c8\u30ec\u30fc\u30b8\uff0cVPN\uff0c\u30ab\u30ec\u30f3\u30c0\u30fc\uff0c\u30d1\u30b9\u30ef\u30fc\u30c9\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u306a\u3069\u306e\u30b5\u30fc\u30d3\u30b9\u3082\u958b\u59cb\u3057\u3066\u3044\u307e\u3059\uff0e\u7121\u6599\u3067\u3082\u4f7f\u3048\u307e\u3059\u3057\uff0c\u8131gmail\u306a\u5411\u304d\u306b\u306f\u52e7\u3081\u3084\u3059\u3044\u30b5\u30fc\u30d3\u30b9\u3067\u3059\uff0e
\n\u3057\u304b\u3057\uff0c\u7121\u6599\u3067\u306fIMAP/SMTP\u304c\u5229\u7528\u3067\u304d\u306a\u3044\u305f\u3081\u597d\u307f\u306eMUA\u304c\u5229\u7528\u3067\u304d\u305a\u30a6\u30a7\u30d6\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u3057\u304b\u5229\u7528\u3067\u304d\u307e\u305b\u3093\uff0e\u20ac4.99\u3088\u308a\u306e\u6709\u6599\u30d7\u30e9\u30f3\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u3053\u3068\u3067Proton Mail Bridge\u3068\u3044\u3046\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5229\u7528\u3057\u3066IMAP/SMTP\u304c\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\uff0c\u597d\u307f\u306eMUA\u304c\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\uff0e
\nEmail client support (via IMAP/SMTP)\nProton Mail supports desktop clients such as Outlook, Apple Mail, Thunderbird, etc. via Proton Mail Bridge.\n
\u7121\u6599\u30a2\u30ab\u30a6\u30f3\u30c8\u3067Proton Mail Bridge\u3092\u8a66\u3059\u3068\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3092\u52e7\u3081\u3089\u308c\u3066\u4f7f\u3048\u307e\u305b\u3093\uff0e
\n
\n
hydroxide\u306fGo\u88fdMIT\u30e9\u30a4\u30bb\u30f3\u30b9\u306eProton bridge\u3067\u3059\uff0eIMAP/SMTP\u306e\u4ed6\u306bCardDAV\u306b\u3082\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u3059\uff0e
\nProton Mail Bridge\u3068\u9055\u3044\uff0cGUI\u306f\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u305b\u3093\uff0e
$ git clone https://github.com/emersion/hydroxide.git (1)\n$ cd hydroxide\n$ go build ./cmd/hydroxide (2)\n$ install ./hydroxide ~/bin/ (3)\n$ which hydroxide\n/home/matoken/bin/hydroxide\n
source\u306eclone
\nbuild
\n\u597d\u307f\u306e\u5834\u6240\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb
\n$ hydroxide --help\nusage: hydroxide [options...] <command>\nCommands:\n auth <username> Login to ProtonMail via hydroxide\n carddav Run hydroxide as a CardDAV server\n export-secret-keys <username> Export secret keys\n imap Run hydroxide as an IMAP server\n import-messages <username> [file] Import messages\n export-messages [options...] <username> Export messages\n sendmail <username> -- <args...> sendmail(1) interface\n serve Run all servers\n smtp Run hydroxide as an SMTP server\n status View hydroxide status\n\nGlobal options:\n -debug\n Enable debug logs\n -api-endpoint <url>\n ProtonMail API endpoint\n -app-version <version>\n ProtonMail application version\n -smtp-host example.com\n Allowed SMTP email hostname on which hydroxide listens, defaults to 127.0.0.1\n -imap-host example.com\n Allowed IMAP email hostname on which hydroxide listens, defaults to 127.0.0.1\n -carddav-host example.com\n Allowed SMTP email hostname on which hydroxide listens, defaults to 127.0.0.1\n -smtp-port example.com\n SMTP port on which hydroxide listens, defaults to 1025\n -imap-port example.com\n IMAP port on which hydroxide listens, defaults to 1143\n -carddav-port example.com\n CardDAV port on which hydroxide listens, defaults to 8080\n -disable-imap\n Disable IMAP for hydroxide serve\n -disable-smtp\n Disable SMTP for hydroxide serve\n -disable-carddav\n Disable CardDAV for hydroxide serve\n -tls-cert /path/to/cert.pem\n Path to the certificate to use for incoming connections (Optional)\n -tls-key /path/to/key.pem\n Path to the certificate key to use for incoming connections (Optional)\n -tls-client-ca /path/to/ca.pem\n If set, clients must provide a certificate signed by the given CA (Optional)\n\nEnvironment variables:\n HYDROXIDE_BRIDGE_PASS Don't prompt for the bridge password, use this variable instead\n
auth\u30aa\u30d7\u30b7\u30e7\u30f3\u3067Proton Mail\u3068hydroxide\u306e\u9593\u3067\u306e\u8a8d\u8a3c\u3068\uff0chydroxide\u3068MUA\u306e\u9593\u3067\u4f7f\u3046\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u751f\u6210\u3092\u884c\u3044\u307e\u3059\uff0e
\nProton Mail\u3068\u306e\u8a8d\u8a3c\u5f8c\u306b\u8868\u793a\u3055\u308c\u308b\u30d6\u30ea\u30c3\u30b8\u30d1\u30b9\u30ef\u30fc\u30c9\u306fMUA\u3068\u306e\u8a8d\u8a3c\u306b\u4f7f\u3044\u307e\u3059\uff0e\u4fdd\u5b58\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\uff0e
$ hydroxide auth <username>\n
\u8a8d\u8a3c\u60c5\u5831\u306f ~/.config/hydroxide/ \u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u4fdd\u5b58\u3055\u308c\u307e\u3059\uff0e
SMTP
\nsmtp\u30aa\u30d7\u30b7\u30e7\u30f3\u3067SMTP\u306e\u30d6\u30ea\u30c3\u30b8\u304c\u8d77\u52d5\u3057\u307e\u3059\uff0e
\n$ hydroxide smtp\n
1025
\n\u306a\u3057
\nProton Mail\u3068\u540c\u3058
\nauth\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u8868\u793a\u3055\u308c\u305f\u30d6\u30ea\u30c3\u30b8\u30d1\u30b9\u30ef\u30fc\u30c9
\nCardDav
\ncarddav\u30aa\u30d7\u30b7\u30e7\u30f3\u3067CardCad\u306e\u30d6\u30ea\u30c3\u30b8\u304c\u8d77\u52d5\u3057\u307e\u3059\uff0ehttps\u30ea\u30d0\u30fc\u30b9\u30d7\u30ed\u30ad\u30b7\u3092\u8d77\u52d5\u3057\u3066\u5229\u7528\u3059\u308b\u3088\u3046\u3067\u3059\u304c\u672a\u691c\u8a3c\uff0e
\n$ hydroxide carddav\n
IMAP
\nimap\u30aa\u30d7\u30b7\u30e7\u30f3\u3067IMAP\u306e\u30d6\u30ea\u30c3\u30b8\u304c\u8d77\u52d5\u3057\u307e\u3059\uff0e
\n$ hydroxide imap\n
1143
\n\u306a\u3057
\nProton Mail\u3068\u540c\u3058
\nauth\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u8868\u793a\u3055\u308c\u305f\u30d6\u30ea\u30c3\u30b8\u30d1\u30b9\u30ef\u30fc\u30c9
\n| \n Warning \n | \n\nIMAP\u306e\u30b5\u30dd\u30fc\u30c8\u306f\u9032\u884c\u4e2d\u3089\u3044\u3044\u3067\u3059\uff0e\u3068\u308a\u3042\u3048\u305a\u6570\u6642\u9593\u4f7f\u3063\u305f\u7a0b\u5ea6\u3060\u3068\u666e\u901a\u306b\u4f7f\u3048\u3066\u3044\u305d\u3046\u3067\u3059\uff0e\n | \n
serve\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u8907\u6570\u306e\u30b5\u30fc\u30d3\u30b9\u306e\u8d77\u52d5
\nhydroxide\u3092\u8907\u6570\u8d77\u52d5\u3057\u306a\u3044\u3088\u3046\u306b\u3068\u306e\u6ce8\u610f\u304cREADME.md\u306b\u3042\u308a\u307e\u3059\uff0e\u8907\u6570\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u8d77\u52d5\u3057\u305f\u3044\u5834\u5408\u306fserve\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u5168\u3066\u306e\u30b5\u30fc\u30d3\u30b9(SMTP, CardDav, IMAP)\u304c\u8d77\u52d5\u3057\u307e\u3059\uff0e
\n$ hydroxide serve\n
3\u3064\u306e\u30b5\u30fc\u30d3\u30b9\u306e\u3046\u30612\u3064\u3060\u3051\u3092\u8d77\u52d5\u3057\u305f\u3044\u5834\u5408\u306fserve\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u4ed6\u306b-disable-\u30b5\u30fc\u30d3\u30b9\u540d\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u307e\u3059\uff0e\u4ee5\u4e0b\u306fCardDav\u3092\u7121\u52b9\u306b\u3057\u3066SMTP\u3068IMAP\u304c\u8d77\u52d5\u3057\u307e\u3059\uff0e
\n$ hydroxide -disable-carddav serve\n
hydroxide\u3092\u8d77\u52d5\u3057\u305f\u72b6\u614b\u3067\u597d\u307f\u306eMUA\u306b\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\uff0e
\nTLS\u306a\u3069\u306b\u306f\u975e\u5bfe\u5fdc\u306a\u306e\u3067\u6ce8\u610f\uff0e
\u3042\u3068\u306f\u666e\u901a\u306b\u5229\u7528\u3067\u304d\u307e\u3059\uff0e
\nProton Mail\u306b\u4f5c\u3089\u308c\u305f\u305f\u3082\u306e\u3067\u306f\u306a\u3044\u81ea\u5206\u306ePGP\u9375\u3092\u4f7f\u3046\u3053\u3068\u3082\u3067\u304d\u307e\u3059 :)
\u306f\u3058\u3081Raspberry Pi\u3067hydroxide\u3092\u8d77\u52d5\u3057\u3066Laptop\u306eMUA\u304b\u3089\u7e4b\u3054\u3046\u3068\u601d\u3063\u3066\u3044\u307e\u3057\u305f\u304c\uff0c\u65e2\u5b9a\u5024\u3067\u306fTLS\u304c\u5229\u7528\u3055\u308c\u305a\u901a\u4fe1\u304c\u5e73\u6587\u3067\u884c\u308f\u308c\u308b\u306e\u3067\u30ea\u30e2\u30fc\u30c8\u3067\u52d5\u304b\u3059\u306e\u306f\u3084\u3081\u3066localhost\u3067\u52d5\u304b\u3059\u3053\u3068\u306b\u3057\u307e\u3057\u305f\uff0e
\nMUA\u3067\u30e1\u30fc\u30eb\u3092\u9001\u53d7\u4fe1\u3059\u308b\u3068\u304d\u306b\u306fhydroxide\u304c\u8d77\u52d5\u3057\u3066\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\uff0e
\n\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u74b0\u5883\u306e\u81ea\u52d5\u8d77\u52d5\u6a5f\u80fd\u3084\uff0ccrontab\u306e@reboot\u306a\u3069\u3084MUA\u306e\u8d77\u52d5script\u306b\u52a0\u3048\u305f\u308a\u3059\u308b\u3068\u826f\u3055\u305d\u3046\u3067\u3059\uff0e
\u305d\u3057\u3066\u305d\u306e\u307e\u307e\u3060\u3068\u30ea\u30e2\u30fc\u30c8\u304b\u3089\u7e4b\u3050\u3053\u3068\u3082\u3067\u304d\u308b\u306e\u3067localhost\u304b\u3089\u3057\u304b\u53d7\u3051\u4ed8\u3051\u306a\u3044\u3088\u3046nftable\u306a\u3069\u3067\u5236\u9650\u3092\u639b\u3051\u305f\u307b\u3046\u304c\u826f\u3055\u305d\u3046\u3067\u3059\uff0e
\n\u3068\u3044\u3046\u3053\u3068\u3067hydroxide\u3092\u5229\u7528\u3057\uff0c\u7121\u6599\u30a2\u30ab\u30a6\u30f3\u30c8\u3067Proton Mail\u306eIMAP/SMTP\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3057\u3066\u81ea\u5206\u597d\u307f\u306eMUA\u3092\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\uff0e\u3053\u308c\u3067\u30a6\u30a7\u30d6\u30d6\u30e9\u30a6\u30b6\u3092\u8d77\u52d5\u3057\u306a\u304f\u3066\u3082\u30e1\u30fc\u30eb\u306e\u9001\u53d7\u4fe1\u304c\u3067\u304d\u305f\u308a\u81ea\u5206\u306e\u4f5c\u6210\u3057\u305fPGP\u9375\u3092\u5229\u7528\u3067\u304d\u307e\u3059\uff0e
\n\u305f\u3060\uff0chydroxide\u3082Proton\u306eAPI\u3092\u53e9\u3044\u3066\u3044\u308b\u3088\u3046\u306a\u306e\u3067Proton Brisge\u306e\u3088\u3046\u306bProton\u5074\u3067\u7121\u6599\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u5bfe\u3057\u3066\u30a2\u30af\u30bb\u30b9\u5236\u9650\u3092\u3059\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u4f7f\u3048\u306a\u304f\u306a\u308b\u3068\u601d\u3044\u307e\u3059\uff0e\u305d\u306e\u305f\u3081\u3044\u3064\u307e\u3067\u5229\u7528\u3067\u304d\u308b\u304b\u308f\u304b\u3089\u306a\u3044\u65b9\u6cd5\u3067\u3059\uff0e\u305d\u308c\u304c\u5acc\u306a\u3089\u6709\u6599\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u304b\u5225\u306e\u30b5\u30fc\u30d3\u30b9\u3092\u4f7f\u3046\u3057\u304b\u306a\u3055\u305d\u3046\u3067\u3059\uff0e
$ dpkg-query -W golang\ngolang:amd64 2:1.23~2\n$ lsb_release -dr\nDescription: Debian GNU/Linux trixie/sid\nRelease: n/a\n$ arch\nx86_64\n
$ git log --pretty=oneline -1\nc964219ad4996d90b34d730b98a8c736b9bc9921 (HEAD -> master, tag: v0.2.29, origin/master, origin/HEAD) Support BODY and TEXT in search\n$ dpkg-query -W golang\ngolang:armhf 2:1.19~1\n$ lsb_release -dr\nNo LSB modules are available.\nDescription: Raspbian GNU/Linux 12 (bookworm)\nRelease: 12\n$ arch\narmv7l\n