{"id":4297,"date":"2015-04-26T11:46:34","date_gmt":"2015-04-26T07:16:34","guid":{"rendered":"https:\/\/parspack.com\/%d8%a2%d9%85%d9%88%d8%b2%d8%b4-%d9%86%d8%b5%d8%a8-%d9%88-%da%a9%d8%a7%d9%86%d9%81%db%8c%da%af-%d9%85%db%8c%d9%84-%d8%b3%d8%b1%d9%88%d8%b1-%d8%a7%da%af%d8%b2%db%8c%d9%85-exim-4-%d9%88-%d8%a7%d8%aa-2\/"},"modified":"2025-03-09T11:17:22","modified_gmt":"2025-03-09T07:47:22","slug":"how-to-install-exim4-mailserver","status":"publish","type":"post","link":"https:\/\/parspack.com\/blog\/hosting\/learn-server\/how-to-install-exim4-mailserver","title":{"rendered":"\u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0648 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0645\u06cc\u0644 \u0633\u0631\u0648\u0631 \u0627\u06af\u0632\u06cc\u0645 exim 4 \u0648 \u0627\u062a\u0635\u0627\u0644 \u0622\u0646 \u0628\u0647 SMTP server \u062e\u0627\u0631\u062c\u06cc \u062f\u0631 \u062f\u0628\u06cc\u0627\u0646 \u0648 \u0627\u0648\u0628\u0648\u0646\u062a\u0648"},"content":{"rendered":"<p dir=\"rtl\" style=\"text-align: justify;\">\u067e\u06cc\u0634\u062a\u0631 \u062f\u0631 \u0645\u062c\u0645\u0648\u0639\u0647 \u0645\u0642\u0627\u0644\u0627\u062a <a title=\"\u0622\u0645\u0648\u0632\u0634 \u06a9\u0627\u0631 \u0628\u0627 \u0633\u0631\u0648\u0631\" href=\"\/blog\/hosting\/learn-server\" target=\"_blank\" rel=\"noopener\"> \u0622\u0645\u0648\u0632\u0634 \u0633\u0631\u0648\u0631 <\/a> \u060c \u06af\u0630\u0627\u0631\u06cc \u0628\u0631 \u0645\u06cc\u0644 \u0633\u0631\u0648\u0631 ( mail server\u00a0 ) \u0645\u0639\u0631\u0648\u0641 exim \u062f\u0627\u0634\u062a\u06cc\u0645 \u0648 \u0628\u0631\u062e\u06cc \u0627\u0632 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u067e\u0631\u06a9\u0627\u0631\u0628\u0631\u062f \u0622\u0646 \u0645\u0639\u0631\u0641\u06cc \u06af\u0631\u062f\u06cc\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0646\u06cc\u0632 \u0628\u0647 \u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc exim4 \u062f\u0631 \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 Debian base \u0645\u0627\u0646\u0646\u062f \u0627\u0648\u0628\u0648\u0646\u062a\u0648 ( Ubuntu ) \u0648 \u0646\u062d\u0648\u0647 \u062a\u0646\u0638\u06cc\u0645 \u0648 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0622\u0646 \u0628\u0627 \u06cc\u06a9 smtp \u0633\u0631\u0648\u0631 \u062e\u0627\u0631\u062c\u06cc \u062e\u0648\u0627\u0647\u06cc\u0645 \u067e\u0631\u062f\u0627\u062e\u062a. Exim \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u0627\u0631\u0633\u0627\u0644 \u0648 \u062f\u0631\u06cc\u0627\u0641\u062a \u0627\u06cc\u0645\u06cc\u0644 \u0645\u0628\u062a\u0646\u06cc \u0628\u0631 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0634\u0628\u0647 \u06cc\u0648\u0646\u06cc\u06a9\u0633 \u0627\u0633\u062a \u0648 \u062a\u062d\u062a \u0645\u062c\u0648\u0632 GPL \u0627\u0631\u0627\u0626\u0647 \u0645\u06cc \u0634\u0648\u062f \u0648 \u067e\u06cc\u0634\u06cc\u0646\u0647 \u0622\u0646 \u0628\u0647 \u0633\u0627\u0644 1995 \u0628\u0631 \u0645\u06cc\u06af\u0631\u062f\u062f. \u062f\u0631 \u0622\u0646 \u0633\u0627\u0644 Philip hazel \u0628\u0631\u0627\u06cc \u0633\u0631\u0648\u06cc\u0633 \u0645\u062d\u0627\u0633\u0628\u0627\u062a\u06cc \u062f\u0627\u0646\u0634\u06af\u0627\u0647 \u06a9\u0645\u0628\u0631\u06cc\u062c \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u062a\u0628\u0627\u062f\u0644 \u0627\u06cc\u0645\u06cc\u0644 \u0633\u0627\u062e\u062a \u06a9\u0647 \u0627\u062d\u062a\u0645\u0627\u0644\u0627 \u0647\u06cc\u0686\u06af\u0627\u0647 \u06af\u0645\u0627\u0646 \u0646\u0645\u06cc \u0628\u0631\u062f \u06a9\u0647 \u0627\u06cc\u0646 \u0633\u06cc\u0633\u062a\u0645 \u0628\u0647 \u06cc\u06a9\u06cc \u0627\u0632 \u0631\u0627\u06cc\u062c \u062a\u0631\u06cc\u0646 \u0633\u06cc\u0633\u062a\u0645 \u0647\u0627\u06cc \u062a\u0628\u0627\u062f\u0644 \u0627\u06cc\u0645\u06cc\u0644 \u0644\u06cc\u0646\u0648\u06a9\u0633\u06cc ( SMTP server ) \u0628\u062f\u0644 \u0634\u0648\u062f.\u00a0 \u0644\u0627\u0632\u0645 \u0628\u0647 \u0630\u06a9\u0631 \u0627\u0633\u062a \u06a9\u0647 \u062a\u0627\u0632\u0647 \u062a\u0631\u06cc\u0646 \u0646\u0633\u062e\u0647 \u0627\u0631\u0627\u0626\u0647 \u0634\u062f\u0647 \u0627\u0632 \u0627\u06cc\u0646 \u0633\u0631\u0648\u06cc\u0633 \u062f\u0631 \u0632\u0645\u0627\u0646 \u0627\u06cc\u0646 \u0646\u0648\u0634\u062a\u0627\u0631 \u0648\u06cc\u0631\u0627\u06cc\u0634 4.85 \u0627\u0633\u062a\u060c \u0627\u0632 \u0647\u0645\u06cc\u0646 \u0631\u0648 \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0627\u0632 \u0646\u0633\u062e\u0647 4 \u0627\u06cc\u0646 \u0633\u0631\u0648\u06cc\u0633 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u062e\u0648\u0627\u0647\u062f \u0634\u062f.<\/p>\n<div class=\"info-box-section\">\n<h2 class=\"title\">\u062e\u0631\u06cc\u062f \u0633\u0631\u0648\u0631 \u067e\u0627\u0631\u0633 \u067e\u06a9: \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc 24 \u0633\u0627\u0639\u062a\u0647 \u062f\u0631 7 \u0631\u0648\u0632 \u0647\u0641\u062a\u0647<\/h2>\n<p class=\"description\">\u0628\u0627 \u062e\u0631\u06cc\u062f \u0633\u0631\u0648\u0631 \u067e\u0627\u0631\u0633 \u067e\u06a9\u060c \u0627\u0632 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc 24 \u0633\u0627\u0639\u062a\u0647 \u062f\u0631 7 \u0631\u0648\u0632 \u0647\u0641\u062a\u0647 \u0628\u0647\u0631\u0647\u200c\u0645\u0646\u062f \u0634\u0648\u06cc\u062f.<\/p>\n<div class=\"button-container\"><a class=\"button\" href=\"https:\/\/parspack.com\/servers\">\u062e\u0631\u06cc\u062f \u0633\u0631\u0648\u0631<\/a><\/div>\n<\/div>\n<h2 dir=\"rtl\" style=\"direction: rtl;\"><span style=\"color: #3366ff;\">\u0627\u0648\u0644\u06cc\u0646 \u06af\u0627\u0645 \u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0628\u0647 \u062c\u062f\u06cc\u062f\u062a\u0631\u06cc\u0646 \u0646\u0633\u062e\u0647 \u0627\u0633\u062a:<\/span><\/h2>\n<blockquote><p>apt-get update<br \/>\napt-get upgrade<\/p><\/blockquote>\n<p dir=\"rtl\" style=\"direction: rtl;\">\u067e\u0633 \u0627\u0632 \u0628\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 \u0627\u0642\u062f\u0627\u0645 \u0628\u0647 \u0646\u0635\u0628 \u0622\u062e\u0631\u06cc\u0646 \u0646\u0633\u062e\u0647 \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06af\u0632\u06cc\u0645 \u0645\u06cc \u0646\u0645\u0627\u06cc\u06cc\u0645:<\/p>\n<blockquote><p>apt-get install exim4<\/p><\/blockquote>\n<h4 dir=\"rtl\" style=\"text-align: justify; direction: rtl;\"><span style=\"color: #000080;\">\u062f\u0631 \u0633\u0648\u0645\u06cc\u0646 \u06af\u0627\u0645 \u0627\u0642\u062f\u0627\u0645 \u0628\u0647 \u067e\u06cc\u06a9\u0631\u0647 \u0628\u0646\u062f\u06cc \u0627\u06af\u0632\u06cc\u0645 4 \u062e\u0648\u0627\u0647\u06cc\u0645 \u0646\u0645\u0648\u062f \u062a\u0627 \u0627\u0632 \u06cc\u06a9 Smart SMTP host \u0628\u0627 \u0646\u0627\u0645 smarthost.domain.tld \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u062f.\u067e\u06cc\u06a9\u0631\u0647 \u0628\u0646\u062f\u06cc \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0628\u062f\u06cc\u0646 \u0634\u0631\u062d \u0627\u0633\u062a:<\/span><\/h4>\n<blockquote><p>cp \/etc\/exim4\/update-exim4.conf.conf{,.orig}<br \/>\ncat &gt; \/etc\/exim4\/update-exim4.conf.conf dc_eximconfig_configtype=&#8217;satellite&#8217;<br \/>\ndc_other_hostnames=&#8217;host.domain.tld&#8217;<br \/>\ndc_local_interfaces=&#8217;127.0.0.1&#8242;<br \/>\ndc_readhost=&#8217;host.domain.tld&#8217;<br \/>\ndc_relay_domains=&#8221;<br \/>\ndc_minimaldns=&#8217;false&#8217;<br \/>\ndc_relay_nets=&#8221;<br \/>\ndc_smarthost=&#8217;smarthost.domain.tld&#8217;<br \/>\nCFILEMODE=&#8217;644&#8242;<br \/>\ndc_use_split_config=&#8217;false&#8217;<br \/>\ndc_hide_mailname=&#8217;true&#8217;<br \/>\ndc_mailname_in_oh=&#8217;true&#8217;<br \/>\ndc_localdelivery=&#8217;mail_spool&#8217;<\/p><\/blockquote>\n<h4 dir=\"rtl\" style=\"text-align: justify; direction: rtl;\"><span style=\"color: #000080;\">\u0644\u0627\u0632\u0645 \u0628\u0647 \u0630\u06a9\u0631 \u0627\u0633\u062a \u06a9\u0647 \u0639\u0628\u0627\u0631\u062a host.domain.tld \u0628\u0627\u06cc\u0633\u062a\u06cc \u0628\u0627 \u06cc\u06a9 \u0646\u0627\u0645 \u0647\u0627\u0633\u062a \u0648\u0627\u0642\u0639\u06cc \u0648 \u0639\u0628\u0627\u0631\u062a smarthost.domain.tld \u0628\u0627 \u06cc\u06a9 smart smtp\u00a0host \u062d\u0642\u06cc\u0642\u06cc \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0634\u0648\u062f.<\/span><\/h4>\n<p style=\"direction: rtl;\">\u0628\u0627 \u067e\u06cc\u06a9\u0631\u0647 \u0628\u0646\u062f\u06cc \u0627\u0631\u0627\u0626\u0647 \u0634\u062f\u0647 \u060c \u062f\u0633\u062a\u0648\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0627\u062c\u0631\u0627 \u0646\u0645\u0627\u06cc\u06cc\u062f \u062a\u0627 \u0641\u0627\u06cc\u0644 \u0647\u0627\u06cc \u067e\u06cc\u06a9\u0631\u0647 \u0628\u0646\u062f\u06cc exim4 \u0627\u06cc\u062c\u0627\u062f \u06af\u0631\u062f\u062f.<\/p>\n<blockquote><p>sudo update-exim4.conf<\/p><\/blockquote>\n<p style=\"direction: rtl;\">\u062d\u0627\u0644 \u0628\u0627 \u0631\u06cc\u0633\u062a\u0627\u0631\u062a \u06a9\u0631\u062f\u0646 \u0633\u0631\u0648\u06cc\u0633 exim4 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0627\u0639\u0645\u0627\u0644 \u0634\u062f\u0647 \u0627\u062c\u0631\u0627\u06cc\u06cc \u062e\u0648\u0627\u0647\u0646\u062f \u0634\u062f:<\/p>\n<blockquote><p>service exim4 restart<br \/>\nupdate-rc.d exim4 enable<\/p><\/blockquote>\n<p style=\"direction: rtl;\">\u00a0\u0633\u067e\u0633 \u0646\u0648\u0628\u062a \u0628\u0647 \u0627\u06cc\u062c\u0627\u062f \u062f\u0633\u062a\u0631\u0633\u06cc \u0627\u06cc\u0646 \u0647\u0627\u0633\u062a \u0628\u0631\u0627\u06cc \u0627\u0631\u062a\u0628\u0627\u0637 \u0627\u0632\u00a0smart smtp server \u0627\u0633\u062a. \u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u0627\u0632 \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u067e\u0627\u06cc\u0647 \u0627\u06cc mail server \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0646\u0645\u0627\u06cc\u06cc\u062f \u060c \u06a9\u0627\u0641\u06cc\u0633\u062a \u062a\u0627 \u0628\u0647 \u0633\u0627\u062f\u06af\u06cc \u0633\u0637\u0631 \u0632\u06cc\u0631 \u0631\u0627 \u0648\u0627\u0631\u062f \u0646\u0645\u0627\u06cc\u06cc\u062f:<\/p>\n<blockquote><p>echo host.domain.tld &gt;&gt; \/etc\/mail\/whitelist_hosts<\/p><\/blockquote>\n<p style=\"direction: rtl;\">\u0645\u0631\u0627\u062d\u0644 \u0628\u0647 \u0627\u062a\u0645\u0627\u0645 \u0631\u0633\u06cc\u062f\u0647 \u0627\u0633\u062a \u0648 \u062d\u0627\u0644 \u06a9\u0627\u0641\u06cc \u0627\u0633\u062a \u0628\u0645\u0646\u0638\u0648\u0631 \u0628\u0631\u0631\u0633\u06cc \u0635\u062d\u062a \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u0645\u0631\u0627\u062d\u0644 \u0630\u06cc\u0644 \u0631\u0627 \u0637\u06cc \u06a9\u0646\u06cc\u062f:<\/p>\n<blockquote><p>echo testing | mail -s testing <a href=\"mailto:youremail@gmail.com\">youremail@gmail.com<\/a><br \/>\ntail -100 \/var\/log\/exim4\/mainlog<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u067e\u06cc\u0634\u062a\u0631 \u062f\u0631 \u0645\u062c\u0645\u0648\u0639\u0647 \u0645\u0642\u0627\u0644\u0627\u062a \u0622\u0645\u0648\u0632\u0634 \u0633\u0631\u0648\u0631 \u060c \u06af\u0630\u0627\u0631\u06cc \u0628\u0631 \u0645\u06cc\u0644 \u0633\u0631\u0648\u0631 ( mail server\u00a0 ) \u0645\u0639\u0631\u0648\u0641 exim \u062f\u0627\u0634\u062a\u06cc\u0645 \u0648 \u0628\u0631\u062e\u06cc \u0627\u0632 \u062f\u0633\u062a\u0648\u0631\u0627\u062a \u067e\u0631\u06a9\u0627\u0631\u0628\u0631\u062f \u0622\u0646 \u0645\u0639\u0631\u0641\u06cc \u06af\u0631\u062f\u06cc\u062f. \u062f\u0631 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0646\u06cc\u0632 \u0628\u0647 \u0622\u0645\u0648\u0632\u0634 \u0646\u0635\u0628 \u0648 \u0631\u0627\u0647 \u0627\u0646\u062f\u0627\u0632\u06cc exim4 \u062f\u0631 \u06cc\u06a9 \u0633\u06cc\u0633\u062a\u0645 \u0639\u0627\u0645\u0644 Debian base \u0645\u0627\u0646\u0646\u062f \u0627\u0648\u0628\u0648\u0646\u062a\u0648 ( Ubuntu ) \u0648 \u0646\u062d\u0648\u0647 \u062a\u0646\u0638\u06cc\u0645 \u0648 \u06a9\u0627\u0646\u0641\u06cc\u06af \u0622\u0646 \u0628\u0627 [&hellip;]<\/p>\n","protected":false},"author":30,"featured_media":35624,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-4297","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-learn-server"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/posts\/4297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/users\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/comments?post=4297"}],"version-history":[{"count":2,"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/posts\/4297\/revisions"}],"predecessor-version":[{"id":52745,"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/posts\/4297\/revisions\/52745"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/media\/35624"}],"wp:attachment":[{"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/media?parent=4297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/categories?post=4297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/parspack.com\/blog\/wp-json\/wp\/v2\/tags?post=4297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}