{"id":26413,"date":"2025-12-21T12:00:00","date_gmt":"2025-12-21T08:30:00","guid":{"rendered":"https:\/\/webdade.com\/blog\/?p=26413"},"modified":"2025-12-20T12:31:00","modified_gmt":"2025-12-20T09:01:00","slug":"introduction-to-mail-server-setup","status":"publish","type":"post","link":"https:\/\/webdade.com\/blog\/introduction-to-mail-server-setup","title":{"rendered":"\u0622\u0645\u0648\u0632\u0634 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 \u06cc\u0627 Mail Server \u0628\u0647 \u06a9\u0645\u06a9 Postfix, Dovecot, MySQL"},"content":{"rendered":"\n<div id=\"gspb_text-id-gsbp-61dee3d\" class=\"gspb_text gspb_text-id-gsbp-61dee3d \">\u0627\u0631\u0633\u0627\u0644 \u0648 \u062f\u0631\u06cc\u0627\u0641\u062a \u0627\u06cc\u0645\u06cc\u0644\u060c \u0642\u0644\u0628 \u062a\u067e\u0646\u062f\u0647 \u0627\u0631\u062a\u0628\u0627\u0637\u0627\u062a \u062a\u062c\u0627\u0631\u06cc \u062f\u0631 \u062f\u0646\u06cc\u0627\u06cc \u0627\u0645\u0631\u0648\u0632 \u0627\u0633\u062a. <strong>\u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 (Mail Server)<\/strong> \u0627\u062e\u062a\u0635\u0627\u0635\u06cc\u060c \u0628\u0647 \u0634\u0645\u0627 \u0642\u062f\u0631\u062a\u06cc \u0645\u06cc\u200c\u062f\u0647\u062f \u06a9\u0647 \u0647\u06cc\u0686 \u0633\u0631\u0648\u06cc\u0633 \u0627\u0634\u062a\u0631\u0627\u06a9\u06cc \u06cc\u0627 \u0631\u0627\u06cc\u06af\u0627\u0646\u06cc \u0646\u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u062f \u0627\u0631\u0627\u0626\u0647 \u062f\u0647\u062f: \u06a9\u0646\u062a\u0631\u0644 \u06a9\u0627\u0645\u0644 \u0628\u0631 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u060c \u0639\u062f\u0645 \u0645\u062d\u062f\u0648\u062f\u06cc\u062a \u062f\u0631 \u062a\u0639\u062f\u0627\u062f \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0648 \u0627\u0645\u0646\u06cc\u062a \u0633\u0641\u0627\u0631\u0634\u06cc\u200c\u0633\u0627\u0632\u06cc \u0634\u062f\u0647. \u0627\u06af\u0631 \u0628\u0647 \u062f\u0646\u0628\u0627\u0644 \u0627\u0633\u062a\u0642\u0644\u0627\u0644 \u0627\u0632 \u0633\u0631\u0648\u06cc\u0633\u200c\u062f\u0647\u0646\u062f\u0647\u200c\u0647\u0627\u06cc\u06cc \u0645\u062b\u0644 \u062c\u06cc\u0645\u06cc\u0644 \u06cc\u0627 \u06cc\u0627\u0647\u0648 \u0628\u0631\u0627\u06cc \u06a9\u0633\u0628\u200c\u0648\u06a9\u0627\u0631 \u062e\u0648\u062f \u0647\u0633\u062a\u06cc\u062f \u0648 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 <strong>\u0622\u0645\u0648\u0632\u0634 \u06a9\u0627\u0646\u0641\u06cc\u06af Mail Server<\/strong> \u0631\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u0639\u0645\u0644\u06cc \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f\u060c \u062c\u0627\u06cc \u062f\u0631\u0633\u062a\u06cc \u0622\u0645\u062f\u0647\u200c\u0627\u06cc\u062f.<\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-ece0ea6\" id=\"gspb_container-id-gsbp-ece0ea6\">\n<div id=\"gspb_text-id-gsbp-67df801\" class=\"gspb_text gspb_text-id-gsbp-67df801 \">\ud83d\udca1 <strong>\u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 (Mail Server) \u0686\u06cc\u0633\u062a\u061f<\/strong><br> \u0646\u0631\u0645\u200c\u0627\u0641\u0632\u0627\u0631\u06cc \u0627\u0633\u062a \u06a9\u0647 \u0648\u0638\u06cc\u0641\u0647 \u062f\u0631\u06cc\u0627\u0641\u062a\u060c \u0645\u0633\u06cc\u0631\u06cc\u0627\u0628\u06cc \u0648 \u062a\u062d\u0648\u06cc\u0644 \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627 \u0631\u0627 \u0628\u0631 \u0639\u0647\u062f\u0647 \u062f\u0627\u0631\u062f\u060c \u062f\u0631\u0633\u062a \u0645\u0627\u0646\u0646\u062f \u0627\u062f\u0627\u0631\u0647 \u067e\u0633\u062a \u062f\u0631 \u062f\u0646\u06cc\u0627\u06cc \u0627\u06cc\u0646\u062a\u0631\u0646\u062a.<br>\u2705  \u0628\u0627 \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0633\u0631\u0648\u0631 \u0634\u062e\u0635\u06cc\u060c \u062f\u06cc\u06af\u0631 \u0646\u06af\u0631\u0627\u0646 \u0645\u0633\u062f\u0648\u062f \u0634\u062f\u0646 \u0627\u06a9\u0627\u0646\u062a \u062a\u0648\u0633\u0637 \u0642\u0648\u0627\u0646\u06cc\u0646 \u0633\u062e\u062a\u200c\u06af\u06cc\u0631\u0627\u0646\u0647 \u0633\u0631\u0648\u06cc\u0633\u200c\u0647\u0627\u06cc \u0627\u0634\u062a\u0631\u0627\u06a9\u06cc \u0646\u062e\u0648\u0627\u0647\u06cc\u062f \u0628\u0648\u062f.<\/div>\n<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-6b7955f\" class=\"gspb_text gspb_text-id-gsbp-6b7955f \">\u062d\u062a\u0645\u0627\u064b \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0631\u0627 \u0628\u0627\u0632 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u062f\u060c \u0628\u0647 \u062f\u0646\u0628\u0627\u0644 \u0631\u0627\u0647\u06a9\u0627\u0631\u06cc \u0647\u0633\u062a\u06cc\u062f \u062a\u0627 \u0627\u0632 \u0634\u0631 \u0647\u0632\u06cc\u0646\u0647\u200c\u0647\u0627\u06cc \u0644\u0627\u06cc\u0633\u0646\u0633 \u06a9\u0646\u062a\u0631\u0644\u200c\u067e\u0646\u0644\u200c\u0647\u0627\u06cc\u06cc \u0645\u062b\u0644 cPanel \u062e\u0644\u0627\u0635 \u0634\u0648\u06cc\u062f \u0648 \u06cc\u0627 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0627\u0646\u0634 \u0641\u0646\u06cc \u062e\u0648\u062f \u0631\u0627 \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u0628\u0647 \u0686\u0627\u0644\u0634 \u0628\u06a9\u0634\u06cc\u062f. \u0645\u0627 \u062f\u0631 \u0627\u06cc\u0646\u062c\u0627 \u0642\u0635\u062f \u062f\u0627\u0631\u06cc\u0645 <strong>\u06a9\u0627\u0646\u0641\u06cc\u06af Mail Server<\/strong> \u0631\u0627 \u0628\u0647 \u0632\u0628\u0627\u0646 \u0633\u0627\u062f\u0647 \u0627\u0645\u0627 \u06a9\u0627\u0645\u0644\u0627\u064b \u0641\u0646\u06cc \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u0645. \u0628\u0631\u062e\u0644\u0627\u0641 \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u0622\u0645\u0648\u0632\u0634\u200c\u0647\u0627\u06cc \u0633\u0637\u062d\u06cc\u060c \u0645\u0627 \u0628\u0647 \u0639\u0645\u0642 \u0645\u0627\u062c\u0631\u0627 \u0645\u06cc\u200c\u0631\u0648\u06cc\u0645: \u0627\u062a\u0635\u0627\u0644 Postfix \u0628\u0647 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 MySQL \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u0647\u0632\u0627\u0631\u0627\u0646 \u06a9\u0627\u0631\u0628\u0631 \u0645\u062c\u0627\u0632\u06cc. \ud83d\ude09\ud83d\udc47<\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-07d9cc4\" id=\"gspb_container-id-gsbp-07d9cc4\">\n<div id=\"gspb_text-id-gsbp-5a74183\" class=\"gspb_text gspb_text-id-gsbp-5a74183 \">\ud83d\udca1 \u0628\u06cc\u0634\u062a\u0631 \u0628\u062f\u0627\u0646\u06cc\u062f: <a href=\"https:\/\/webdade.com\/blog\/email-protocols-pop3-imap-smtp-ports\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/webdade.com\/blog\/email-protocols-pop3-imap-smtp-ports\" rel=\"noreferrer noopener\"><a href=\"https:\/\/webdade.com\/blog\/email-protocols-pop3-imap-smtp-ports\">\u0622\u0634\u0646\u0627\u06cc\u06cc \u0628\u0627 \u067e\u0631\u0648\u062a\u06a9\u0644 \u0647\u0627\u06cc \u0627\u06cc\u0645\u06cc\u0644: POP3 IMAP \u0648 SMTP \u0648 \u067e\u0648\u0631\u062a \u0647\u0627\u06cc \u0622\u0646\u0647\u0627<\/a><\/a><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-3090342\" id=\"gspb_container-id-gsbp-3090342\">\n<p id=\"gspb_heading-id-gsbp-4f2eab8\" class=\"gspb_heading gspb_heading-id-gsbp-4f2eab8 \"><strong>\u0622\u0646\u0686\u0647 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0645\u06cc\u200c\u062e\u0648\u0627\u0646\u06cc\u062f:<\/strong><\/p>\n\n\n\n<div class=\"wp-block-greenshift-blocks-toc gs-toc gspb_toc-id-gsbp-9ed45ff\" id=\"gspb_toc-id-gsbp-9ed45ff\" data-offset=\"100\" itemscope itemtype=\"\"><div class=\"gs-autolist\"><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">1<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0645\u0639\u0645\u0627\u0631\u06cc \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 (Postfix \u0648 Dovecot) \u0686\u06cc\u0633\u062a\u061f\"\/><a class=\"gs-scrollto\" href=\"#what-is-postfix-dovecot-architecture\">\u0645\u0639\u0645\u0627\u0631\u06cc \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 (Postfix \u0648 Dovecot) \u0686\u06cc\u0633\u062a\u061f<\/a><\/span><\/div><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">2<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0686\u0631\u0627 \u0628\u0647 \u06a9\u0627\u0646\u0641\u06cc\u06af Mail Server \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u0645\u061f\"\/><a class=\"gs-scrollto\" href=\"#why-setup-dedicated-mail-server\">\u0686\u0631\u0627 \u0628\u0647 \u06a9\u0627\u0646\u0641\u06cc\u06af Mail Server \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u0645\u061f<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">2.1<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u067e\u06cc\u0634 \u0646\u06cc\u0627\u0632\u0647\u0627 \u0648 \u0634\u0631\u0627\u06cc\u0637 \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644\"\/><a class=\"gs-scrollto\" href=\"#prerequisites-for-mail-server\">\u067e\u06cc\u0634 \u0646\u06cc\u0627\u0632\u0647\u0627 \u0648 \u0634\u0631\u0627\u06cc\u0637 \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644<\/a><\/span><\/div><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">3<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0622\u0645\u0648\u0632\u0634 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 \u06af\u0627\u0645\u200c\u0628\u0647\u200c\u06af\u0627\u0645\"\/><a class=\"gs-scrollto\" href=\"#tutorial-config-mail-server-postfix-mysql\">\u0622\u0645\u0648\u0632\u0634 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 \u06af\u0627\u0645\u200c\u0628\u0647\u200c\u06af\u0627\u0645<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">3.1<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"1- \u0622\u0645\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0633\u06cc\u0633\u062a\u0645\"\/><a class=\"gs-scrollto\" href=\"#prepare-system-mail-server\">1- \u0622\u0645\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0633\u06cc\u0633\u062a\u0645<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">3.2<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"2- \u0646\u0635\u0628 \u067e\u06a9\u06cc\u062c\u200c\u0647\u0627\u06cc \u0636\u0631\u0648\u0631\u06cc\"\/><a class=\"gs-scrollto\" href=\"#install-packages-mail-server\">2- \u0646\u0635\u0628 \u067e\u06a9\u06cc\u062c\u200c\u0647\u0627\u06cc \u0636\u0631\u0648\u0631\u06cc<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">3.3<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"3- \u0633\u0627\u062e\u062a \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0648 \u062c\u062f\u0627\u0648\u0644\"\/><a class=\"gs-scrollto\" href=\"#setup-mysql-database-for-email\">3- \u0633\u0627\u062e\u062a \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0648 \u062c\u062f\u0627\u0648\u0644<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">3.4<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"4- \u0633\u0627\u062e\u062a \u06a9\u0627\u0631\u0628\u0631 \u0627\u06cc\u0645\u06cc\u0644 \u0628\u0627 Hash Password\"\/><a class=\"gs-scrollto\" href=\"#create-email-user-hash\">4- \u0633\u0627\u062e\u062a \u06a9\u0627\u0631\u0628\u0631 \u0627\u06cc\u0645\u06cc\u0644 \u0628\u0627 Hash Password<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">3.5<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"5- \u0633\u0627\u062e\u062a \u06a9\u0627\u0631\u0628\u0631 vmail\"\/><a class=\"gs-scrollto\" href=\"#create-vmail-user\">5- \u0633\u0627\u062e\u062a \u06a9\u0627\u0631\u0628\u0631 vmail<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">3.6<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"6- \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc Postfix (SMTP)\"\/><a class=\"gs-scrollto\" href=\"#configure-postfix-smtp\">6- \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc Postfix (SMTP)<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">3.7<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"7- \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc Dovecot (IMAP\/POP3)\"\/><a class=\"gs-scrollto\" href=\"#configure-dovecot-imap\">7- \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc Dovecot (IMAP\/POP3)<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">3.8<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"8- \u0646\u0635\u0628 SSL \u0628\u0627 Let's Encrypt\"\/><a class=\"gs-scrollto\" href=\"#install-ssl-certbot-mail\">8- \u0646\u0635\u0628 SSL \u0628\u0627 Let&#8217;s Encrypt<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">3.9<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"9- \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc OpenDKIM\"\/><a class=\"gs-scrollto\" href=\"#configure-opendkim-mail\">9- \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc OpenDKIM<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">3.10<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"10- \u062a\u0646\u0638\u06cc\u0645 Firewall\"\/><a class=\"gs-scrollto\" href=\"#configure-firewall-mail\">10- \u062a\u0646\u0638\u06cc\u0645 Firewall<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">3.11<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"11- \u062a\u0633\u062a \u0648 \u0639\u06cc\u0628\u200c\u06cc\u0627\u0628\u06cc\"\/><a class=\"gs-scrollto\" href=\"#test-troubleshoot-mail-server\">11- \u062a\u0633\u062a \u0648 \u0639\u06cc\u0628\u200c\u06cc\u0627\u0628\u06cc<\/a><\/span><\/div><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">4<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u062a\u0646\u0638\u06cc\u0645\u0627\u062a DNS \u06a9\u0627\u0645\u0644\"\/><a class=\"gs-scrollto\" href=\"#complete-dns-settings-mail\">\u062a\u0646\u0638\u06cc\u0645\u0627\u062a DNS \u06a9\u0627\u0645\u0644<\/a><\/span><\/div><div class=\"gs-autolist-item\" itemscope><span class=\"gs-autolist-number\">5<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u062c\u062f\u0648\u0644 \u0645\u0642\u0627\u06cc\u0633\u0647 Mail Server \u062f\u0633\u062a\u06cc \u0648 cPanel\"\/><a class=\"gs-scrollto\" href=\"#mail-server-comparison\">\u062c\u062f\u0648\u0644 \u0645\u0642\u0627\u06cc\u0633\u0647 Mail Server \u062f\u0633\u062a\u06cc \u0648 cPanel<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">5.1<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0646\u062a\u06cc\u062c\u0647\u200c\u06af\u06cc\u0631\u06cc: \u0622\u0645\u0648\u0632\u0634 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 \u06cc\u0627 Mail Server\"\/><a class=\"gs-scrollto\" href=\"#conclusion-mail-server-guide\">\u0646\u062a\u06cc\u062c\u0647\u200c\u06af\u06cc\u0631\u06cc: \u0622\u0645\u0648\u0632\u0634 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 \u06cc\u0627 Mail Server<\/a><\/span><\/div><div class=\"gs-autolist-item gs_sub_heading\" itemscope><span class=\"gs-autolist-number\">5.2<\/span><span class=\"gs-autolist-title\"><meta itemprop=\"name\" content=\"\u0633\u0648\u0627\u0644\u0627\u062a \u0645\u062a\u062f\u0627\u0648\u0644 \u0627\u0632 \u0622\u0645\u0648\u0632\u0634 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 Postfix + Dovecot + MySQL\"\/><a class=\"gs-scrollto\" href=\"#mail-server-faq\">\u0633\u0648\u0627\u0644\u0627\u062a \u0645\u062a\u062f\u0627\u0648\u0644 \u0627\u0632 \u0622\u0645\u0648\u0632\u0634 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 Postfix + Dovecot + MySQL<\/a><\/span><\/div><\/div><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-image gspb_image gspb_image-id-gsbp-edd158e\" id=\"gspb_image-id-gsbp-edd158e\"><img decoding=\"async\" src=\"https:\/\/webdade.com\/blog\/wp-content\/uploads\/2025\/12\/introduction-to-mail-server-setup1-min_11zon.webp\" data-src=\"\" alt=\"\u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644\" loading=\"lazy\" width=\"910\" height=\"492\"\/><\/div>\n\n\n\n<div id=\"what-is-postfix-dovecot-architecture\"><\/div><h2 id=\"gspb_heading-id-gsbp-326a305\" class=\"gspb_heading gspb_heading-id-gsbp-326a305 \">\u0645\u0639\u0645\u0627\u0631\u06cc \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 (Postfix \u0648 Dovecot) \u0686\u06cc\u0633\u062a\u061f<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-735a1a6\" class=\"gspb_text gspb_text-id-gsbp-735a1a6 \">\u0642\u0628\u0644 \u0627\u0632 \u0627\u06cc\u0646\u06a9\u0647 \u0648\u0627\u0631\u062f \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u062a\u0631\u0645\u06cc\u0646\u0627\u0644 \u0634\u0648\u06cc\u0645\u060c \u0628\u0627\u06cc\u062f \u0628\u062f\u0627\u0646\u06cc\u0645 \u0632\u06cc\u0631 \u06a9\u0627\u067e\u0648\u062a \u0686\u0647 \u062e\u0628\u0631 \u0627\u0633\u062a. <strong>\u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644<\/strong> \u0646\u06cc\u0627\u0632\u0645\u0646\u062f \u062f\u0631\u06a9 \u062a\u0639\u0627\u0645\u0644 \u0628\u06cc\u0646 \u0633\u0647 \u0627\u062c\u0632\u0627\u06cc \u0627\u0635\u0644\u06cc \u0627\u0633\u062a. \u062a\u0635\u0648\u0631 \u06a9\u0646\u06cc\u062f \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 \u0634\u0645\u0627 \u06cc\u06a9 \u0627\u062f\u0627\u0631\u0647 \u067e\u0633\u062a \u0645\u0631\u06a9\u0632\u06cc \u0627\u0633\u062a.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-bd40957\" class=\"gspb_text gspb_text-id-gsbp-bd40957 \"><strong>Postfix (MTA):<\/strong> \u0646\u0642\u0634 \u0645\u0627\u0645\u0648\u0631 \u067e\u0633\u062a \u0648 \u06a9\u0627\u0645\u06cc\u0648\u0646\u200c\u0647\u0627\u06cc \u062d\u0645\u0644\u200c\u0648\u0646\u0642\u0644 \u0631\u0627 \u062f\u0627\u0631\u062f. \u0648\u0638\u06cc\u0641\u0647 \u0622\u0646 \u0627\u0646\u062a\u0642\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627 \u0627\u0632 \u0641\u0631\u0633\u062a\u0646\u062f\u0647 \u0628\u0647 \u06af\u06cc\u0631\u0646\u062f\u0647 (SMTP) \u0627\u0633\u062a.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-0e5d89d\" class=\"gspb_text gspb_text-id-gsbp-0e5d89d \"><strong>Dovecot (MDA\/POP3\/IMAP):<\/strong> \u0646\u0642\u0634 \u0635\u0646\u062f\u0648\u0642 \u067e\u0633\u062a\u06cc \u0634\u062e\u0635\u06cc \u0634\u0645\u0627 \u0631\u0627 \u062f\u0627\u0631\u062f. \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627 \u0631\u0627 \u062a\u062d\u0648\u06cc\u0644 \u0645\u06cc\u200c\u06af\u06cc\u0631\u062f\u060c \u0630\u062e\u06cc\u0631\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u0628\u0647 \u06a9\u0627\u0631\u0628\u0631 \u0627\u062c\u0627\u0632\u0647 \u0645\u06cc\u200c\u062f\u0647\u062f \u0622\u0646\u200c\u0647\u0627 \u0631\u0627 \u0628\u062e\u0648\u0627\u0646\u062f.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-101a901\" class=\"gspb_text gspb_text-id-gsbp-101a901 \"><strong>MySQL\/MariaDB:<\/strong> \u0646\u0642\u0634 \u062f\u0641\u062a\u0631\u0686\u0647 \u062a\u0644\u0641\u0646 \u0648 \u0644\u06cc\u0633\u062a \u0645\u0634\u062a\u0631\u06a9\u06cc\u0646 \u0631\u0627 \u0628\u0627\u0632\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0628\u0647 \u062c\u0627\u06cc \u0633\u0627\u062e\u062a \u06cc\u0648\u0632\u0631 \u062f\u0631 \u0644\u06cc\u0646\u0648\u06a9\u0633\u060c \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0648\u0631\u0648\u062f \u0648 \u0622\u062f\u0631\u0633\u200c\u0647\u0627 \u0631\u0627 \u062f\u0631 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0646\u06af\u0647 \u0645\u06cc\u200c\u062f\u0627\u0631\u06cc\u0645 (Virtual Users).<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-222d60f\" class=\"gspb_text gspb_text-id-gsbp-222d60f \">\ud83d\udcdd <strong>\u0646\u0645\u0648\u062f\u0627\u0631 \u062c\u0631\u06cc\u0627\u0646 \u0627\u06cc\u0645\u06cc\u0644:<\/strong><\/div>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#00529e1a\"><code>\u0627\u0631\u0633\u0627\u0644 \u06a9\u0646\u0646\u062f\u0647 (Outlook\/Webmail)\n      \u2b07\ufe0f\n   \u0627\u06cc\u0646\u062a\u0631\u0646\u062a\n      \u2b07\ufe0f\n&#91;\u0633\u0631\u0648\u0631 \u0634\u0645\u0627]\n\u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510\n\u2502  Postfix (SMTP - \u067e\u0648\u0631\u062a 25)    \u2502\u2b05\ufe0f \u0686\u06a9 \u06a9\u0631\u062f\u0646 \u0645\u0642\u0635\u062f\n\u251c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2524\n\u2502             \u2b07\ufe0f               \u2502\n\u2502 MySQL (\u0644\u06cc\u0633\u062a \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0648 \u062f\u0627\u0645\u0646\u0647\u200c\u0647\u0627) \u2502\n\u2502             \u2b07\ufe0f               \u2502\n\u2502 Dovecot (\u0630\u062e\u06cc\u0631\u0647 \u062f\u0631 \u062f\u06cc\u0633\u06a9\/Maildir)\u2502\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n              \u2b07\ufe0f\n      \u062f\u0631\u06cc\u0627\u0641\u062a \u06a9\u0646\u0646\u062f\u0647 (IMAP - \u067e\u0648\u0631\u062a 143)\n<\/code><\/pre>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-5edec11\" id=\"gspb_container-id-gsbp-5edec11\">\n<div id=\"gspb_text-id-gsbp-6e00b49\" class=\"gspb_text gspb_text-id-gsbp-6e00b49 \">\ud83d\udd38 \u062f\u0631 \u0633\u0627\u0644 2025\u060c \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0645\u062c\u0627\u0632\u06cc (Virtual Users) \u062f\u0631 MySQL \u0627\u0633\u062a\u0627\u0646\u062f\u0627\u0631\u062f \u0637\u0644\u0627\u06cc\u06cc \u0627\u0633\u062a. \u0627\u06cc\u0646 \u0631\u0648\u0634 \u0627\u0645\u0646\u06cc\u062a \u0631\u0627 \u0628\u0627\u0644\u0627 \u0645\u06cc\u200c\u0628\u0631\u062f \u0632\u06cc\u0631\u0627 \u0628\u0631\u0627\u06cc \u0647\u0631 \u0627\u06cc\u0645\u06cc\u0644 \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 \u0633\u0627\u062e\u062a \u06cc\u06a9 \u06a9\u0627\u0631\u0628\u0631 \u0648\u0627\u0642\u0639\u06cc \u0644\u06cc\u0646\u0648\u06a9\u0633 (Shell User) \u06a9\u0647 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u062f\u060c \u0646\u06cc\u0633\u062a.<\/div>\n<\/div>\n\n\n\n<div id=\"why-setup-dedicated-mail-server\"><\/div><h2 id=\"gspb_heading-id-gsbp-7e96b3d\" class=\"gspb_heading gspb_heading-id-gsbp-7e96b3d \">\u0686\u0631\u0627 \u0628\u0647 \u06a9\u0627\u0646\u0641\u06cc\u06af Mail Server \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u0645\u061f<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-5b29da4\" class=\"gspb_text gspb_text-id-gsbp-5b29da4 \">\u0634\u0627\u06cc\u062f \u0628\u067e\u0631\u0633\u06cc\u062f \u0686\u0631\u0627 \u0648\u0642\u062a\u06cc \u0633\u0631\u0648\u06cc\u0633\u200c\u0647\u0627\u06cc \u0622\u0645\u0627\u062f\u0647 \u0647\u0633\u062a\u0646\u062f\u060c \u0628\u0627\u06cc\u062f \u062f\u0631\u062f\u0633\u0631 <strong>\u0622\u0645\u0648\u0632\u0634 \u06a9\u0627\u0646\u0641\u06cc\u06af Mail Server<\/strong> \u0631\u0627 \u0628\u0647 \u062c\u0627\u0646 \u0628\u062e\u0631\u06cc\u0645\u061f \u067e\u0627\u0633\u062e \u062f\u0631 &#8220;\u0645\u0642\u06cc\u0627\u0633\u200c\u067e\u0630\u06cc\u0631\u06cc&#8221; \u0648 &#8220;\u062d\u0631\u06cc\u0645 \u062e\u0635\u0648\u0635\u06cc&#8221; \u0646\u0647\u0641\u062a\u0647 \u0627\u0633\u062a.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-754d98e\" class=\"gspb_text gspb_text-id-gsbp-754d98e \">\u2705 <strong>\u0645\u0627\u0644\u06a9\u06cc\u062a \u062f\u0627\u062f\u0647\u200c\u0647\u0627:<\/strong> \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627\u06cc \u0633\u0627\u0632\u0645\u0627\u0646\u06cc \u0634\u0645\u0627 \u062f\u0631 \u0633\u0631\u0648\u0631 \u062e\u0648\u062f\u062a\u0627\u0646 \u0627\u0633\u062a\u060c \u0646\u0647 \u062f\u0631 \u062f\u06cc\u062a\u0627\u0633\u0646\u062a\u0631\u0647\u0627\u06cc \u0634\u0631\u06a9\u062a\u200c\u0647\u0627\u06cc \u062b\u0627\u0644\u062b \u06a9\u0647 \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u0634\u0645\u0627 \u0631\u0627 \u062a\u062d\u0644\u06cc\u0644 \u06a9\u0646\u0646\u062f.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-6da00d2\" class=\"gspb_text gspb_text-id-gsbp-6da00d2 \">\u2705 <strong>\u06a9\u0627\u0647\u0634 \u0647\u0632\u06cc\u0646\u0647\u200c\u0647\u0627:<\/strong> \u0633\u0631\u0648\u06cc\u0633\u200c\u0647\u0627\u06cc \u062a\u062c\u0627\u0631\u06cc \u0627\u06cc\u0645\u06cc\u0644 \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u0628\u0647 \u0627\u0632\u0627\u06cc \u0647\u0631 \u06a9\u0627\u0631\u0628\u0631 (Per User) \u0647\u0632\u06cc\u0646\u0647 \u0645\u06cc\u200c\u06af\u06cc\u0631\u0646\u062f. \u062f\u0631 \u0633\u0631\u0648\u0631 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc\u060c \u0647\u0632\u06cc\u0646\u0647 \u0634\u0645\u0627 \u062b\u0627\u0628\u062a \u0627\u0633\u062a\u060c \u0686\u0647 10 \u06a9\u0627\u0631\u0628\u0631 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u0686\u0647 10,000 \u06a9\u0627\u0631\u0628\u0631.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-a97361e\" class=\"gspb_text gspb_text-id-gsbp-a97361e \">\u2705 <strong>\u0633\u0641\u0627\u0631\u0634\u06cc\u200c\u0633\u0627\u0632\u06cc:<\/strong> \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0645\u062d\u062f\u0648\u062f\u06cc\u062a\u200c\u0647\u0627\u06cc \u062d\u062c\u0645 \u0636\u0645\u06cc\u0645\u0647 (Attachment Size) \u06cc\u0627 \u062a\u0639\u062f\u0627\u062f \u0627\u0631\u0633\u0627\u0644 \u0631\u0648\u0632\u0627\u0646\u0647 \u0631\u0627 \u062e\u0648\u062f\u062a\u0627\u0646 \u062a\u0639\u06cc\u06cc\u0646 \u06a9\u0646\u06cc\u062f.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-ccac7a5\" class=\"gspb_text gspb_text-id-gsbp-ccac7a5 \">\u2705 <strong>\u06a9\u0646\u062a\u0631\u0644 \u06a9\u0627\u0645\u0644:<\/strong> \u0647\u06cc\u0686 \u0645\u062d\u062f\u0648\u062f\u06cc\u062a\u06cc \u062f\u0631 \u062a\u0639\u062f\u0627\u062f \u062f\u0627\u0645\u0646\u0647\u200c\u0647\u0627 \u06cc\u0627 \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627 \u0646\u062f\u0627\u0631\u06cc\u062f.<\/div>\n\n\n\n<div id=\"prerequisites-for-mail-server\"><\/div><h3 id=\"gspb_heading-id-gsbp-a333fef\" class=\"gspb_heading gspb_heading-id-gsbp-a333fef \">\u067e\u06cc\u0634 \u0646\u06cc\u0627\u0632\u0647\u0627 \u0648 \u0634\u0631\u0627\u06cc\u0637 \u0644\u0627\u0632\u0645 \u0628\u0631\u0627\u06cc \u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-4030deb\" class=\"gspb_text gspb_text-id-gsbp-4030deb \">\u0628\u0631\u0627\u06cc \u0634\u0631\u0648\u0639 <strong>\u06a9\u0627\u0646\u0641\u06cc\u06af Mail Server<\/strong>\u060c \u0634\u0645\u0627 \u0628\u0647 \u0627\u0628\u0632\u0627\u0631\u0647\u0627 \u0648 \u0634\u0631\u0627\u06cc\u0637 \u062e\u0627\u0635\u06cc \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u062f. \u0628\u062f\u0648\u0646 \u0627\u06cc\u0646 \u0645\u0648\u0627\u0631\u062f\u060c \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627\u06cc \u0634\u0645\u0627 \u0628\u0647 \u0627\u062d\u062a\u0645\u0627\u0644 99% \u0648\u0627\u0631\u062f \u067e\u0648\u0634\u0647 \u0627\u0633\u067e\u0645 (Spam) \u0645\u06cc\u200c\u0634\u0648\u0646\u062f.<\/div>\n\n\n\n<div id=\"Requirements\"><\/div><h4 id=\"gspb_heading-id-gsbp-e749f68\" class=\"gspb_heading gspb_heading-id-gsbp-e749f68 \">\u0627\u0644\u0632\u0627\u0645\u0627\u062a:<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u0633\u0631\u0648\u0631 \u0645\u062c\u0627\u0632\u06cc (VPS):<\/strong> \u062d\u062f\u0627\u0642\u0644 2GB RAM\u060c 20GB \u062f\u06cc\u0633\u06a9 (\u067e\u06cc\u0634\u0646\u0647\u0627\u062f: Ubuntu 22.04 \u0648 \u0628\u0627\u0644\u0627\u062a\u0631)<\/li>\n\n\n\n<li><strong>\u062f\u0627\u0645\u0646\u0647 (Domain):<\/strong> \u06cc\u06a9 \u0646\u0627\u0645 \u062f\u0627\u0645\u0646\u0647 \u062b\u0628\u062a \u0634\u062f\u0647<\/li>\n\n\n\n<li><strong>IP \u0627\u0633\u062a\u0627\u062a\u06cc\u06a9 \u062a\u0645\u06cc\u0632:<\/strong> \u0646\u0647 \u062f\u0631 \u0628\u0644\u06a9\u200c\u0644\u06cc\u0633\u062a<\/li>\n\n\n\n<li><strong>\u062f\u0633\u062a\u0631\u0633\u06cc root:<\/strong> \u0628\u0631\u0627\u06cc \u0646\u0635\u0628 \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc<\/li>\n<\/ul>\n\n\n\n<div id=\"Critical-DNS-settings\"><\/div><h4 id=\"gspb_heading-id-gsbp-0298a56\" class=\"gspb_heading gspb_heading-id-gsbp-0298a56 \">\u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u062d\u06cc\u0627\u062a\u06cc DNS:<\/h4>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># A Record\nmail.yourdomain.com.    IN  A    192.0.2.1\n\n# MX Record\nyourdomain.com.         IN  MX   10 mail.yourdomain.com.\n\n# PTR (Reverse DNS) - \u0627\u0632 \u0647\u0627\u0633\u062a\u06cc\u0646\u06af \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u06a9\u0646\u06cc\u062f\n1.2.0.192.in-addr.arpa. IN PTR mail.yourdomain.com.\n\n# SPF Record\nyourdomain.com.         IN  TXT  \"v=spf1 mx ip4:192.0.2.1 ~all\"\n\n# DMARC Record\n_dmarc.yourdomain.com.  IN  TXT  \"v=DMARC1; p=quarantine; rua=mailto:dmarc@yourdomain.com\"<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># A Record<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">mail.yourdomain.com.<\/span><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #E7EE98\">IN<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #E7EE98\">A<\/span><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #BF9EEE\">192.0<\/span><span style=\"color: #E7EE98\">.2.1<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># MX Record<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">yourdomain.com.<\/span><span style=\"color: #F6F6F4\">         <\/span><span style=\"color: #E7EE98\">IN<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #E7EE98\">MX<\/span><span style=\"color: #F6F6F4\">   <\/span><span style=\"color: #BF9EEE\">10<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mail.yourdomain.com.<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># PTR (Reverse DNS) - \u0627\u0632 \u0647\u0627\u0633\u062a\u06cc\u0646\u06af \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u06a9\u0646\u06cc\u062f<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">1.2.0.192.in-addr.arpa.<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">IN<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">PTR<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mail.yourdomain.com.<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># SPF Record<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">yourdomain.com.<\/span><span style=\"color: #F6F6F4\">         <\/span><span style=\"color: #E7EE98\">IN<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #E7EE98\">TXT<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">v=spf1 mx ip4:192.0.2.1 ~all<\/span><span style=\"color: #DEE492\">&quot;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># DMARC Record<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">_dmarc.yourdomain.com.<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #E7EE98\">IN<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #E7EE98\">TXT<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">v=DMARC1; p=quarantine; rua=mailto:dmarc@yourdomain.com<\/span><span style=\"color: #DEE492\">&quot;<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"tutorial-config-mail-server-postfix-mysql\"><\/div><h2 id=\"gspb_heading-id-gsbp-6e0c493\" class=\"gspb_heading gspb_heading-id-gsbp-6e0c493 \">\u0622\u0645\u0648\u0632\u0634 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 \u06af\u0627\u0645\u200c\u0628\u0647\u200c\u06af\u0627\u0645<\/h2>\n\n\n\n<div id=\"gspb_text-id-gsbp-3af58b7\" class=\"gspb_text gspb_text-id-gsbp-3af58b7 \">\u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0647\u0645\u0631\u0627\u0647 \u062a\u06cc\u0645 \u0648\u0628\u200c\u062f\u0627\u062f\u0647 \u0628\u0627\u0634\u06cc\u062f \u062a\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u0639\u0645\u0644\u06cc \u0648 \u06af\u0627\u0645\u200c\u0628\u0647\u200c\u06af\u0627\u0645\u060c <strong>\u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644<\/strong> \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u062f\u0647\u06cc\u0645. \u0645\u0627 \u0627\u0632 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 Ubuntu \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-31ecea0\" class=\"gspb_text gspb_text-id-gsbp-31ecea0 \">\ud83d\udcdd <strong>\u0633\u0646\u0627\u0631\u06cc\u0648\u06cc \u0622\u0645\u0648\u0632\u0634:<\/strong><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u062f\u0627\u0645\u0646\u0647 \u0641\u0631\u0636\u06cc: <code>example.com<\/code><\/li>\n\n\n\n<li>\u0633\u0627\u0628\u200c\u062f\u0627\u0645\u06cc\u0646 \u0633\u0631\u0648\u0631: <code>mail.example.com<\/code><\/li>\n\n\n\n<li>\u062f\u06cc\u062a\u0627\u0628\u06cc\u0633: MariaDB<\/li>\n\n\n\n<li>IP \u0633\u0631\u0648\u0631: <code>192.0.2.1<\/code><\/li>\n<\/ul>\n\n\n\n<div id=\"prepare-system-mail-server\"><\/div><h3 id=\"gspb_heading-id-gsbp-e117258\" class=\"gspb_heading gspb_heading-id-gsbp-e117258 \">1- \u0622\u0645\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u0633\u06cc\u0633\u062a\u0645<\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0633\u06cc\u0633\u062a\u0645\nsudo apt update &amp;&amp; sudo apt upgrade -y\n\n# \u062a\u0646\u0638\u06cc\u0645 hostname\nsudo hostnamectl set-hostname mail.example.com\n\n# \u0648\u06cc\u0631\u0627\u06cc\u0634 \/etc\/hosts\nsudo nano \/etc\/hosts<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0633\u06cc\u0633\u062a\u0645<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">apt<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">update<\/span><span style=\"color: #F6F6F4\"> &amp;&amp; <\/span><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">apt<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">upgrade<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u062a\u0646\u0638\u06cc\u0645 hostname<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">hostnamectl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">set-hostname<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mail.example.com<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0648\u06cc\u0631\u0627\u06cc\u0634 \/etc\/hosts<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/hosts<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-ae53d9d\" class=\"gspb_text gspb_text-id-gsbp-ae53d9d \"><strong>\u0645\u062d\u062a\u0648\u0627\u06cc \/etc\/hosts:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>127.0.0.1 localhost\n192.0.2.1 mail.example.com mail<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">127.0.0.1<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">localhost<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">192.0.2.1<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mail.example.com<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mail<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"install-packages-mail-server\"><\/div><h3 id=\"gspb_heading-id-gsbp-bb37558\" class=\"gspb_heading gspb_heading-id-gsbp-bb37558 \">2- \u0646\u0635\u0628 \u067e\u06a9\u06cc\u062c\u200c\u0647\u0627\u06cc \u0636\u0631\u0648\u0631\u06cc<\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo apt install postfix postfix-mysql dovecot-core dovecot-imapd dovecot-pop3d dovecot-lmtpd dovecot-mysql mariadb-server opendkim opendkim-tools -y<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">apt<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">postfix<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">postfix-mysql<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">dovecot-core<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">dovecot-imapd<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">dovecot-pop3d<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">dovecot-lmtpd<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">dovecot-mysql<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mariadb-server<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">opendkim<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">opendkim-tools<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-a18f61d\" class=\"gspb_text gspb_text-id-gsbp-a18f61d \"><strong>\u062f\u0631 \u062d\u06cc\u0646 \u0646\u0635\u0628 Postfix:<\/strong><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0627\u0646\u062a\u062e\u0627\u0628 \u06a9\u0646\u06cc\u062f: <strong>Internet Site<\/strong><\/li>\n\n\n\n<li>System mail name: <code>example.com<\/code><\/li>\n<\/ul>\n\n\n\n<div id=\"setup-mysql-database-for-email\"><\/div><h3 id=\"gspb_heading-id-gsbp-07bc549\" class=\"gspb_heading gspb_heading-id-gsbp-07bc549 \">3- \u0633\u0627\u062e\u062a \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 \u0648 \u062c\u062f\u0627\u0648\u0644<\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo mysql -u root -p<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mysql<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-u<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">root<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-p<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>CREATE DATABASE mailserver CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;\n\nCREATE USER 'mailuser'@'localhost' IDENTIFIED BY 'StrongPassword123!';\nGRANT ALL PRIVILEGES ON mailserver.* TO 'mailuser'@'localhost';\nFLUSH PRIVILEGES;\n\nUSE mailserver;\n\nCREATE TABLE virtual_domains (\n    id INT NOT NULL AUTO_INCREMENT,\n    name VARCHAR(50) NOT NULL,\n    PRIMARY KEY (id),\n    UNIQUE KEY (name)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n\nCREATE TABLE virtual_users (\n    id INT NOT NULL AUTO_INCREMENT,\n    domain_id INT NOT NULL,\n    email VARCHAR(120) NOT NULL,\n    password VARCHAR(150) NOT NULL,\n    PRIMARY KEY (id),\n    UNIQUE KEY (email),\n    FOREIGN KEY (domain_id) REFERENCES virtual_domains(id) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n\nCREATE TABLE virtual_aliases (\n    id INT NOT NULL AUTO_INCREMENT,\n    domain_id INT NOT NULL,\n    source VARCHAR(120) NOT NULL,\n    destination VARCHAR(120) NOT NULL,\n    PRIMARY KEY (id),\n    FOREIGN KEY (domain_id) REFERENCES virtual_domains(id) ON DELETE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n\nINSERT INTO virtual_domains (name) VALUES ('example.com');\n\nEXIT;<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">CREATE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">DATABASE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mailserver<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">CHARACTER<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">SET<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">utf8mb4<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">COLLATE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">utf8mb4_unicode_ci<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">CREATE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">USER<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">mailuser<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">@<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">localhost<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">IDENTIFIED<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">BY<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">StrongPassword123!<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">GRANT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ALL<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">PRIVILEGES<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ON<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mailserver.<\/span><span style=\"color: #BF9EEE; font-style: italic\">*<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">TO<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">mailuser<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">@<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">localhost<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">FLUSH<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">PRIVILEGES<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">USE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mailserver<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">CREATE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">TABLE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">virtual_domains<\/span><span style=\"color: #F6F6F4\"> (<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">id<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">INT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">NOT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">NULL<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">AUTO_INCREMENT,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">name<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">VARCHAR<\/span><span style=\"color: #F6F6F4\">(<\/span><span style=\"color: #62E884\">50<\/span><span style=\"color: #F6F6F4\">) <\/span><span style=\"color: #E7EE98\">NOT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">NULL,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">PRIMARY<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">KEY<\/span><span style=\"color: #F6F6F4\"> (id),<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">UNIQUE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">KEY<\/span><span style=\"color: #F6F6F4\"> (name)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">CREATE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">TABLE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">virtual_users<\/span><span style=\"color: #F6F6F4\"> (<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">id<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">INT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">NOT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">NULL<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">AUTO_INCREMENT,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">domain_id<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">INT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">NOT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">NULL,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">email<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">VARCHAR<\/span><span style=\"color: #F6F6F4\">(<\/span><span style=\"color: #62E884\">120<\/span><span style=\"color: #F6F6F4\">) <\/span><span style=\"color: #E7EE98\">NOT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">NULL,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">password<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">VARCHAR<\/span><span style=\"color: #F6F6F4\">(<\/span><span style=\"color: #62E884\">150<\/span><span style=\"color: #F6F6F4\">) <\/span><span style=\"color: #E7EE98\">NOT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">NULL,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">PRIMARY<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">KEY<\/span><span style=\"color: #F6F6F4\"> (id),<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">UNIQUE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">KEY<\/span><span style=\"color: #F6F6F4\"> (email),<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">FOREIGN<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">KEY<\/span><span style=\"color: #F6F6F4\"> (domain_id) REFERENCES virtual_domains(<\/span><span style=\"color: #62E884\">id<\/span><span style=\"color: #F6F6F4\">) ON DELETE CASCADE<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">CREATE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">TABLE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">virtual_aliases<\/span><span style=\"color: #F6F6F4\"> (<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">id<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">INT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">NOT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">NULL<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">AUTO_INCREMENT,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">domain_id<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">INT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">NOT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">NULL,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #97E1F1\">source<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">VARCHAR<\/span><span style=\"color: #F6F6F4\">(<\/span><span style=\"color: #62E884\">120<\/span><span style=\"color: #F6F6F4\">) <\/span><span style=\"color: #E7EE98\">NOT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">NULL,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">destination<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">VARCHAR<\/span><span style=\"color: #F6F6F4\">(<\/span><span style=\"color: #62E884\">120<\/span><span style=\"color: #F6F6F4\">) <\/span><span style=\"color: #E7EE98\">NOT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">NULL,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">PRIMARY<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">KEY<\/span><span style=\"color: #F6F6F4\"> (id),<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">FOREIGN<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">KEY<\/span><span style=\"color: #F6F6F4\"> (domain_id) REFERENCES virtual_domains(<\/span><span style=\"color: #62E884\">id<\/span><span style=\"color: #F6F6F4\">) ON DELETE CASCADE<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">INSERT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">INTO<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">virtual_domains<\/span><span style=\"color: #F6F6F4\"> (name) VALUES (<\/span><span style=\"color: #62E884\">&#39;example.com&#39;<\/span><span style=\"color: #F6F6F4\">);<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">EXIT<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"create-email-user-hash\"><\/div><h3 id=\"gspb_heading-id-gsbp-8797fce\" class=\"gspb_heading gspb_heading-id-gsbp-8797fce \">4- \u0633\u0627\u062e\u062a \u06a9\u0627\u0631\u0628\u0631 \u0627\u06cc\u0645\u06cc\u0644 \u0628\u0627 Hash Password<\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0646\u0635\u0628 \u0627\u0628\u0632\u0627\u0631 doveadm (\u0628\u0627\u06cc\u062f Dovecot \u0646\u0635\u0628 \u0628\u0627\u0634\u062f)\ndoveadm pw -s SHA512-CRYPT -p YourPassword123<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0646\u0635\u0628 \u0627\u0628\u0632\u0627\u0631 doveadm (\u0628\u0627\u06cc\u062f Dovecot \u0646\u0635\u0628 \u0628\u0627\u0634\u062f)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">doveadm<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">pw<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-s<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">SHA512-CRYPT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-p<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">YourPassword123<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-e569128\" class=\"gspb_text gspb_text-id-gsbp-e569128 \"><strong>\u062e\u0631\u0648\u062c\u06cc \u0645\u062b\u0627\u0644:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>{SHA512-CRYPT}$6$rounds=5000$...hashstring...<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #F6F6F4\">{<\/span><span style=\"color: #62E884\">SHA512-CRYPT}$6$rounds<\/span><span style=\"color: #F6F6F4\">=5000$<\/span><span style=\"color: #97E1F1\">..<\/span><span style=\"color: #F6F6F4\">.hashstring.<\/span><span style=\"color: #97E1F1\">..<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-83f879c\" class=\"gspb_text gspb_text-id-gsbp-83f879c \"><strong>\u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0628\u0647 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo mysql -u root -p mailserver<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mysql<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-u<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">root<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-p<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mailserver<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>INSERT INTO virtual_users (domain_id, email, password) \nVALUES (\n    1, \n    'info@example.com', \n    '{SHA512-CRYPT}$6$rounds=5000$...hashstring...'\n);\n\nSELECT * FROM virtual_users;\nEXIT;<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">INSERT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">INTO<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">virtual_users<\/span><span style=\"color: #F6F6F4\"> (domain_id, <\/span><span style=\"color: #E7EE98\">email,<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">password<\/span><span style=\"color: #F6F6F4\">) <\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">VALUES<\/span><span style=\"color: #F6F6F4\"> (<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">1,<\/span><span style=\"color: #F6F6F4\"> <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">&#39;info@example.com&#39;<\/span><span style=\"color: #62E884\">,<\/span><span style=\"color: #F6F6F4\"> <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">&#39;{SHA512-CRYPT}$6$rounds=5000$...hashstring...&#39;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">);<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">SELECT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE; font-style: italic\">*<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">FROM<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">virtual_users<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">EXIT<\/span><span style=\"color: #F6F6F4\">;<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"create-vmail-user\"><\/div><h3 id=\"gspb_heading-id-gsbp-1a52a88\" class=\"gspb_heading gspb_heading-id-gsbp-1a52a88 \">5- \u0633\u0627\u062e\u062a \u06a9\u0627\u0631\u0628\u0631 vmail<\/h3>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0633\u0627\u062e\u062a \u06af\u0631\u0648\u0647 \u0648 \u06a9\u0627\u0631\u0628\u0631 \u0633\u06cc\u0633\u062a\u0645\u06cc\nsudo groupadd -g 5000 vmail\nsudo useradd -g vmail -u 5000 vmail -d \/var\/mail -m\n\n# \u0633\u0627\u062e\u062a \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627\nsudo mkdir -p \/var\/mail\/vhosts\/example.com\n\n# \u062a\u0646\u0638\u06cc\u0645 \u0645\u0627\u0644\u06a9\u06cc\u062a\nsudo chown -R vmail:vmail \/var\/mail\n\n# \u062a\u0646\u0638\u06cc\u0645 Permission\nsudo chmod -R 770 \/var\/mail<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0633\u0627\u062e\u062a \u06af\u0631\u0648\u0647 \u0648 \u06a9\u0627\u0631\u0628\u0631 \u0633\u06cc\u0633\u062a\u0645\u06cc<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">groupadd<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-g<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">5000<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">vmail<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">useradd<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-g<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">vmail<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-u<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">5000<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">vmail<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-d<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/mail<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-m<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0633\u0627\u062e\u062a \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mkdir<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-p<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/mail\/vhosts\/example.com<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u062a\u0646\u0638\u06cc\u0645 \u0645\u0627\u0644\u06a9\u06cc\u062a<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">chown<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-R<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">vmail:vmail<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/mail<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u062a\u0646\u0638\u06cc\u0645 Permission<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">chmod<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-R<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">770<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/mail<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"configure-postfix-smtp\"><\/div><h3 id=\"gspb_heading-id-gsbp-8a6e7a4\" class=\"gspb_heading gspb_heading-id-gsbp-8a6e7a4 \">6- \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc Postfix (SMTP)<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-1290b19\" class=\"gspb_text gspb_text-id-gsbp-1290b19 \"><strong>Postfix<\/strong> \u0642\u0644\u0628 \u062a\u067e\u0646\u062f\u0647 \u0633\u06cc\u0633\u062a\u0645 \u0627\u0631\u0633\u0627\u0644 \u0648 \u062f\u0631\u06cc\u0627\u0641\u062a \u0627\u06cc\u0645\u06cc\u0644 \u0634\u0645\u0627\u0633\u062a. \u0627\u06cc\u0646 \u0633\u0631\u0648\u06cc\u0633 \u0648\u0638\u06cc\u0641\u0647 \u062f\u0627\u0631\u062f \u062a\u0627 \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u067e\u0631\u0648\u062a\u06a9\u0644 <strong>SMTP (Simple Mail Transfer Protocol)<\/strong> \u0627\u0631\u0633\u0627\u0644 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f \u0631\u0627 \u0645\u062f\u06cc\u0631\u06cc\u062a \u06a9\u0646\u062f. \u0628\u0647 \u0632\u0628\u0627\u0646 \u0633\u0627\u062f\u0647\u200c\u062a\u0631\u060c Postfix \u0645\u062b\u0644 \u06cc\u06a9 \u0627\u062f\u0627\u0631\u0647 \u067e\u0633\u062a \u0647\u0648\u0634\u0645\u0646\u062f \u0639\u0645\u0644 \u0645\u06cc\u200c\u06a9\u0646\u062f \u06a9\u0647:<\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u2705 \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627\u06cc \u0627\u0631\u0633\u0627\u0644\u06cc \u0634\u0645\u0627 \u0631\u0627 \u0628\u0647 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u062f\u06cc\u06af\u0631 \u062a\u062d\u0648\u06cc\u0644 \u0645\u06cc\u200c\u062f\u0647\u062f <\/li>\n\n\n\n<li>\u2705 \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627\u06cc \u0648\u0631\u0648\u062f\u06cc \u0631\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u0648 \u0628\u0647 Dovecot \u0645\u0646\u062a\u0642\u0644 \u0645\u06cc\u200c\u06a9\u0646\u062f <\/li>\n\n\n\n<li>\u2705 \u0628\u0627 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 MySQL \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0631\u0642\u0631\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f \u062a\u0627 \u0628\u0641\u0647\u0645\u062f \u06a9\u062f\u0627\u0645 \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627 \u0645\u0639\u062a\u0628\u0631\u0646\u062f<\/li>\n\n\n\n<li>\u2705  \u0627\u0632 \u0627\u0645\u0646\u06cc\u062a \u0627\u0631\u062a\u0628\u0627\u0637\u0627\u062a \u0628\u0627 <strong>TLS\/SSL<\/strong> \u0645\u062d\u0627\u0641\u0638\u062a \u0645\u06cc\u200c\u06a9\u0646\u062f <\/li>\n\n\n\n<li>\u2705 \u0628\u0627 \u0633\u06cc\u0633\u062a\u0645 \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a <strong>SASL<\/strong> \u0627\u0632 \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 \u062a\u0648\u0633\u0637 \u0627\u0641\u0631\u0627\u062f \u063a\u06cc\u0631\u0645\u062c\u0627\u0632 \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f<\/li>\n<\/ul>\n\n\n\n<div id=\"gspb_text-id-gsbp-862e030\" class=\"gspb_text gspb_text-id-gsbp-862e030 \"><strong> 6-1: \u0627\u06cc\u062c\u0627\u062f \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0627\u062a\u0635\u0627\u0644 MySQL<\/strong><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-9014113\" class=\"gspb_text gspb_text-id-gsbp-9014113 \"><strong>\u0641\u0627\u06cc\u0644 \u0627\u0648\u0644: <\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo nano \/etc\/postfix\/mysql-virtual-mailbox-domains.cf<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/postfix\/mysql-virtual-mailbox-domains.cf<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-940e902\" class=\"gspb_text gspb_text-id-gsbp-940e902 \"><strong>\u0645\u062d\u062a\u0648\u0627:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>user = mailuser\npassword = StrongPassword123!\nhosts = 127.0.0.1\ndbname = mailserver\nquery = SELECT 1 FROM virtual_domains WHERE name='%s'<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">user<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mailuser<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">password<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">StrongPassword123!<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">hosts<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">127.0<\/span><span style=\"color: #E7EE98\">.0.1<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">dbname<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mailserver<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">query<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">SELECT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">1<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">FROM<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">virtual_domains<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">WHERE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">name=<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">%s<\/span><span style=\"color: #DEE492\">&#39;<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-0d35a8d\" class=\"gspb_text gspb_text-id-gsbp-0d35a8d \"><strong>\u0641\u0627\u06cc\u0644 \u062f\u0648\u0645:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo nano \/etc\/postfix\/mysql-virtual-mailbox-maps.cf<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/postfix\/mysql-virtual-mailbox-maps.cf<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-f48c6db\" class=\"gspb_text gspb_text-id-gsbp-f48c6db \"><strong>\u0645\u062d\u062a\u0648\u0627:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>user = mailuser\npassword = StrongPassword123!\nhosts = 127.0.0.1\ndbname = mailserver\nquery = SELECT 1 FROM virtual_users WHERE email='%s'<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">user<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mailuser<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">password<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">StrongPassword123!<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">hosts<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">127.0<\/span><span style=\"color: #E7EE98\">.0.1<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">dbname<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mailserver<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">query<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">SELECT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">1<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">FROM<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">virtual_users<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">WHERE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">email=<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">%s<\/span><span style=\"color: #DEE492\">&#39;<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-c6c1a46\" class=\"gspb_text gspb_text-id-gsbp-c6c1a46 \"><strong>\u0641\u0627\u06cc\u0644 \u0633\u0648\u0645:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo nano \/etc\/postfix\/mysql-virtual-alias-maps.cf<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/postfix\/mysql-virtual-alias-maps.cf<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-9afbd84\" class=\"gspb_text gspb_text-id-gsbp-9afbd84 \"><strong>\u0645\u062d\u062a\u0648\u0627:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>user = mailuser\npassword = StrongPassword123!\nhosts = 127.0.0.1\ndbname = mailserver\nquery = SELECT destination FROM virtual_aliases WHERE source='%s'<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">user<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mailuser<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">password<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">StrongPassword123!<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">hosts<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">127.0<\/span><span style=\"color: #E7EE98\">.0.1<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">dbname<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mailserver<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">query<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">SELECT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">destination<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">FROM<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">virtual_aliases<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">WHERE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">source=<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">%s<\/span><span style=\"color: #DEE492\">&#39;<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-ef21417\" class=\"gspb_text gspb_text-id-gsbp-ef21417 \"><strong>\u062a\u0646\u0638\u06cc\u0645 Permission:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo chmod 640 \/etc\/postfix\/mysql-virtual-*.cf\nsudo chown root:postfix \/etc\/postfix\/mysql-virtual-*.cf<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">chmod<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">640<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/postfix\/mysql-virtual-<\/span><span style=\"color: #BF9EEE; font-style: italic\">*<\/span><span style=\"color: #E7EE98\">.cf<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">chown<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">root:postfix<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/postfix\/mysql-virtual-<\/span><span style=\"color: #BF9EEE; font-style: italic\">*<\/span><span style=\"color: #E7EE98\">.cf<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-a984ca4\" class=\"gspb_text gspb_text-id-gsbp-a984ca4 \"><strong>6-2: \u0648\u06cc\u0631\u0627\u06cc\u0634 main.cf<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo cp \/etc\/postfix\/main.cf \/etc\/postfix\/main.cf.backup\nsudo nano \/etc\/postfix\/main.cf<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">cp<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/postfix\/main.cf<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/postfix\/main.cf.backup<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/postfix\/main.cf<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-3b1abf7\" class=\"gspb_text gspb_text-id-gsbp-3b1abf7 \"><strong>\u0645\u062d\u062a\u0648\u0627\u06cc \u067e\u06cc\u0634\u0646\u0647\u0627\u062f\u06cc (\u0627\u0636\u0627\u0641\u0647 \u06cc\u0627 \u0648\u06cc\u0631\u0627\u06cc\u0634 \u06a9\u0646\u06cc\u062f):<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0627\u0635\u0644\u06cc\nmyhostname = mail.example.com\nmydomain = example.com\nmyorigin = $mydomain\nmydestination = localhost\nmynetworks = 127.0.0.0\/8 &#91;::ffff:127.0.0.0&#93;\/104 &#91;::1&#93;\/128\ninet_interfaces = all\ninet_protocols = all\n\n# Virtual domains\nvirtual_transport = lmtp:unix:private\/dovecot-lmtp\nvirtual_mailbox_domains = mysql:\/etc\/postfix\/mysql-virtual-mailbox-domains.cf\nvirtual_mailbox_maps = mysql:\/etc\/postfix\/mysql-virtual-mailbox-maps.cf\nvirtual_alias_maps = mysql:\/etc\/postfix\/mysql-virtual-alias-maps.cf\n\n# TLS\/SSL\nsmtpd_tls_cert_file = \/etc\/letsencrypt\/live\/mail.example.com\/fullchain.pem\nsmtpd_tls_key_file = \/etc\/letsencrypt\/live\/mail.example.com\/privkey.pem\nsmtpd_use_tls = yes\nsmtpd_tls_security_level = may\nsmtpd_tls_auth_only = yes\nsmtpd_tls_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1\nsmtp_tls_security_level = may\nsmtp_tls_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1\n\n# SASL Authentication\nsmtpd_sasl_type = dovecot\nsmtpd_sasl_path = private\/auth\nsmtpd_sasl_auth_enable = yes\nsmtpd_sasl_security_options = noanonymous\nsmtpd_sasl_local_domain = $myhostname\n\n# Restrictions\nsmtpd_helo_required = yes\nsmtpd_recipient_restrictions =\n    permit_sasl_authenticated,\n    permit_mynetworks,\n    reject_unauth_destination,\n    reject_non_fqdn_recipient,\n    reject_unknown_recipient_domain\n\nsmtpd_sender_restrictions =\n    permit_sasl_authenticated,\n    permit_mynetworks,\n    reject_non_fqdn_sender,\n    reject_unknown_sender_domain\n\nsmtpd_relay_restrictions =\n    permit_sasl_authenticated,\n    permit_mynetworks,\n    defer_unauth_destination\n\n# \u0645\u062d\u062f\u0648\u062f\u06cc\u062a\u200c\u0647\u0627\nmessage_size_limit = 52428800\nmailbox_size_limit = 0\n\n# DKIM\nmilter_default_action = accept\nmilter_protocol = 6\nsmtpd_milters = inet:127.0.0.1:8891\nnon_smtpd_milters = $smtpd_milters<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0627\u0635\u0644\u06cc<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">myhostname<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mail.example.com<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">mydomain<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">example.com<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">myorigin<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">$mydomain<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">mydestination<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">localhost<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">mynetworks<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">127.0<\/span><span style=\"color: #E7EE98\">.0.0\/8<\/span><span style=\"color: #F6F6F4\"> &#91;::ffff:127.0.0.0&#93;\/104 &#91;::1&#93;\/128<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">inet_interfaces<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">all<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">inet_protocols<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">all<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># Virtual domains<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">virtual_transport<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">lmtp:unix:private\/dovecot-lmtp<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">virtual_mailbox_domains<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mysql:\/etc\/postfix\/mysql-virtual-mailbox-domains.cf<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">virtual_mailbox_maps<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mysql:\/etc\/postfix\/mysql-virtual-mailbox-maps.cf<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">virtual_alias_maps<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mysql:\/etc\/postfix\/mysql-virtual-alias-maps.cf<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># TLS\/SSL<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">smtpd_tls_cert_file<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/letsencrypt\/live\/mail.example.com\/fullchain.pem<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">smtpd_tls_key_file<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/letsencrypt\/live\/mail.example.com\/privkey.pem<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">smtpd_use_tls<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">smtpd_tls_security_level<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">may<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">smtpd_tls_auth_only<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">smtpd_tls_protocols<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">!SSLv2,<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">!SSLv3,<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">!TLSv1,<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">!TLSv1.1<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">smtp_tls_security_level<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">may<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">smtp_tls_protocols<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">!SSLv2,<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">!SSLv3,<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">!TLSv1,<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">!TLSv1.1<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># SASL Authentication<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">smtpd_sasl_type<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">dovecot<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">smtpd_sasl_path<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">private\/auth<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">smtpd_sasl_auth_enable<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">smtpd_sasl_security_options<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">noanonymous<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">smtpd_sasl_local_domain<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">$myhostname<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># Restrictions<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">smtpd_helo_required<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">smtpd_recipient_restrictions<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">permit_sasl_authenticated,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">permit_mynetworks,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">reject_unauth_destination,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">reject_non_fqdn_recipient,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">reject_unknown_recipient_domain<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">smtpd_sender_restrictions<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">permit_sasl_authenticated,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">permit_mynetworks,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">reject_non_fqdn_sender,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">reject_unknown_sender_domain<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">smtpd_relay_restrictions<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">permit_sasl_authenticated,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">permit_mynetworks,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">defer_unauth_destination<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0645\u062d\u062f\u0648\u062f\u06cc\u062a\u200c\u0647\u0627<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">message_size_limit<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">52428800<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">mailbox_size_limit<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">0<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># DKIM<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">milter_default_action<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">accept<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">milter_protocol<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">6<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">smtpd_milters<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">inet:127.0.0.1:8891<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">non_smtpd_milters<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">$smtpd_milters<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-3b819ee\" class=\"gspb_text gspb_text-id-gsbp-3b819ee \"><strong>6-3: \u0648\u06cc\u0631\u0627\u06cc\u0634 master.cf<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo nano \/etc\/postfix\/master.cf<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/postfix\/master.cf<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-1296a32\" class=\"gspb_text gspb_text-id-gsbp-1296a32 \"><strong>\u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u06cc\u0627 \u0641\u0639\u0627\u0644\u200c\u0633\u0627\u0632\u06cc \u062e\u0637\u0648\u0637 \u0632\u06cc\u0631:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>submission inet n       -       y       -       -       smtpd\n  -o syslog_name=postfix\/submission\n  -o smtpd_tls_security_level=encrypt\n  -o smtpd_sasl_auth_enable=yes\n  -o smtpd_tls_auth_only=yes\n  -o smtpd_reject_unlisted_recipient=no\n  -o smtpd_recipient_restrictions=\n  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject\n  -o milter_macro_daemon_name=ORIGINATING\n\nsmtps     inet  n       -       y       -       -       smtpd\n  -o syslog_name=postfix\/smtps\n  -o smtpd_tls_wrappermode=yes\n  -o smtpd_sasl_auth_enable=yes\n  -o smtpd_recipient_restrictions=\n  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject\n  -o milter_macro_daemon_name=ORIGINATING<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">submission<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">inet<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">n<\/span><span style=\"color: #F6F6F4\">       <\/span><span style=\"color: #E7EE98\">-<\/span><span style=\"color: #F6F6F4\">       <\/span><span style=\"color: #E7EE98\">y<\/span><span style=\"color: #F6F6F4\">       <\/span><span style=\"color: #E7EE98\">-<\/span><span style=\"color: #F6F6F4\">       <\/span><span style=\"color: #E7EE98\">-<\/span><span style=\"color: #F6F6F4\">       <\/span><span style=\"color: #E7EE98\">smtpd<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">-o<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">syslog_name=postfix\/submission<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">-o<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">smtpd_tls_security_level=encrypt<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">-o<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">smtpd_sasl_auth_enable=yes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">-o<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">smtpd_tls_auth_only=yes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">-o<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">smtpd_reject_unlisted_recipient=no<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">-o<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">smtpd_recipient_restrictions=<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">-o<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">smtpd_relay_restrictions=permit_sasl_authenticated,reject<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">-o<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">milter_macro_daemon_name=ORIGINATING<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">smtps<\/span><span style=\"color: #F6F6F4\">     <\/span><span style=\"color: #E7EE98\">inet<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #E7EE98\">n<\/span><span style=\"color: #F6F6F4\">       <\/span><span style=\"color: #E7EE98\">-<\/span><span style=\"color: #F6F6F4\">       <\/span><span style=\"color: #E7EE98\">y<\/span><span style=\"color: #F6F6F4\">       <\/span><span style=\"color: #E7EE98\">-<\/span><span style=\"color: #F6F6F4\">       <\/span><span style=\"color: #E7EE98\">-<\/span><span style=\"color: #F6F6F4\">       <\/span><span style=\"color: #E7EE98\">smtpd<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">-o<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">syslog_name=postfix\/smtps<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">-o<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">smtpd_tls_wrappermode=yes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">-o<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">smtpd_sasl_auth_enable=yes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">-o<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">smtpd_recipient_restrictions=<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">-o<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">smtpd_relay_restrictions=permit_sasl_authenticated,reject<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">-o<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">milter_macro_daemon_name=ORIGINATING<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"configure-dovecot-imap\"><\/div><h3 id=\"gspb_heading-id-gsbp-6a7d04a\" class=\"gspb_heading gspb_heading-id-gsbp-6a7d04a \">7- \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc Dovecot (IMAP\/POP3)<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-cb151ee\" class=\"gspb_text gspb_text-id-gsbp-cb151ee \">Dovecot \u0646\u0642\u0634 \u0635\u0646\u062f\u0648\u0642 \u067e\u0633\u062a\u06cc \u0634\u062e\u0635\u06cc \u0648 \u0646\u06af\u0647\u0628\u0627\u0646 \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627\u06cc \u0634\u0645\u0627\u0633\u062a. \u062f\u0631 \u062d\u0627\u0644\u06cc \u06a9\u0647 Postfix \u0648\u0638\u06cc\u0641\u0647 \u062d\u0645\u0644\u200c\u0648\u0646\u0642\u0644 \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627 \u0631\u0627 \u062f\u0627\u0631\u062f\u060c Dovecot \u0645\u0633\u0626\u0648\u0644 \u0630\u062e\u06cc\u0631\u0647\u200c\u0633\u0627\u0632\u06cc\u060c \u0633\u0627\u0632\u0645\u0627\u0646\u062f\u0647\u06cc \u0648 \u0627\u0631\u0627\u0626\u0647 \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627 \u0628\u0647 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0646\u0647\u0627\u06cc\u06cc \u0627\u0632 \u0637\u0631\u06cc\u0642 \u067e\u0631\u0648\u062a\u06a9\u0644\u200c\u0647\u0627\u06cc IMAP (\u067e\u0648\u0631\u062a 143\/993) \u0648 POP3 (\u067e\u0648\u0631\u062a 110\/995) \u0627\u0633\u062a. \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634\u060c \u0645\u0627 Dovecot \u0631\u0627 \u0637\u0648\u0631\u06cc \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc \u0645\u06cc\u200c\u06a9\u0646\u06cc\u0645 \u06a9\u0647 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0631\u0627 \u0627\u0632 \u062f\u06cc\u062a\u0627\u0628\u06cc\u0633 MySQL \u0628\u062e\u0648\u0627\u0646\u062f\u060c \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627 \u0631\u0627 \u062f\u0631 \u0641\u0631\u0645\u062a Maildir \u0630\u062e\u06cc\u0631\u0647 \u06a9\u0646\u062f \u0648 \u0628\u0627 Postfix \u0627\u0632 \u0637\u0631\u06cc\u0642 LMTP \u0627\u0631\u062a\u0628\u0627\u0637 \u0628\u0631\u0642\u0631\u0627\u0631 \u06a9\u0646\u062f.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-079fcdf\" class=\"gspb_text gspb_text-id-gsbp-079fcdf \"><strong>7-1: \u0648\u06cc\u0631\u0627\u06cc\u0634 dovecot.conf<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo nano \/etc\/dovecot\/dovecot.conf<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/dovecot\/dovecot.conf<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-d16f53d\" class=\"gspb_text gspb_text-id-gsbp-d16f53d \"><strong>\u0627\u0636\u0627\u0641\u0647 \u06cc\u0627 \u0648\u06cc\u0631\u0627\u06cc\u0634:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>protocols = imap pop3 lmtp\nlisten = *, ::<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">protocols<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">imap<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">pop3<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">lmtp<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">listen<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE; font-style: italic\">*<\/span><span style=\"color: #E7EE98\">,<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">::<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-5612d59\" class=\"gspb_text gspb_text-id-gsbp-5612d59 \"><strong>7-2: \u062a\u0646\u0638\u06cc\u0645\u0627\u062a Mail<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo nano \/etc\/dovecot\/conf.d\/10-mail.conf<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/dovecot\/conf.d\/10-mail.conf<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>mail_location = maildir:\/var\/mail\/vhosts\/%d\/%n\nmail_privileged_group = mail\nfirst_valid_uid = 5000\nlast_valid_uid = 5000\nfirst_valid_gid = 5000\nlast_valid_gid = 5000<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">mail_location<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">maildir:\/var\/mail\/vhosts\/%d\/%n<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">mail_privileged_group<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mail<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">first_valid_uid<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">5000<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">last_valid_uid<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">5000<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">first_valid_gid<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">5000<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">last_valid_gid<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">5000<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-8414417\" class=\"gspb_text gspb_text-id-gsbp-8414417 \"><strong>7-3: \u062a\u0646\u0638\u06cc\u0645\u0627\u062a Authentication<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo nano \/etc\/dovecot\/conf.d\/10-auth.conf<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/dovecot\/conf.d\/10-auth.conf<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>disable_plaintext_auth = yes\nauth_mechanisms = plain login\n\n# \u06a9\u0627\u0645\u0646\u062a \u06a9\u0631\u062f\u0646 \u0627\u06cc\u0646 \u062e\u0637:\n#!include auth-system.conf.ext\n\n# \u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0627\u06cc\u0646 \u062e\u0637:\n!include auth-sql.conf.ext<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">disable_plaintext_auth<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">auth_mechanisms<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">plain<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">login<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u06a9\u0627\u0645\u0646\u062a \u06a9\u0631\u062f\u0646 \u0627\u06cc\u0646 \u062e\u0637:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\">#!include auth-system.conf.ext<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0627\u06cc\u0646 \u062e\u0637:<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F286C4\">!<\/span><span style=\"color: #62E884\">include<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">auth-sql.conf.ext<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-f061688\" class=\"gspb_text gspb_text-id-gsbp-f061688 \"><strong>7-4: \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc SQL<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo nano \/etc\/dovecot\/conf.d\/auth-sql.conf.ext<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/dovecot\/conf.d\/auth-sql.conf.ext<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>passdb {\n  driver = sql\n  args = \/etc\/dovecot\/dovecot-sql.conf.ext\n}\n\nuserdb {\n  driver = static\n  args = uid=vmail gid=vmail home=\/var\/mail\/vhosts\/%d\/%n\n}<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">passdb<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">driver<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">sql<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">args<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/dovecot\/dovecot-sql.conf.ext<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">userdb<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">driver<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">static<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">args<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">uid=vmail<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">gid=vmail<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">home=\/var\/mail\/vhosts\/%d\/%n<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">}<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-204a890\" class=\"gspb_text gspb_text-id-gsbp-204a890 \"><strong>7-5: \u0627\u062a\u0635\u0627\u0644 MySQL<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo nano \/etc\/dovecot\/dovecot-sql.conf.ext<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/dovecot\/dovecot-sql.conf.ext<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>driver = mysql\nconnect = host=127.0.0.1 dbname=mailserver user=mailuser password=StrongPassword123!\ndefault_pass_scheme = SHA512-CRYPT\npassword_query = SELECT email as user, password FROM virtual_users WHERE email='%u'\nuser_query = SELECT 5000 AS uid, 5000 AS gid, '\/var\/mail\/vhosts\/%d\/%n' as home FROM virtual_users WHERE email='%u'<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">driver<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mysql<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">connect<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">host=<\/span><span style=\"color: #BF9EEE\">127.0<\/span><span style=\"color: #E7EE98\">.0.1<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">dbname=mailserver<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">user=mailuser<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">password=StrongPassword123!<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">default_pass_scheme<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">SHA512-CRYPT<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">password_query<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">SELECT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">email<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">as<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">user,<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">password<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">FROM<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">virtual_users<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">WHERE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">email=<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">%u<\/span><span style=\"color: #DEE492\">&#39;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">user_query<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">SELECT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">5000<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">AS<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">uid,<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">5000<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">AS<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">gid,<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">\/var\/mail\/vhosts\/%d\/%n<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">as<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">home<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">FROM<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">virtual_users<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">WHERE<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">email=<\/span><span style=\"color: #DEE492\">&#39;<\/span><span style=\"color: #E7EE98\">%u<\/span><span style=\"color: #DEE492\">&#39;<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-12cea5a\" class=\"gspb_text gspb_text-id-gsbp-12cea5a \"><strong>\u062a\u0646\u0638\u06cc\u0645 Permission:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo chown root:dovecot \/etc\/dovecot\/dovecot-sql.conf.ext\nsudo chmod 640 \/etc\/dovecot\/dovecot-sql.conf.ext<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">chown<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">root:dovecot<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/dovecot\/dovecot-sql.conf.ext<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">chmod<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">640<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/dovecot\/dovecot-sql.conf.ext<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-e020982\" class=\"gspb_text gspb_text-id-gsbp-e020982 \"><strong>7-6: \u062a\u0646\u0638\u06cc\u0645\u0627\u062a SSL<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo nano \/etc\/dovecot\/conf.d\/10-ssl.conf<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/dovecot\/conf.d\/10-ssl.conf<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>ssl = required\nssl_cert = &lt;\/etc\/letsencrypt\/live\/mail.example.com\/fullchain.pem\nssl_key = &lt;\/etc\/letsencrypt\/live\/mail.example.com\/privkey.pem\nssl_prefer_server_ciphers = yes\nssl_min_protocol = TLSv1.2<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">ssl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">required<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">ssl_cert<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #F286C4\">&lt;<\/span><span style=\"color: #E7EE98\">\/etc\/letsencrypt\/live\/mail.example.com\/fullchain.pem<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">ssl_key<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #F286C4\">&lt;<\/span><span style=\"color: #E7EE98\">\/etc\/letsencrypt\/live\/mail.example.com\/privkey.pem<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">ssl_prefer_server_ciphers<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">ssl_min_protocol<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">TLSv1.2<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-d738bb9\" class=\"gspb_text gspb_text-id-gsbp-d738bb9 \"><strong>7-7: \u062a\u0646\u0638\u06cc\u0645\u0627\u062a Master<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo nano \/etc\/dovecot\/conf.d\/10-master.conf<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/dovecot\/conf.d\/10-master.conf<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>service lmtp {\n  unix_listener \/var\/spool\/postfix\/private\/dovecot-lmtp {\n    mode = 0600\n    user = postfix\n    group = postfix\n  }\n}\n\nservice auth {\n  unix_listener \/var\/spool\/postfix\/private\/auth {\n    mode = 0660\n    user = postfix\n    group = postfix\n  }\n  \n  unix_listener auth-userdb {\n    mode = 0600\n    user = vmail\n    group = vmail\n  }\n  \n  user = dovecot\n}\n\nservice auth-worker {\n  user = vmail\n}<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">service<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">lmtp<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">unix_listener<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/spool\/postfix\/private\/dovecot-lmtp<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">mode<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">0600<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">user<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">postfix<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">group<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">postfix<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">service<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">auth<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">unix_listener<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/spool\/postfix\/private\/auth<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">mode<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">0660<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">user<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">postfix<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">group<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">postfix<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">unix_listener<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">auth-userdb<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">mode<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">0600<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">user<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">vmail<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #62E884\">group<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">vmail<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  }<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">user<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">dovecot<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">}<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">service<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">auth-worker<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">{<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #62E884\">user<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">=<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">vmail<\/span><\/span>\n<span class=\"line\"><span style=\"color: #F6F6F4\">}<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-container gspb_container gspb_container-gsbp-71bc80f\" id=\"gspb_container-id-gsbp-71bc80f\">\n<div id=\"gspb_text-id-gsbp-95e161d\" class=\"gspb_text gspb_text-id-gsbp-95e161d \">\ud83d\udca1 \u0628\u06cc\u0634\u062a\u0631 \u0628\u062f\u0627\u0646\u06cc\u062f: \u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 SSL \u0631\u0627\u06cc\u06af\u0627\u0646 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 LetsEncrypt<\/div>\n<\/div>\n\n\n\n<div id=\"install-ssl-certbot-mail\"><\/div><h3 id=\"gspb_heading-id-gsbp-52735e9\" class=\"gspb_heading gspb_heading-id-gsbp-52735e9 \">8- \u0646\u0635\u0628 SSL \u0628\u0627 Let&#8217;s Encrypt<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-e8a1dc8\" class=\"gspb_text gspb_text-id-gsbp-e8a1dc8 \"><strong>\u06af\u0648\u0627\u0647\u06cc\u0646\u0627\u0645\u0647 SSL\/TLS<\/strong> \u0628\u0631\u0627\u06cc \u0631\u0645\u0632\u0646\u06af\u0627\u0631\u06cc \u0627\u0631\u062a\u0628\u0627\u0637\u0627\u062a \u0628\u06cc\u0646 \u06a9\u0644\u0627\u06cc\u0646\u062a\u200c\u0647\u0627\u06cc \u0627\u06cc\u0645\u06cc\u0644 (Outlook\u060c Thunderbird\u060c \u0645\u0648\u0628\u0627\u06cc\u0644) \u0648 \u0633\u0631\u0648\u0631 \u0634\u0645\u0627 \u0636\u0631\u0648\u0631\u06cc \u0627\u0633\u062a. \u0628\u062f\u0648\u0646 SSL\u060c \u062a\u0645\u0627\u0645 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0634\u0627\u0645\u0644 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0648 \u0645\u062d\u062a\u0648\u0627\u06cc \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u062a\u0646 \u0633\u0627\u062f\u0647 (Plain Text) \u062f\u0631 \u0627\u06cc\u0646\u062a\u0631\u0646\u062a \u0645\u0646\u062a\u0642\u0644 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f \u06a9\u0647 \u06cc\u06a9 \u0631\u06cc\u0633\u06a9 \u0627\u0645\u0646\u06cc\u062a\u06cc \u062c\u062f\u06cc \u0645\u062d\u0633\u0648\u0628 \u0645\u06cc\u200c\u0634\u0648\u062f. <strong>Let&#8217;s Encrypt<\/strong> \u06cc\u06a9 \u0633\u0631\u0648\u06cc\u0633 \u0631\u0627\u06cc\u06af\u0627\u0646 \u0648 \u0645\u0639\u062a\u0628\u0631 \u0627\u0633\u062a \u06a9\u0647 \u06af\u0648\u0627\u0647\u06cc\u0646\u0627\u0645\u0647\u200c\u0647\u0627\u06cc SSL \u0628\u0627 \u0627\u0639\u062a\u0628\u0627\u0631 90 \u0631\u0648\u0632\u0647 \u0635\u0627\u062f\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u0628\u0647 \u0631\u0627\u062d\u062a\u06cc \u0642\u0627\u0628\u0644 \u062a\u0645\u062f\u06cc\u062f \u062e\u0648\u062f\u06a9\u0627\u0631 \u0627\u0633\u062a\u060c \u0628\u0646\u0627\u0628\u0631\u0627\u06cc\u0646 \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 \u062e\u0631\u06cc\u062f SSL \u062a\u062c\u0627\u0631\u06cc \u0646\u062f\u0627\u0631\u06cc\u062f.<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0646\u0635\u0628 Certbot\nsudo apt install certbot -y\n\n# \u062f\u0631\u06cc\u0627\u0641\u062a \u06af\u0648\u0627\u0647\u06cc\u0646\u0627\u0645\u0647 (\u062a\u0648\u0642\u0641 \u0645\u0648\u0642\u062a Postfix\/Dovecot)\nsudo systemctl stop postfix dovecot\nsudo certbot certonly --standalone -d mail.example.com\n\n# \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u062c\u062f\u062f\nsudo systemctl start postfix dovecot\n\n# \u062a\u0645\u062f\u06cc\u062f \u062e\u0648\u062f\u06a9\u0627\u0631\nsudo crontab -e<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0646\u0635\u0628 Certbot<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">apt<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">certbot<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u062f\u0631\u06cc\u0627\u0641\u062a \u06af\u0648\u0627\u0647\u06cc\u0646\u0627\u0645\u0647 (\u062a\u0648\u0642\u0641 \u0645\u0648\u0642\u062a Postfix\/Dovecot)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">stop<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">postfix<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">dovecot<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">certbot<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">certonly<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">--standalone<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-d<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mail.example.com<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0645\u062c\u062f\u062f<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">start<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">postfix<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">dovecot<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u062a\u0645\u062f\u06cc\u062f \u062e\u0648\u062f\u06a9\u0627\u0631<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">crontab<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-e<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-b400ed0\" class=\"gspb_text gspb_text-id-gsbp-b400ed0 \"><strong>\u0627\u0636\u0627\u0641\u0647 \u06a9\u0631\u062f\u0646 \u0628\u0647 crontab:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>0 3 * * * certbot renew --quiet --post-hook \"systemctl reload postfix dovecot\"<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">0<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">3<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE; font-style: italic\">*<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE; font-style: italic\">*<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE; font-style: italic\">*<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">certbot<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">renew<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">--quiet<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">--post-hook<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">systemctl reload postfix dovecot<\/span><span style=\"color: #DEE492\">&quot;<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"configure-opendkim-mail\"><\/div><h3 id=\"gspb_heading-id-gsbp-f8b0dac\" class=\"gspb_heading gspb_heading-id-gsbp-f8b0dac \">9- \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc OpenDKIM<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-8c24657\" class=\"gspb_text gspb_text-id-gsbp-8c24657 \"><strong>DKIM (DomainKeys Identified Mail)<\/strong> \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u0627\u0645\u0636\u0627\u06cc \u062f\u06cc\u062c\u06cc\u062a\u0627\u0644 \u0627\u0633\u062a \u06a9\u0647 \u0627\u0635\u0627\u0644\u062a \u0648 \u06cc\u06a9\u067e\u0627\u0631\u0686\u06af\u06cc \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627\u06cc \u0627\u0631\u0633\u0627\u0644\u06cc \u0634\u0645\u0627 \u0631\u0627 \u062a\u0636\u0645\u06cc\u0646 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u0628\u0647 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u06af\u06cc\u0631\u0646\u062f\u0647 \u062b\u0627\u0628\u062a \u0645\u06cc\u200c\u06a9\u0646\u062f \u06a9\u0647 \u0627\u06cc\u0645\u06cc\u0644 \u0648\u0627\u0642\u0639\u0627\u064b \u0627\u0632 \u062f\u0627\u0645\u0646\u0647 \u0634\u0645\u0627 \u0627\u0631\u0633\u0627\u0644 \u0634\u062f\u0647 \u0648 \u062f\u0631 \u0645\u0633\u06cc\u0631 \u062f\u0633\u062a\u06a9\u0627\u0631\u06cc \u0646\u0634\u062f\u0647 \u0627\u0633\u062a. \u0628\u062f\u0648\u0646 DKIM\u060c \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627\u06cc \u0634\u0645\u0627 \u0627\u062d\u062a\u0645\u0627\u0644 \u0628\u0633\u06cc\u0627\u0631 \u0628\u0627\u0644\u0627\u06cc\u06cc \u062f\u0627\u0631\u062f \u06a9\u0647 \u062a\u0648\u0633\u0637 Gmail\u060c Yahoo \u0648 Outlook \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0627\u0633\u067e\u0645 \u0634\u0646\u0627\u0633\u0627\u06cc\u06cc \u0634\u0648\u0646\u062f \u06cc\u0627 \u0627\u0635\u0644\u0627\u064b \u0631\u062f \u0634\u0648\u0646\u062f. <strong>OpenDKIM<\/strong> \u0628\u0627 \u062a\u0648\u0644\u06cc\u062f \u06cc\u06a9 \u062c\u0641\u062a \u06a9\u0644\u06cc\u062f \u0639\u0645\u0648\u0645\u06cc\/\u062e\u0635\u0648\u0635\u06cc\u060c \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627 \u0631\u0627 \u0628\u0627 \u06a9\u0644\u06cc\u062f \u062e\u0635\u0648\u0635\u06cc \u0627\u0645\u0636\u0627 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u0633\u0631\u0648\u0631\u0647\u0627\u06cc \u06af\u06cc\u0631\u0646\u062f\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u0644\u06cc\u062f \u0639\u0645\u0648\u0645\u06cc \u0645\u0646\u062a\u0634\u0631 \u0634\u062f\u0647 \u062f\u0631 DNS \u0634\u0645\u0627\u060c \u0627\u0645\u0636\u0627 \u0631\u0627 \u062a\u0623\u06cc\u06cc\u062f \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-bc00c39\" class=\"gspb_text gspb_text-id-gsbp-bc00c39 \"><strong>9-1: \u0627\u06cc\u062c\u0627\u062f \u062f\u0627\u06cc\u0631\u06a9\u062a\u0648\u0631\u06cc<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo mkdir -p \/etc\/opendkim\/keys\/example.com\ncd \/etc\/opendkim\/keys\/example.com<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mkdir<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-p<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/opendkim\/keys\/example.com<\/span><\/span>\n<span class=\"line\"><span style=\"color: #97E1F1\">cd<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/opendkim\/keys\/example.com<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-57cb252\" class=\"gspb_text gspb_text-id-gsbp-57cb252 \"><strong>9-2: \u062a\u0648\u0644\u06cc\u062f \u06a9\u0644\u06cc\u062f<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo opendkim-genkey -s default -d example.com\nsudo chown opendkim:opendkim default.private<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">opendkim-genkey<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-s<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">default<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-d<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">example.com<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">chown<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">opendkim:opendkim<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">default.private<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-b9576b4\" class=\"gspb_text gspb_text-id-gsbp-b9576b4 \"><strong>9-3: \u0646\u0645\u0627\u06cc\u0634 \u06a9\u0644\u06cc\u062f \u0639\u0645\u0648\u0645\u06cc \u0628\u0631\u0627\u06cc DNS<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo cat default.txt<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">cat<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">default.txt<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-6e98307\" class=\"gspb_text gspb_text-id-gsbp-6e98307 \"><strong>\u062e\u0631\u0648\u062c\u06cc \u0634\u0628\u06cc\u0647 \u0627\u06cc\u0646 \u0627\u0633\u062a:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>default._domainkey IN TXT \"v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC...\"<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">default._domainkey<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">IN<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">TXT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC...<\/span><span style=\"color: #DEE492\">&quot;<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-54f479e\" class=\"gspb_text gspb_text-id-gsbp-54f479e \">\u0627\u06cc\u0646 \u0631\u0627 \u062f\u0631 DNS \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-0eb5209\" class=\"gspb_text gspb_text-id-gsbp-0eb5209 \"><strong>9-4: \u0648\u06cc\u0631\u0627\u06cc\u0634 opendkim.conf<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo nano \/etc\/opendkim.conf<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">nano<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/opendkim.conf<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>Syslog yes\nSyslogSuccess yes\nLogWhy yes\nUMask 002\nOversignHeaders From\nCanonicalization relaxed\/simple\nMode sv\nSubDomains no\nAutoRestart yes\nAutoRestartRate 10\/1M\nBackground yes\nDNSTimeout 5\nSignatureAlgorithm rsa-sha256\n\n# Domains\nDomain example.com\nKeyFile \/etc\/opendkim\/keys\/example.com\/default.private\nSelector default\n\n# Sockets\nSocket inet:8891@localhost\nPidFile \/run\/opendkim\/opendkim.pid<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">Syslog<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">SyslogSuccess<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">LogWhy<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">UMask<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">002<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">OversignHeaders<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">From<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Canonicalization<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">relaxed\/simple<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Mode<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">sv<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">SubDomains<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">no<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">AutoRestart<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">AutoRestartRate<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">10<\/span><span style=\"color: #E7EE98\">\/1M<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Background<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">yes<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">DNSTimeout<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">5<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">SignatureAlgorithm<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">rsa-sha256<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># Domains<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Domain<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">example.com<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">KeyFile<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/etc\/opendkim\/keys\/example.com\/default.private<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Selector<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">default<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># Sockets<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">Socket<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">inet:8891@localhost<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">PidFile<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/run\/opendkim\/opendkim.pid<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-d0e45d6\" class=\"gspb_text gspb_text-id-gsbp-d0e45d6 \"><strong>9-5: \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo systemctl enable opendkim\nsudo systemctl restart opendkim postfix<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">enable<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">opendkim<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">restart<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">opendkim<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">postfix<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"configure-firewall-mail\"><\/div><h3 id=\"gspb_heading-id-gsbp-1a41282\" class=\"gspb_heading gspb_heading-id-gsbp-1a41282 \">10- \u062a\u0646\u0638\u06cc\u0645 Firewall<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-b7a21d6\" class=\"gspb_text gspb_text-id-gsbp-b7a21d6 \"><strong>\u0641\u0627\u06cc\u0631\u0648\u0627\u0644 (Firewall)<\/strong> \u062f\u06cc\u0648\u0627\u0631 \u0627\u0645\u0646\u06cc\u062a\u06cc \u0633\u0631\u0648\u0631 \u0634\u0645\u0627\u0633\u062a \u06a9\u0647 \u062a\u0639\u06cc\u06cc\u0646 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0686\u0647 \u067e\u0648\u0631\u062a\u200c\u0647\u0627 \u0648 \u0633\u0631\u0648\u06cc\u0633\u200c\u0647\u0627\u06cc\u06cc \u0627\u0632 \u0627\u06cc\u0646\u062a\u0631\u0646\u062a \u0642\u0627\u0628\u0644 \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0627\u0634\u0646\u062f \u0648 \u0628\u0642\u06cc\u0647 \u062f\u0631\u0647\u0627 \u0631\u0627 \u0645\u06cc\u200c\u0628\u0646\u062f\u062f \u062a\u0627 \u0627\u0632 \u0646\u0641\u0648\u0630 \u0647\u06a9\u0631\u0647\u0627 \u0648 \u062d\u0645\u0644\u0627\u062a \u062e\u0648\u062f\u06a9\u0627\u0631 \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u06a9\u0646\u062f.<\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo ufw allow 25\/tcp    # SMTP\nsudo ufw allow 587\/tcp   # Submission\nsudo ufw allow 465\/tcp   # SMTPS\nsudo ufw allow 143\/tcp   # IMAP\nsudo ufw allow 993\/tcp   # IMAPS\nsudo ufw allow 110\/tcp   # POP3\nsudo ufw allow 995\/tcp   # POP3S\n\nsudo ufw enable\nsudo ufw status<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ufw<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">allow<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">25<\/span><span style=\"color: #E7EE98\">\/tcp<\/span><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #7B7F8B\"># SMTP<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ufw<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">allow<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">587<\/span><span style=\"color: #E7EE98\">\/tcp<\/span><span style=\"color: #F6F6F4\">   <\/span><span style=\"color: #7B7F8B\"># Submission<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ufw<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">allow<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">465<\/span><span style=\"color: #E7EE98\">\/tcp<\/span><span style=\"color: #F6F6F4\">   <\/span><span style=\"color: #7B7F8B\"># SMTPS<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ufw<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">allow<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">143<\/span><span style=\"color: #E7EE98\">\/tcp<\/span><span style=\"color: #F6F6F4\">   <\/span><span style=\"color: #7B7F8B\"># IMAP<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ufw<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">allow<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">993<\/span><span style=\"color: #E7EE98\">\/tcp<\/span><span style=\"color: #F6F6F4\">   <\/span><span style=\"color: #7B7F8B\"># IMAPS<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ufw<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">allow<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">110<\/span><span style=\"color: #E7EE98\">\/tcp<\/span><span style=\"color: #F6F6F4\">   <\/span><span style=\"color: #7B7F8B\"># POP3<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ufw<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">allow<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">995<\/span><span style=\"color: #E7EE98\">\/tcp<\/span><span style=\"color: #F6F6F4\">   <\/span><span style=\"color: #7B7F8B\"># POP3S<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ufw<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">enable<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ufw<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">status<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"test-troubleshoot-mail-server\"><\/div><h3 id=\"gspb_heading-id-gsbp-f2fb36d\" class=\"gspb_heading gspb_heading-id-gsbp-f2fb36d \">11- \u062a\u0633\u062a \u0648 \u0639\u06cc\u0628\u200c\u06cc\u0627\u0628\u06cc<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-3de1cb4\" class=\"gspb_text gspb_text-id-gsbp-3de1cb4 \"><strong>\u062a\u0633\u062a \u0648 \u0639\u06cc\u0628\u200c\u06cc\u0627\u0628\u06cc<\/strong> \u0645\u0631\u062d\u0644\u0647 \u062d\u06cc\u0627\u062a\u06cc \u0628\u0639\u062f \u0627\u0632 \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 \u0627\u0633\u062a \u06a9\u0647 \u0628\u062f\u0648\u0646 \u0622\u0646 \u0646\u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u062a\u0645\u0627\u0645 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0628\u0647 \u062f\u0631\u0633\u062a\u06cc \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f \u06cc\u0627 \u062f\u0631 \u0635\u0648\u0631\u062a \u0628\u0631\u0648\u0632 \u0645\u0634\u06a9\u0644\u060c \u0646\u0642\u0637\u0647 \u062e\u0631\u0627\u0628\u06cc \u0631\u0627 \u0634\u0646\u0627\u0633\u0627\u06cc\u06cc \u06a9\u0646\u06cc\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0628\u062e\u0634 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc\u06cc \u0645\u062b\u0644 <code>telnet<\/code>\u060c <code>mailq<\/code> \u0648 \u0628\u0631\u0631\u0633\u06cc \u0644\u0627\u06af\u200c\u0647\u0627\u06cc <code>\/var\/log\/mail.log<\/code> \u0645\u06cc\u200c\u0622\u0645\u0648\u0632\u06cc\u062f \u0686\u06af\u0648\u0646\u0647 \u0627\u062a\u0635\u0627\u0644 SMTP \u0648 IMAP \u0631\u0627 \u062a\u0633\u062a \u06a9\u0646\u06cc\u062f\u060c \u0648\u0636\u0639\u06cc\u062a \u0635\u0641 \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f \u0648 \u062e\u0637\u0627\u0647\u0627\u06cc \u0631\u0627\u06cc\u062c \u0645\u062b\u0644 &#8220;Relay access denied&#8221; \u06cc\u0627 \u0645\u0634\u06a9\u0644\u0627\u062a \u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a \u0631\u0627 \u062d\u0644 \u06a9\u0646\u06cc\u062f. \u0647\u0645\u0686\u0646\u06cc\u0646 \u0628\u0627 \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 \u062a\u0633\u062a \u0628\u0647 \u0633\u0631\u0648\u06cc\u0633\u200c\u0647\u0627\u06cc\u06cc \u0645\u062b\u0644 <code>mail-tester.com<\/code> \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0645\u062a\u06cc\u0627\u0632 spam score \u0648 \u0635\u062d\u062a \u062a\u0646\u0638\u06cc\u0645\u0627\u062a SPF\/DKIM\/DMARC \u062e\u0648\u062f \u0631\u0627 \u0627\u0631\u0632\u06cc\u0627\u0628\u06cc \u06a9\u0646\u06cc\u062f.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-b9ece28\" class=\"gspb_text gspb_text-id-gsbp-b9ece28 \"><strong>\u062a\u0633\u062a Postfix<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0628\u0631\u0631\u0633\u06cc \u0648\u0636\u0639\u06cc\u062a\nsudo systemctl status postfix\n\n# \u0628\u0631\u0631\u0633\u06cc \u0644\u0627\u06af\nsudo tail -f \/var\/log\/mail.log\n\n# \u062a\u0633\u062a \u0627\u062a\u0635\u0627\u0644 SMTP\ntelnet localhost 25<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0631\u0633\u06cc \u0648\u0636\u0639\u06cc\u062a<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">status<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">postfix<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0631\u0633\u06cc \u0644\u0627\u06af<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">tail<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-f<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">\/var\/log\/mail.log<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u062a\u0633\u062a \u0627\u062a\u0635\u0627\u0644 SMTP<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">telnet<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">localhost<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">25<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-dbe0584\" class=\"gspb_text gspb_text-id-gsbp-dbe0584 \"><strong>\u062f\u0631 telnet:<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>EHLO mail.example.com\nQUIT<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">EHLO<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mail.example.com<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">QUIT<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-b52a652\" class=\"gspb_text gspb_text-id-gsbp-b52a652 \"><strong>\u062a\u0633\u062a Dovecot<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0628\u0631\u0631\u0633\u06cc \u0648\u0636\u0639\u06cc\u062a\nsudo systemctl status dovecot\n\n# \u062a\u0633\u062a IMAP\ntelnet localhost 143<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0628\u0631\u0631\u0633\u06cc \u0648\u0636\u0639\u06cc\u062a<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">systemctl<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">status<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">dovecot<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u062a\u0633\u062a IMAP<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">telnet<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">localhost<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">143<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-abe7f86\" class=\"gspb_text gspb_text-id-gsbp-abe7f86 \"><strong>\u062a\u0633\u062a \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># \u0646\u0635\u0628 mailutils\nsudo apt install mailutils -y\n\n# \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 \u062a\u0633\u062a\necho \"This is a test email\" | mail -s \"Test Subject\" info@example.com<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># \u0646\u0635\u0628 mailutils<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">apt<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">install<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mailutils<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-y<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># \u0627\u0631\u0633\u0627\u0644 \u0627\u06cc\u0645\u06cc\u0644 \u062a\u0633\u062a<\/span><\/span>\n<span class=\"line\"><span style=\"color: #97E1F1\">echo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">This is a test email<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #F286C4\">|<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #62E884\">mail<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-s<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">Test Subject<\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">info@example.com<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-25e832c\" class=\"gspb_text gspb_text-id-gsbp-25e832c \"><strong>\u062a\u0633\u062a DKIM<\/strong><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-f8be099\" class=\"gspb_text gspb_text-id-gsbp-f8be099 \">\u0627\u06cc\u0645\u06cc\u0644\u06cc \u0628\u0647 <code>check-auth@verifier.port25.com<\/code> \u0628\u0641\u0631\u0633\u062a\u06cc\u062f \u0648 \u0646\u062a\u06cc\u062c\u0647 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-a57c3d4\" class=\"gspb_text gspb_text-id-gsbp-a57c3d4 \"><strong>\u0628\u0631\u0631\u0633\u06cc \u0635\u0641 \u0627\u06cc\u0645\u06cc\u0644<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>mailq<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">mailq<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-afba67f\" class=\"gspb_text gspb_text-id-gsbp-afba67f \"><strong>\u067e\u0627\u06a9 \u06a9\u0631\u062f\u0646 \u0635\u0641<\/strong><\/div>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>sudo postsuper -d ALL<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #62E884\">sudo<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">postsuper<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #BF9EEE\">-d<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">ALL<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"complete-dns-settings-mail\"><\/div><h2 id=\"gspb_heading-id-gsbp-e3e6045\" class=\"gspb_heading gspb_heading-id-gsbp-e3e6045 \">\u062a\u0646\u0638\u06cc\u0645\u0627\u062a DNS \u06a9\u0627\u0645\u0644<\/h2>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro padding-bottom-disabled cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#f6f6f4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#282A36\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#282A36;display:none;background-color:#f6f6f4\" aria-label=\"Copy\" data-copied-text=\"Copied!\" data-has-text-button=\"textSimple\" data-inside-header-type=\"headlights\" aria-live=\"polite\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly># A Record\nmail.example.com.    IN  A    192.0.2.1\n\n# MX Record\nexample.com.         IN  MX   10 mail.example.com.\n\n# PTR (Reverse DNS) - \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0627\u0632 \u0647\u0627\u0633\u062a\u06cc\u0646\u06af\n1.2.0.192.in-addr.arpa. IN PTR mail.example.com.\n\n# SPF Record\nexample.com.         IN  TXT  \"v=spf1 mx ip4:192.0.2.1 ~all\"\n\n# DKIM Record (\u0627\u0632 \u0641\u0627\u06cc\u0644 default.txt \u06a9\u067e\u06cc \u06a9\u0646\u06cc\u062f)\ndefault._domainkey.example.com. IN TXT \"v=DKIM1; k=rsa; p=MIGfMA0GCS...\"\n\n# DMARC Record\n_dmarc.example.com.  IN  TXT  \"v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com; ruf=mailto:dmarc@example.com; fo=1\"<\/textarea><\/pre><span class=\"cbp-btn-text\">Copy<\/span><\/span><pre class=\"shiki dracula-soft\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #7B7F8B\"># A Record<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">mail.example.com.<\/span><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #E7EE98\">IN<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #E7EE98\">A<\/span><span style=\"color: #F6F6F4\">    <\/span><span style=\"color: #BF9EEE\">192.0<\/span><span style=\"color: #E7EE98\">.2.1<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># MX Record<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">example.com.<\/span><span style=\"color: #F6F6F4\">         <\/span><span style=\"color: #E7EE98\">IN<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #E7EE98\">MX<\/span><span style=\"color: #F6F6F4\">   <\/span><span style=\"color: #BF9EEE\">10<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mail.example.com.<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># PTR (Reverse DNS) - \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0627\u0632 \u0647\u0627\u0633\u062a\u06cc\u0646\u06af<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">1.2.0.192.in-addr.arpa.<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">IN<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">PTR<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">mail.example.com.<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># SPF Record<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">example.com.<\/span><span style=\"color: #F6F6F4\">         <\/span><span style=\"color: #E7EE98\">IN<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #E7EE98\">TXT<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">v=spf1 mx ip4:192.0.2.1 ~all<\/span><span style=\"color: #DEE492\">&quot;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># DKIM Record (\u0627\u0632 \u0641\u0627\u06cc\u0644 default.txt \u06a9\u067e\u06cc \u06a9\u0646\u06cc\u062f)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">default._domainkey.example.com.<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">IN<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #E7EE98\">TXT<\/span><span style=\"color: #F6F6F4\"> <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">v=DKIM1; k=rsa; p=MIGfMA0GCS...<\/span><span style=\"color: #DEE492\">&quot;<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #7B7F8B\"># DMARC Record<\/span><\/span>\n<span class=\"line\"><span style=\"color: #62E884\">_dmarc.example.com.<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #E7EE98\">IN<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #E7EE98\">TXT<\/span><span style=\"color: #F6F6F4\">  <\/span><span style=\"color: #DEE492\">&quot;<\/span><span style=\"color: #E7EE98\">v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com; ruf=mailto:dmarc@example.com; fo=1<\/span><span style=\"color: #DEE492\">&quot;<\/span><\/span><\/code><\/pre><span style=\"display:flex;align-items:flex-end;padding:10px;width:100%;justify-content:flex-start;background-color:#282A36;color:#ebebe6;font-size:12px;line-height:1;position:relative\"> <\/span><\/div>\n\n\n\n<div id=\"mail-server-comparison\"><\/div><h2 id=\"gspb_heading-id-gsbp-e910913\" class=\"gspb_heading gspb_heading-id-gsbp-e910913 \">\u062c\u062f\u0648\u0644 \u0645\u0642\u0627\u06cc\u0633\u0647 Mail Server \u062f\u0633\u062a\u06cc \u0648 cPanel<\/h2>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"has-fixed-layout\"><thead><tr><th class=\"has-text-align-center\" data-align=\"center\">\u0648\u06cc\u0698\u06af\u06cc<\/th><th class=\"has-text-align-center\" data-align=\"center\">\u0633\u0631\u0648\u0631 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc (Postfix\/Dovecot)<\/th><th class=\"has-text-align-center\" data-align=\"center\">cPanel Mail Server<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\">\u0647\u0632\u06cc\u0646\u0647<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0631\u0627\u06cc\u06af\u0627\u0646 (\u0641\u0642\u0637 \u0647\u0632\u06cc\u0646\u0647 \u0633\u0631\u0648\u0631)<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0647\u0632\u06cc\u0646\u0647 \u0628\u0627\u0644\u0627\u06cc \u0644\u0627\u06cc\u0633\u0646\u0633 \u0645\u0627\u0647\u0627\u0646\u0647<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\u0645\u0635\u0631\u0641 \u0645\u0646\u0627\u0628\u0639<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0628\u0633\u06cc\u0627\u0631 \u06a9\u0645 \u0648 \u0628\u0647\u06cc\u0646\u0647<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0628\u0627\u0644\u0627 (\u0628\u0647 \u062f\u0644\u06cc\u0644 \u0633\u0631\u0648\u06cc\u0633\u200c\u0647\u0627\u06cc \u0627\u0636\u0627\u0641\u06cc)<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\u0627\u0646\u0639\u0637\u0627\u0641\u200c\u067e\u0630\u06cc\u0631\u06cc<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0628\u06cc\u200c\u0646\u0647\u0627\u06cc\u062a (\u062f\u0633\u062a\u0631\u0633\u06cc \u0631\u0648\u062a)<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0645\u062d\u062f\u0648\u062f \u0628\u0647 \u0631\u0627\u0628\u0637 \u06a9\u0627\u0631\u0628\u0631\u06cc<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\u0633\u062e\u062a\u06cc \u0646\u06af\u0647\u062f\u0627\u0631\u06cc<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0645\u062a\u0648\u0633\u0637 (\u0646\u06cc\u0627\u0632 \u0628\u0647 \u062f\u0627\u0646\u0634 \u0644\u06cc\u0646\u0648\u06a9\u0633)<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0622\u0633\u0627\u0646 (\u06af\u0631\u0627\u0641\u06cc\u06a9\u06cc)<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\u0627\u0645\u0646\u06cc\u062a<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u06a9\u0646\u062a\u0631\u0644 \u06a9\u0627\u0645\u0644<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0645\u062d\u062f\u0648\u062f \u0628\u0647 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u067e\u06cc\u0634\u200c\u0641\u0631\u0636<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\u062a\u0639\u062f\u0627\u062f \u06a9\u0627\u0631\u0628\u0631<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0646\u0627\u0645\u062d\u062f\u0648\u062f<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u0645\u062d\u062f\u0648\u062f \u0628\u0647 \u0644\u0627\u06cc\u0633\u0646\u0633<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<div id=\"conclusion-mail-server-guide\"><\/div><h3 id=\"gspb_heading-id-gsbp-501f900\" class=\"gspb_heading gspb_heading-id-gsbp-501f900 \">\u0646\u062a\u06cc\u062c\u0647\u200c\u06af\u06cc\u0631\u06cc: \u0622\u0645\u0648\u0632\u0634 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 \u06cc\u0627 Mail Server<\/h3>\n\n\n\n<div id=\"gspb_text-id-gsbp-2f22fa2\" class=\"gspb_text gspb_text-id-gsbp-2f22fa2 \">\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u062c\u0627\u0645\u0639\u060c \u0645\u0627 \u0633\u0639\u06cc \u06a9\u0631\u062f\u06cc\u0645 <strong>\u0622\u0645\u0648\u0632\u0634 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 (Mail Server)<\/strong> \u0628\u0647 \u06a9\u0645\u06a9 Postfix, Dovecot, MySQL \u0631\u0627 \u0627\u0632 \u067e\u0627\u06cc\u0647 \u062a\u0627 \u0645\u0641\u0627\u0647\u06cc\u0645 \u067e\u06cc\u0634\u0631\u0641\u062a\u0647 \u0627\u0645\u0646\u06cc\u062a\u06cc \u067e\u0648\u0634\u0634 \u062f\u0647\u06cc\u0645. \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u06cc\u06a9 \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 \u0634\u0627\u06cc\u062f \u062f\u0631 \u0646\u06af\u0627\u0647 \u0627\u0648\u0644 \u062a\u0631\u0633\u0646\u0627\u06a9 \u0628\u0627\u0634\u062f\u060c \u0627\u0645\u0627 \u0622\u0632\u0627\u062f\u06cc \u0639\u0645\u0644 \u0648 \u0627\u0645\u0646\u06cc\u062a\u06cc \u06a9\u0647 \u0628\u0647 \u0627\u0631\u0645\u063a\u0627\u0646 \u0645\u06cc\u200c\u0622\u0648\u0631\u062f\u060c \u0627\u0631\u0632\u0634\u0634 \u0631\u0627 \u062f\u0627\u0631\u062f.<\/div>\n\n\n\n<div id=\"gspb_text-id-gsbp-d4df0cd\" class=\"gspb_text gspb_text-id-gsbp-d4df0cd \"><strong>\u062e\u0644\u0627\u0635\u0647 \u0622\u0645\u0648\u062e\u062a\u0647\u200c\u0647\u0627:<\/strong><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u2705 \u0646\u0635\u0628 \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc <strong>Postfix<\/strong> \u0628\u0631\u0627\u06cc \u0627\u0631\u0633\u0627\u0644 (SMTP) <\/li>\n\n\n\n<li>\u2705 \u0646\u0635\u0628 \u0648 \u067e\u06cc\u06a9\u0631\u0628\u0646\u062f\u06cc <strong>Dovecot<\/strong> \u0628\u0631\u0627\u06cc \u062f\u0631\u06cc\u0627\u0641\u062a (IMAP\/POP3) <\/li>\n\n\n\n<li>\u2705 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 <strong>MySQL<\/strong> \u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u06a9\u0627\u0631\u0628\u0631\u0627\u0646 \u0645\u062c\u0627\u0632\u06cc<\/li>\n\n\n\n<li>\u2705 \u0627\u0645\u0646\u06cc\u062a\u200c\u0633\u0627\u0632\u06cc \u0628\u0627 <strong>SSL\/TLS<\/strong><\/li>\n\n\n\n<li>\u2705 \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc <strong>DKIM<\/strong> \u0628\u0627 OpenDKIM <\/li>\n\n\n\n<li>\u2705 \u062a\u0646\u0638\u06cc\u0645 \u0631\u06a9\u0648\u0631\u062f\u0647\u0627\u06cc <strong>SPF<\/strong> \u0648 <strong>DMARC<\/strong><\/li>\n\n\n\n<li>\u2705 \u062a\u0633\u062a \u0648 \u0639\u06cc\u0628\u200c\u06cc\u0627\u0628\u06cc \u0633\u0631\u0648\u0631<\/li>\n<\/ul>\n\n\n\n<div id=\"gspb_text-id-gsbp-354ce50\" class=\"gspb_text gspb_text-id-gsbp-354ce50 \">\u0627\u06af\u0631 \u062f\u0631 \u0647\u0631 \u0645\u0631\u062d\u0644\u0647 \u0627\u0632 <strong>\u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644<\/strong> \u062f\u0686\u0627\u0631 \u0645\u0634\u06a9\u0644 \u0634\u062f\u06cc\u062f \u06cc\u0627 \u0646\u06cc\u0627\u0632 \u0628\u0647 \u0633\u0631\u0648\u0631\u06cc \u0642\u062f\u0631\u062a\u0645\u0646\u062f \u0628\u0627 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0641\u0646\u06cc \u062f\u0627\u0634\u062a\u06cc\u062f\u060c \u062a\u06cc\u0645 \u0641\u0646\u06cc <strong>\u0648\u0628\u200c\u062f\u0627\u062f\u0647<\/strong> \u0622\u0645\u0627\u062f\u0647 \u06a9\u0645\u06a9 \u0628\u0647 \u0634\u0645\u0627\u0633\u062a. \u0646\u0638\u0631\u0627\u062a \u0648 \u062a\u062c\u0631\u0628\u06cc\u0627\u062a \u062e\u0648\u062f \u0631\u0627 \u062f\u0631 \u067e\u0627\u06cc\u06cc\u0646 \u0647\u0645\u06cc\u0646 \u0635\u0641\u062d\u0647 \u0628\u0627 \u0645\u0627 \u0628\u0647 \u0627\u0634\u062a\u0631\u0627\u06a9 \u0628\u06af\u0630\u0627\u0631\u06cc\u062f.<\/div>\n\n\n\n<div id=\"mail-server-faq\"><\/div><h3 id=\"gspb_heading-id-gsbp-620c0d4\" class=\"gspb_heading gspb_heading-id-gsbp-620c0d4 \">\u0633\u0648\u0627\u0644\u0627\u062a \u0645\u062a\u062f\u0627\u0648\u0644 \u0627\u0632 \u0622\u0645\u0648\u0632\u0634 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 Postfix + Dovecot + MySQL<\/h3>\n\n\n\n<div class=\"wp-block-greenshift-blocks-accordion gs-accordion gspb_accordion-id-gsbp-1c83e2f togglelogic\" id=\"gspb_accordion-id-gsbp-1c83e2f\" itemscope itemtype=\"https:\/\/schema.org\/FAQPage\">\n<div class=\"wp-block-greenshift-blocks-accordionitem gs-accordion-item gspb_accordionitem-gsbp-38d760d gsopen\" id=\"gspb_accordionitem-gsbp-38d760d\" itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><div id=\"gs-trigger-gsbp-1c83e2f-0\" class=\"gs-accordion-item__title\" aria-expanded=\"true\" role=\"button\" tabindex=\"0\" aria-controls=\"gspb-accordion-item-content-gsbp-38d760d\"><h4 class=\"gs-accordion-item__heading\">1- \u0622\u06cc\u0627 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u062e\u0627\u0646\u06af\u06cc \u0627\u0645\u06a9\u0627\u0646\u200c\u067e\u0630\u06cc\u0631 \u0627\u0633\u062a\u061f<\/h4><meta itemprop=\"name\" content=\"1- \u0622\u06cc\u0627 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u062e\u0627\u0646\u06af\u06cc \u0627\u0645\u06a9\u0627\u0646\u200c\u067e\u0630\u06cc\u0631 \u0627\u0633\u062a\u061f\"\/><span class=\"iconfortoggle\"><span class=\"gs-iconbefore\"><\/span><span class=\"gs-iconafter\"><\/span><\/span><\/div><div aria-labelledby=\"gs-trigger-gsbp-1c83e2f-0\" class=\"gs-accordion-item__content\" itemscope itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\" id=\"gspb-accordion-item-content-gsbp-38d760d\" aria-hidden=\"false\"><div class=\"gs-accordion-item__text\" itemprop=\"text\">\n<p>\u062e\u06cc\u0631\u060c \u0627\u06a9\u062b\u0631 ISP\u0647\u0627\u06cc \u062e\u0627\u0646\u06af\u06cc \u067e\u0648\u0631\u062a 25 \u0631\u0627 \u0628\u0633\u062a\u0647\u200c\u0627\u0646\u062f \u0648 IP\u0647\u0627\u06cc \u062e\u0627\u0646\u06af\u06cc \u062f\u0631 \u0644\u06cc\u0633\u062a \u0633\u06cc\u0627\u0647 \u0627\u06a9\u062b\u0631 \u0633\u0631\u0648\u06cc\u0633\u200c\u062f\u0647\u0646\u062f\u0647\u200c\u0647\u0627 \u0642\u0631\u0627\u0631 \u062f\u0627\u0631\u0646\u062f. \u0634\u0645\u0627 \u062d\u062a\u0645\u0627\u064b \u0628\u0647 \u06cc\u06a9 VPS \u062f\u06cc\u062a\u0627\u0633\u0646\u062a\u0631\u06cc \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u06cc\u062f.<\/p>\n<\/div><\/div><\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-accordionitem gs-accordion-item gspb_accordionitem-gsbp-7ff5ada gsclose\" id=\"gspb_accordionitem-gsbp-7ff5ada\" itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><div id=\"gs-trigger-gsbp-1c83e2f-1\" class=\"gs-accordion-item__title\" aria-expanded=\"false\" role=\"button\" tabindex=\"0\" aria-controls=\"gspb-accordion-item-content-gsbp-7ff5ada\"><h4 class=\"gs-accordion-item__heading\">2- \u062a\u0641\u0627\u0648\u062a Postfix \u0648 Dovecot \u062f\u0642\u06cc\u0642\u0627\u064b \u0686\u06cc\u0633\u062a\u061f<\/h4><meta itemprop=\"name\" content=\"2- \u062a\u0641\u0627\u0648\u062a Postfix \u0648 Dovecot \u062f\u0642\u06cc\u0642\u0627\u064b \u0686\u06cc\u0633\u062a\u061f\"\/><span class=\"iconfortoggle\"><span class=\"gs-iconbefore\"><\/span><span class=\"gs-iconafter\"><\/span><\/span><\/div><div aria-labelledby=\"gs-trigger-gsbp-1c83e2f-1\" class=\"gs-accordion-item__content\" itemscope itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\" id=\"gspb-accordion-item-content-gsbp-7ff5ada\" aria-hidden=\"true\"><div class=\"gs-accordion-item__text\" itemprop=\"text\">\n<p>\u0628\u0647 \u0632\u0628\u0627\u0646 \u0633\u0627\u062f\u0647:<br><strong>Postfix<\/strong> \u0646\u0627\u0645\u0647\u200c\u0631\u0633\u0627\u0646 \u0627\u0633\u062a (\u0627\u06cc\u0645\u06cc\u0644 \u0631\u0627 \u0645\u06cc\u200c\u0628\u0631\u062f \u0648 \u0645\u06cc\u200c\u0622\u0648\u0631\u062f &#8211; SMTP)<\/p>\n\n\n\n<p><strong>Dovecot<\/strong> \u0635\u0646\u062f\u0648\u0642 \u067e\u0633\u062a\u06cc \u0627\u0633\u062a (\u0627\u06cc\u0645\u06cc\u0644 \u0631\u0627 \u0646\u06af\u0647 \u0645\u06cc\u200c\u062f\u0627\u0631\u062f \u062a\u0627 \u0634\u0645\u0627 \u0628\u062e\u0648\u0627\u0646\u06cc\u062f &#8211; IMAP\/POP3)<\/p>\n<\/div><\/div><\/div>\n\n\n\n<div class=\"wp-block-greenshift-blocks-accordionitem gs-accordion-item gspb_accordionitem-gsbp-ae64f67 gsclose\" id=\"gspb_accordionitem-gsbp-ae64f67\" itemscope itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><div id=\"gs-trigger-gsbp-1c83e2f-2\" class=\"gs-accordion-item__title\" aria-expanded=\"false\" role=\"button\" tabindex=\"0\" aria-controls=\"gspb-accordion-item-content-gsbp-ae64f67\"><h4 class=\"gs-accordion-item__heading\">3- \u0686\u06a9\u0627\u0631 \u06a9\u0646\u0645 \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627\u06cc\u0645 \u0627\u0633\u067e\u0645 \u0646\u0634\u0648\u062f\u061f<\/h4><meta itemprop=\"name\" content=\"3- \u0686\u06a9\u0627\u0631 \u06a9\u0646\u0645 \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627\u06cc\u0645 \u0627\u0633\u067e\u0645 \u0646\u0634\u0648\u062f\u061f\"\/><span class=\"iconfortoggle\"><span class=\"gs-iconbefore\"><\/span><span class=\"gs-iconafter\"><\/span><\/span><\/div><div aria-labelledby=\"gs-trigger-gsbp-1c83e2f-2\" class=\"gs-accordion-item__content\" itemscope itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\" id=\"gspb-accordion-item-content-gsbp-ae64f67\" aria-hidden=\"true\"><div class=\"gs-accordion-item__text\" itemprop=\"text\">\n<p>\u0639\u0644\u0627\u0648\u0647 \u0628\u0631 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0635\u062d\u06cc\u062d Postfix\u060c \u0628\u0627\u06cc\u062f:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0627\u0632 <strong>IP \u062a\u0645\u06cc\u0632<\/strong> \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f<\/li>\n\n\n\n<li>\u0631\u06a9\u0648\u0631\u062f\u0647\u0627\u06cc <strong>SPF<\/strong> \u0631\u0627 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0646\u06cc\u062f<\/li>\n\n\n\n<li><strong>DKIM<\/strong> \u0631\u0627 \u067e\u06cc\u0627\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f (OpenDKIM)<\/li>\n\n\n\n<li>\u0631\u06a9\u0648\u0631\u062f <strong>DMARC<\/strong> \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f<\/li>\n\n\n\n<li><strong>PTR (Reverse DNS)<\/strong> \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f<\/li>\n<\/ul>\n<\/div><\/div><\/div>\n<\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u062a\u062e\u0635\u0635\u06cc\u060c \u0646\u062d\u0648\u0647 \u0631\u0627\u0647\u200c\u0627\u0646\u062f\u0627\u0632\u06cc \u0648 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0633\u0631\u0648\u0631 \u0627\u06cc\u0645\u06cc\u0644 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc \u0631\u0627 \u0628\u0631 \u067e\u0627\u06cc\u0647 \u0633\u06cc\u0633\u062a\u0645\u200c\u0639\u0627\u0645\u0644 \u0644\u06cc\u0646\u0648\u06a9\u0633 \u06cc\u0627\u062f \u0645\u06cc\u200c\u06af\u06cc\u0631\u06cc\u062f. \u0645\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u067e\u0634\u062a\u0647 \u0642\u062f\u0631\u062a\u0645\u0646\u062f Postfix (\u0628\u0631\u0627\u06cc SMTP)\u060c Dovecot (\u0628\u0631\u0627\u06cc IMAP) \u0648 MySQL (\u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u06a9\u0627\u0631\u0628\u0631\u0627\u0646)\u060c \u06cc\u06a9 \u0632\u06cc\u0631\u0633\u0627\u062e\u062a \u0627\u06cc\u0645\u06cc\u0644 \u0633\u0627\u0632\u0645\u0627\u0646\u06cc \u0645\u06cc\u200c\u0633\u0627\u0632\u06cc\u0645. \u0627\u06cc\u0646 \u0631\u0627\u0647\u0646\u0645\u0627 \u0634\u0627\u0645\u0644 \u0646\u06a9\u0627\u062a \u0627\u0645\u0646\u06cc\u062a\u06cc SSL\/TLS\u060c \u062a\u0646\u0638\u06cc\u0645\u0627\u062a SPF\/DKIM\/DMARC \u0648 \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u0627\u0633\u067e\u0645 \u0634\u062f\u0646 \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627 \u062f\u0631 \u0633\u0627\u0644 2025 \u0627\u0633\u062a.<\/p>\n","protected":false},"author":2,"featured_media":26508,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_gspb_post_css":".gspb_text-id-gsbp-61dee3d{margin-bottom:18px!important}.gspb_container-id-gsbp-ece0ea6{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-07d9cc4.gspb_container>p:last-of-type,#gspb_container-id-gsbp-3090342.gspb_container>p:last-of-type,#gspb_container-id-gsbp-5edec11.gspb_container>p:last-of-type,#gspb_container-id-gsbp-71bc80f.gspb_container>p:last-of-type,#gspb_container-id-gsbp-ece0ea6.gspb_container>p:last-of-type{margin-bottom:0}#gspb_container-id-gsbp-ece0ea6.gspb_container{position:relative;padding:25px}@media (max-width:575.98px){#gspb_container-id-gsbp-ece0ea6.gspb_container{padding:10px}}#gspb_container-id-gsbp-ece0ea6.gspb_container{border-right-style:solid;border-right-width:5px;border-right-color:#00529eb0;background-color:#00529e1a}#gspb_container-id-gsbp-07d9cc4.gspb_container>.gspb_backgroundOverlay,#gspb_container-id-gsbp-ece0ea6.gspb_container,#gspb_container-id-gsbp-ece0ea6.gspb_container>.gspb_backgroundOverlay{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px}@media (max-width:575.98px){.gspb_text-id-gsbp-67df801{font-size:16px}}.gspb_text-id-gsbp-6b7955f{margin-bottom:22px!important}.gspb_container-id-gsbp-07d9cc4{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-07d9cc4.gspb_container{position:relative;padding:25px}@media (max-width:575.98px){#gspb_container-id-gsbp-07d9cc4.gspb_container{padding:10px}}#gspb_container-id-gsbp-07d9cc4.gspb_container{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;border-right-style:solid;border-right-width:5px;border-right-color:#00529eb0;background-color:#00529e1a}@media (max-width:575.98px){.gspb_text-id-gsbp-5a74183{font-size:16px}}.gspb_text-id-gsbp-5a74183{margin-bottom:0!important}.gspb_container-id-gsbp-3090342{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-3090342.gspb_container{position:relative;padding-top:10px;padding-bottom:10px}@media (min-width:992px){body.gspb-bodyfront #gspb_container-id-gsbp-3090342.gspb_container{display:none!important}}#gspb_heading-id-gsbp-4f2eab8{font-weight:700!important;margin-top:10px;margin-bottom:10px}.gs-autolist{margin:15px 0 30px;border:1px solid #dddddd7d}.gs-autolist-item{padding:15px 15px 15px 5px;display:flex;align-items:center}.gs-autolist-title,.gs-autolist-title a{font-size:18px;line-height:24px;text-decoration:none}.gs-autolist-item.gs_sub_heading{padding:10px 15px 10px 35px}#gspb_toc-id-gsbp-9ed45ff .gs-autolist-title a{color:var(--wp--preset--color--palette-color-2, var(--theme-palette-color-2, #00509d));font-size:16px;font-weight:400!important}#gspb_toc-id-gsbp-9ed45ff .gs-autolist-number{border-radius:50%;color:#fff;text-align:center;font-weight:700;color:var(--wp--preset--color--palette-color-2, var(--theme-palette-color-2, #00509d))}#gspb_toc-id-gsbp-9ed45ff .gs_sub_heading .gs-autolist-title a{font-size:16px}#gspb_toc-id-gsbp-9ed45ff{margin-top:2px;margin-bottom:2px}#gspb_toc-id-gsbp-9ed45ff .gs-autolist-item,#gspb_toc-id-gsbp-9ed45ff .gs-autolist-item.gs_sub_heading{margin-top:2px;margin-bottom:2px;padding-top:5px;padding-bottom:5px}#gspb_toc-id-gsbp-9ed45ff .gs-autolist-item.gs_sub_heading{margin-right:15px}#gspb_toc-id-gsbp-9ed45ff .gs-autolist{border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-right-radius:10px;border-bottom-left-radius:10px;border-style:solid;border-width:1px;border-color:#00000000}.gs-autolist-title,.gs-autolist-title a:hover{color:var(--wp--preset--color--palette-color-4, var(--theme-palette-color-4, #000000))!important}#gspb_toc-id-gsbp-9ed45ff .gs-autolist-number{background-color:var(--wp--preset--color--palette-color-2, var(--theme-palette-color-2, #00509d));height:7px!important;margin:0 0 0 10px!important;line-height:7px!important;width:7px!important;font-size:0!important;min-width:7px!important}#gspb_toc-id-gsbp-9ed45ff .gs_sub_heading .gs-autolist-number{font-size:0!important}#gspb_image-id-gsbp-edd158e img{vertical-align:top;display:inline-block;box-sizing:border-box;max-width:100%;height:auto}#gspb_heading-id-gsbp-326a305,#gspb_heading-id-gsbp-7e96b3d,#gspb_heading-id-gsbp-a333fef,#gspb_heading-id-gsbp-e749f68{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf))}.gspb_text-id-gsbp-735a1a6{margin-bottom:18px!important}.gspb_text-id-gsbp-bd40957{margin-bottom:12px!important}.gspb_text-id-gsbp-0e5d89d{margin-bottom:14px!important}.gspb_text-id-gsbp-101a901{margin-bottom:12px!important}.gspb_text-id-gsbp-222d60f{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf));margin-bottom:36px!important}.gspb_container-id-gsbp-5edec11{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-5edec11.gspb_container{position:relative;padding:25px}@media (max-width:575.98px){#gspb_container-id-gsbp-5edec11.gspb_container{padding:10px}}#gspb_container-id-gsbp-5edec11.gspb_container{border-right-style:solid;border-right-width:5px;border-right-color:#cf2d2d;background-color:#cf2d2d2b}#gspb_container-id-gsbp-5edec11.gspb_container,#gspb_container-id-gsbp-5edec11.gspb_container>.gspb_backgroundOverlay,#gspb_container-id-gsbp-71bc80f.gspb_container>.gspb_backgroundOverlay{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px}@media (max-width:575.98px){.gspb_text-id-gsbp-6e00b49{font-size:16px}}.gspb_text-id-gsbp-6e00b49{margin-bottom:0!important}.gspb_text-id-gsbp-5b29da4,.gspb_text-id-gsbp-754d98e{margin-bottom:8px!important}.gspb_text-id-gsbp-754d98e{margin-top:6px!important}.gspb_text-id-gsbp-6da00d2{margin-bottom:14px!important}.gspb_text-id-gsbp-a97361e{margin-bottom:12px!important}.gspb_text-id-gsbp-ccac7a5{margin-bottom:20px!important}.gspb_text-id-gsbp-4030deb{margin-top:0!important}#gspb_heading-id-gsbp-e749f68{margin-top:14px}#gspb_heading-id-gsbp-0298a56,#gspb_heading-id-gsbp-07bc549,#gspb_heading-id-gsbp-1a52a88,#gspb_heading-id-gsbp-6e0c493,#gspb_heading-id-gsbp-8797fce,#gspb_heading-id-gsbp-8a6e7a4,#gspb_heading-id-gsbp-bb37558,#gspb_heading-id-gsbp-e117258{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf))}.gspb_text-id-gsbp-3af58b7{margin-bottom:12px!important}.gspb_text-id-gsbp-31ecea0{margin-bottom:20px!important}.gspb_text-id-gsbp-ae53d9d{margin-bottom:26px!important}.gspb_text-id-gsbp-a18f61d{margin-bottom:16px!important}.gspb_text-id-gsbp-e569128{margin-top:0!important;margin-bottom:12px!important}.gspb_text-id-gsbp-83f879c{margin-bottom:22px!important}#gspb_heading-id-gsbp-8a6e7a4{margin-bottom:20px}.gspb_text-id-gsbp-1290b19{margin-bottom:16px!important}.gspb_text-id-gsbp-862e030{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf));margin-top:0!important;margin-bottom:12px!important}.gspb_text-id-gsbp-9014113{margin-bottom:14px!important}.gspb_text-id-gsbp-940e902{margin-bottom:12px!important}.gspb_text-id-gsbp-0d35a8d{margin-bottom:16px!important}.gspb_text-id-gsbp-c6c1a46,.gspb_text-id-gsbp-f48c6db{margin-bottom:22px!important}.gspb_text-id-gsbp-9afbd84{margin-bottom:16px!important}.gspb_text-id-gsbp-ef21417{margin-bottom:14px!important}.gspb_text-id-gsbp-a984ca4{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf));margin-bottom:22px!important}.gspb_text-id-gsbp-3b1abf7{margin-bottom:20px!important}.gspb_text-id-gsbp-3b819ee{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf));margin-top:0!important;margin-bottom:18px!important}.gspb_text-id-gsbp-1296a32{margin-bottom:12px!important}#gspb_heading-id-gsbp-1a41282,#gspb_heading-id-gsbp-52735e9,#gspb_heading-id-gsbp-6a7d04a,#gspb_heading-id-gsbp-e3e6045,#gspb_heading-id-gsbp-e910913,#gspb_heading-id-gsbp-f2fb36d,#gspb_heading-id-gsbp-f8b0dac{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf))}.gspb_text-id-gsbp-cb151ee{margin-bottom:26px!important}.gspb_text-id-gsbp-079fcdf{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf));margin-bottom:22px!important}.gspb_text-id-gsbp-d16f53d{margin-bottom:14px!important}.gspb_text-id-gsbp-5612d59{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf));margin-bottom:12px!important}.gspb_text-id-gsbp-8414417{margin-top:0!important;margin-bottom:6px!important}.gspb_text-id-gsbp-204a890,.gspb_text-id-gsbp-8414417,.gspb_text-id-gsbp-f061688{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf))}.gspb_text-id-gsbp-f061688{margin-top:0!important;margin-bottom:16px!important}.gspb_text-id-gsbp-204a890{margin-bottom:14px!important}.gspb_text-id-gsbp-12cea5a{margin-bottom:8px!important}.gspb_text-id-gsbp-d738bb9,.gspb_text-id-gsbp-e020982{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf));margin-bottom:10px!important}.gspb_text-id-gsbp-d738bb9{margin-bottom:12px!important}.gspb_container-id-gsbp-71bc80f{flex-direction:column;box-sizing:border-box}#gspb_container-id-gsbp-71bc80f.gspb_container{position:relative;padding:25px}@media (max-width:575.98px){#gspb_container-id-gsbp-71bc80f.gspb_container{padding:10px}}#gspb_container-id-gsbp-71bc80f.gspb_container{border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px;border-right-style:solid;border-right-width:5px;border-right-color:#00529eb0;background-color:#00529e1a}@media (max-width:575.98px){.gspb_text-id-gsbp-95e161d{font-size:16px}}.gspb_text-id-gsbp-95e161d{margin-bottom:0!important}.gspb_text-id-gsbp-e8a1dc8{margin-bottom:22px!important}.gspb_text-id-gsbp-b400ed0{margin-bottom:20px!important}.gspb_text-id-gsbp-8c24657{margin-bottom:2px!important}.gspb_text-id-gsbp-57cb252,.gspb_text-id-gsbp-b9576b4,.gspb_text-id-gsbp-bc00c39{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf));margin-top:6px!important;margin-bottom:8px!important}.gspb_text-id-gsbp-57cb252,.gspb_text-id-gsbp-b9576b4{margin-top:4px!important}.gspb_text-id-gsbp-b9576b4{margin-top:0!important}.gspb_text-id-gsbp-6e98307{margin-bottom:14px!important}.gspb_text-id-gsbp-54f479e{margin-bottom:12px!important}.gspb_text-id-gsbp-0eb5209,.gspb_text-id-gsbp-d0e45d6{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf));margin-bottom:6px!important}.gspb_text-id-gsbp-d0e45d6{margin-top:6px!important;margin-bottom:10px!important}.gspb_text-id-gsbp-b7a21d6{margin-top:20px!important;margin-bottom:12px!important}.gspb_text-id-gsbp-b9ece28{margin-top:10px!important;margin-bottom:6px!important}.gspb_text-id-gsbp-b52a652,.gspb_text-id-gsbp-dbe0584{margin-bottom:8px!important}.gspb_text-id-gsbp-abe7f86{margin-bottom:12px!important}.gspb_text-id-gsbp-25e832c{margin-bottom:8px!important}.gspb_text-id-gsbp-a57c3d4,.gspb_text-id-gsbp-f8be099{margin-bottom:14px!important}.gspb_text-id-gsbp-afba67f{margin-bottom:12px!important}#gspb_heading-id-gsbp-e910913{margin-bottom:18px}#gspb_heading-id-gsbp-501f900,#gspb_heading-id-gsbp-620c0d4{color:var(--wp--preset--color--palette-color-1, var(--theme-palette-color-1, #106abf))}.gspb_text-id-gsbp-2f22fa2{margin-bottom:18px!important}.gspb_text-id-gsbp-d4df0cd{margin-bottom:16px!important}.gspb_text-id-gsbp-354ce50{margin-bottom:28px!important}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item.gsclose>.gs-accordion-item__content{overflow:hidden;opacity:0}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item.gsopen>.gs-accordion-item__content{opacity:1;max-height:5000px}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__title>.gs-accordion-item__heading{outline:0;text-decoration:none;margin:0!important;padding:0!important;flex-grow:1}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__title{z-index:1;margin:0;cursor:pointer;transition:all .3s ease-in-out;position:relative;display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__content{z-index:0;position:relative;max-height:0;will-change:max-height;transition:all .25s ease-out}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__title{background-color:var(--wp--preset--color--palette-color-6, var(--theme-palette-color-6, #f2f5f7));border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-right-radius:10px;border-bottom-left-radius:10px;font-size:18px;font-weight:400!important}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item__title>*{font-size:18px;font-weight:400!important}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item.gsopen>.gs-accordion-item__title{background-color:var(--wp--preset--color--palette-color-5, var(--theme-palette-color-5, #e1e8ed));border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-right-radius:10px;border-bottom-left-radius:10px;font-weight:400!important}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item.gsopen>.gs-accordion-item__title>*{font-weight:400!important}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__content{border-top-left-radius:10px;border-top-right-radius:10px;border-bottom-right-radius:10px;border-bottom-left-radius:10px;border-top-style:solid;border-top-width:1px;border-top-color:#00000000}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__title span.iconfortoggle{margin-left:15px;display:inline-block;height:14px;width:14px;position:relative}#gspb_accordion-id-gsbp-1c83e2f,#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item{margin-top:5px;margin-bottom:5px}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__title{padding:15px 20px;text-align:right;flex-direction:row-reverse}#gspb_accordion-id-gsbp-1c83e2f .gs-accordion-item>.gs-accordion-item__content>.gs-accordion-item__text{padding:20px}.gs-accordion .gs-accordion-item.gsopen .gs-accordion-item__title .gs-iconafter{transform:rotate(0)}.gs-accordion .gs-accordion-item__title span.iconfortoggle .gs-iconafter,.gs-accordion .gs-accordion-item__title span.iconfortoggle .gs-iconbefore{content:'';width:14px;height:2px;border-radius:2px;background-color:#111;position:absolute;top:6px;left:0}.gs-accordion .gs-accordion-item__title span.iconfortoggle .gs-iconafter{transform:rotate(90deg);transition:all .3s ease-in-out}","footnotes":""},"categories":[29],"tags":[],"class_list":["post-26413","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server-training"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/posts\/26413","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/comments?post=26413"}],"version-history":[{"count":95,"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/posts\/26413\/revisions"}],"predecessor-version":[{"id":27392,"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/posts\/26413\/revisions\/27392"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/media\/26508"}],"wp:attachment":[{"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/media?parent=26413"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/categories?post=26413"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webdade.com\/blog\/wp-json\/wp\/v2\/tags?post=26413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}