顯示具有 免費郵件伺服器 標籤的文章。 顯示所有文章
顯示具有 免費郵件伺服器 標籤的文章。 顯示所有文章

2023年3月7日 星期二

[研究]Exim 4.96 Free Mail Server 免費郵件伺服器安裝 (Rocky Linux 9.1/CentOS)

[研究]Exim 4.96 Free Mail Server 免費郵件伺服器安裝 (Rocky Linux 9.1/CentOS)

2023-03-07

測試Rocky Linux,而CentOS沒有實際測,理論上成功機率應該很高。

Exim Internet Mailer 官方網站
https://www.exim.org/

根據這裡資訊,exim 是目前排名第一佔有率的 Mail Server,勝過 Postfix 和 sendmail。

Mail (MX) Server Survey February 1st, 2023
https://secure1.securityspace.com/s_survey/data/man.202301/mxsurvey.html

預設 yum 是沒有提供 exim。

[user1@localhost ~]$ sudo yum -y install exim

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for user1: 
Rocky Linux 9 - BaseOS                          536 kB/s | 1.8 MB     00:03    
Rocky Linux 9 - AppStream                              1.3 MB/s | 6.6 MB     00:05    
Rocky Linux 9 - Extras                                 3.1 kB/s | 8.5 kB     00:02    
No match for argument: exim
Error: Unable to find a match: exim
[user1@localhost ~]$ 

先安裝epel-release到最新版

[user1@localhost ~]$ sudo yum -y install epel-release
Last metadata expiration check: 0:01:52 ago on Tue 07 Mar 2023 08:42:56 AM CST.
Dependencies resolved.
=======================================================================================
 Package                 Architecture      Version             Repository         Size
=======================================================================================
Installing:
 epel-release            noarch            9-4.el9             extras             19 k

Transaction Summary
=======================================================================================
Install  1 Package

Total download size: 19 k
Installed size: 25 k
Downloading Packages:
epel-release-9-4.el9.noarch.rpm                        242 kB/s |  19 kB     00:00    
---------------------------------------------------------------------------------------
Total                                                   20 kB/s |  19 kB     00:00     
Rocky Linux 9 - Extras                                 1.7 MB/s | 1.7 kB     00:00    
Importing GPG key 0x350D275D:
 Userid     : "Rocky Enterprise Software Foundation - Release key 2022 <releng@rockylinux.org>"
 Fingerprint: 21CB 256A E16F C54C 6E65 2949 702D 426D 350D 275D
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                               1/1 
  Installing       : epel-release-9-4.el9.noarch                                   1/1 
  Running scriptlet: epel-release-9-4.el9.noarch                                   1/1 
Many EPEL packages require the CodeReady Builder (CRB) repository.
It is recommended that you run /usr/bin/crb enable to enable the CRB repository.

  Verifying        : epel-release-9-4.el9.noarch                                   1/1 

Installed:
  epel-release-9-4.el9.noarch                                                          

Complete!
[user1@localhost ~]$ sudo yum -y install epel-release
Extra Packages for Enterprise Linux 9 - x86_64         2.8 MB/s |  14 MB     00:05    
Last metadata expiration check: 0:00:06 ago on Tue 07 Mar 2023 08:44:55 AM CST.
Package epel-release-9-4.el9.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[user1@localhost ~]$ 

[user1@localhost ~]$ sudo yum -y install exim
Last metadata expiration check: 0:00:33 ago on Tue 07 Mar 2023 08:44:55 AM CST.
Dependencies resolved.
=======================================================================================
 Package              Arch      Version                             Repository    Size
=======================================================================================
Installing:
 exim                 x86_64    4.96-5.el9                          epel         1.5 M
Installing dependencies:
 libbsd               x86_64    0.11.7-2.el9                        epel         111 k
 libgsasl             x86_64    1.10.0-3.el9                        epel         154 k
 libidn               x86_64    1.38-4.el9                          epel         191 k
 libmd                x86_64    1.0.4-2.el9                         epel          38 k
 libnsl2              x86_64    2.0.0-1.el9                         appstream     30 k
 libntlm              x86_64    1.6-4.el9                           epel          91 k
 libopendmarc         x86_64    1.4.2-10.el9                        epel          31 k
 libspf2              x86_64    1.2.11-1.20210922git4915c308.el9    epel          68 k
Installing weak dependencies:
 publicsuffix-list    noarch    20210518-3.el9                      appstream     82 k

Transaction Summary
=======================================================================================
Install  10 Packages

Total download size: 2.2 M
Installed size: 7.2 M
Downloading Packages:
(1/10): libbsd-0.11.7-2.el9.x86_64.rpm                 389 kB/s | 111 kB     00:00    
(2/10): libgsasl-1.10.0-3.el9.x86_64.rpm               423 kB/s | 154 kB     00:00    
(3/10): libidn-1.38-4.el9.x86_64.rpm                   1.8 MB/s | 191 kB     00:00    
(4/10): libmd-1.0.4-2.el9.x86_64.rpm                   743 kB/s |  38 kB     00:00    
(5/10): libntlm-1.6-4.el9.x86_64.rpm                   1.6 MB/s |  91 kB     00:00    
(6/10): libopendmarc-1.4.2-10.el9.x86_64.rpm           381 kB/s |  31 kB     00:00    
(7/10): libspf2-1.2.11-1.20210922git4915c308.el9.x86_6 1.1 MB/s |  68 kB     00:00    
(8/10): libnsl2-2.0.0-1.el9.x86_64.rpm                 188 kB/s |  30 kB     00:00    
(9/10): publicsuffix-list-20210518-3.el9.noarch.rpm    531 kB/s |  82 kB     00:00    
(10/10): exim-4.96-5.el9.x86_64.rpm                    868 kB/s | 1.5 MB     00:01    
---------------------------------------------------------------------------------------
Total                                                  522 kB/s | 2.2 MB     00:04     
Extra Packages for Enterprise Linux 9 - x86_64         1.6 MB/s | 1.6 kB     00:00    
Importing GPG key 0x3228467C:
 Userid     : "Fedora (epel9) <epel@fedoraproject.org>"
 Fingerprint: FF8A D134 4597 106E CE81 3B91 8A38 72BF 3228 467C
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-9
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                               1/1 
  Installing       : libspf2-1.2.11-1.20210922git4915c308.el9.x86_64              1/10 
  Installing       : publicsuffix-list-20210518-3.el9.noarch                      2/10 
  Installing       : libnsl2-2.0.0-1.el9.x86_64                                   3/10 
  Installing       : libntlm-1.6-4.el9.x86_64                                     4/10 
  Installing       : libmd-1.0.4-2.el9.x86_64                                     5/10 
  Installing       : libbsd-0.11.7-2.el9.x86_64                                   6/10 
  Installing       : libopendmarc-1.4.2-10.el9.x86_64                             7/10 
  Installing       : libidn-1.38-4.el9.x86_64                                     8/10 
  Installing       : libgsasl-1.10.0-3.el9.x86_64                                 9/10 
  Running scriptlet: exim-4.96-5.el9.x86_64                                      10/10 
  Installing       : exim-4.96-5.el9.x86_64                                      10/10 
  Running scriptlet: exim-4.96-5.el9.x86_64                                      10/10 
  Verifying        : exim-4.96-5.el9.x86_64                                       1/10 
  Verifying        : libbsd-0.11.7-2.el9.x86_64                                   2/10 
  Verifying        : libgsasl-1.10.0-3.el9.x86_64                                 3/10 
  Verifying        : libidn-1.38-4.el9.x86_64                                     4/10 
  Verifying        : libmd-1.0.4-2.el9.x86_64                                     5/10 
  Verifying        : libntlm-1.6-4.el9.x86_64                                     6/10 
  Verifying        : libopendmarc-1.4.2-10.el9.x86_64                             7/10 
  Verifying        : libspf2-1.2.11-1.20210922git4915c308.el9.x86_64              8/10 
  Verifying        : libnsl2-2.0.0-1.el9.x86_64                                   9/10 
  Verifying        : publicsuffix-list-20210518-3.el9.noarch                     10/10 

Installed:
  exim-4.96-5.el9.x86_64                                                               
  libbsd-0.11.7-2.el9.x86_64                                                           
  libgsasl-1.10.0-3.el9.x86_64                                                         
  libidn-1.38-4.el9.x86_64                                                             
  libmd-1.0.4-2.el9.x86_64                                                             
  libnsl2-2.0.0-1.el9.x86_64                                                           
  libntlm-1.6-4.el9.x86_64                                                             
  libopendmarc-1.4.2-10.el9.x86_64                                                     
  libspf2-1.2.11-1.20210922git4915c308.el9.x86_64                                      
  publicsuffix-list-20210518-3.el9.noarch                                              

Complete!
[user1@localhost ~]$ 


文件目錄

[user1@localhost ~]$ ls /usr/share/doc/exim/
ACKNOWLEDGMENTS  doc  README  README.UPDATING  unknownuser.sh
[user1@localhost ~]$ ls /usr/share/doc/exim/doc
ChangeLog            DANE-draft-notes  experimental-spec.txt  OptionLists.txt
cve-2016-9663.txt    dbm.discuss.txt   filter.txt             README
cve-2019-13917.txt   Exim3.upgrade     GnuTLS-FAQ.txt         README.SIEVE
cve-2019-15846       Exim4.upgrade     NewStuff               spec.txt
cve-2020-qualys.txt  exim.8            openssl.txt
[user1@localhost ~]$ 

相關目錄

[user1@localhost ~]$ sudo find / -name exim -print
[sudo] password for user1: 
find: ‘/run/user/1000/gvfs’: Permission denied
/etc/pam.d/exim
/etc/logrotate.d/exim
/etc/sysconfig/exim
/etc/exim
/var/lib/selinux/targeted/active/modules/100/exim
/var/log/exim
/var/spool/exim
/usr/sbin/exim
/usr/lib64/exim
/usr/share/licenses/exim
/usr/share/doc/exim
[user1@localhost ~]$ 

設定檔: /etc/exim/exim.conf

啟動:sudo systemctl start exim

系統啟動時自動啟動 Exim 服務:sudo systemctl enable exim

檢查狀態:sudo systemctl status exim

[user1@localhost ~]$ sudo systemctl start exim
[sudo] password for user1: 

[user1@localhost ~]$ sudo systemctl enable exim
Created symlink /etc/systemd/system/multi-user.target.wants/exim.service → /usr/lib/systemd/system/exim.service.

[user1@localhost ~]$ sudo systemctl status exim
● exim.service - Exim Mail Transport Agent
     Loaded: loaded (/usr/lib/systemd/system/exim.service; enabled; vendor preset: dis>
     Active: active (running) since Tue 2023-03-07 09:00:44 CST; 50s ago
   Main PID: 32736 (exim)
      Tasks: 1 (limit: 22814)
     Memory: 5.3M
        CPU: 248ms
     CGroup: /system.slice/exim.service
             └─32736 /usr/sbin/exim -bd -q1h

Mar 07 09:00:44 localhost.localdomain systemd[1]: Starting Exim Mail Transport Agent...
Mar 07 09:00:44 localhost.localdomain exim-gen-cert[32730]: Generating exim certificat>
Mar 07 09:00:44 localhost.localdomain systemd[1]: Started Exim Mail Transport Agent.
[user1@localhost ~]$ 


管理工具可用 Webmin,安裝參考這篇。

[研究]Webmin 2.013 on Rocky Linux 9.1安裝
https://shaurong.blogspot.com/2023/03/webmin-2013-on-rocky-linux-91.html

(完)

2018年12月30日 星期日

[研究] MailEnable Standard Edition 10.20 (Free) 免費郵件伺服器安裝 (Windows 2019)

[研究] MailEnable Standard Edition 10.20 (Free) 免費郵件伺服器安裝 (Windows 2019)

2018-12-30

Mail Server
MailEnable editions are licensed per server, for both personal & commercial use.


標準版 - 無限域/用戶
MailEnable 版本按服務器許可,可用於個人和商業用途。




































































(完)

相關

[研究] MailEnable Standard Edition 10.20 (Free) 免費郵件伺服器安裝 (Windows 2019)
https://shaurong.blogspot.com/2018/12/mailenable-standard-edition-1020-free.html

[研究] Exchange Server 2019 郵件伺服器 (Mail Server) 安裝 (Windows Server 2019)
https://shaurong.blogspot.com/2018/12/exchange-server-2019-mail-server.html

[研究] Exchange Server 2016 郵件伺服器 (Mail Server) 安裝 (Windows 2012 R2)
http://shaurong.blogspot.com/2016/05/exchange-server-2016-windows-2012-r2_13.html

[研究 Exchange Server 2013 with Service Pack 1 郵件伺服器 (Mail Server) 安裝 (Windows 2012 R2)
http://shaurong.blogspot.com/2016/05/exchange-server-2013-with-service-pack.html

[研究] IIS SMTP Server 伺服器 架設、開放 Relay 轉送 (Windows 2016)
http://shaurong.blogspot.com/2017/05/iis-smtp-server-windows-2016.html

[研究] IIS SMTP Server 伺服器 安裝 (Windows 2016)
http://shaurong.blogspot.com/2016/10/iis-smtp-server-windows-2016.html

維基百科  - 網際網路資訊服務 (Internet Information Services,簡稱IIS)
https://zh.wikipedia.org/wiki/%E7%B6%B2%E9%9A%9B%E7%B6%B2%E8%B7%AF%E8%B3%87%E8%A8%8A%E6%9C%8D%E5%8B%99

[研究] IIS SMTP Server 伺服器 安裝 (Windows 2012 R2)
http://shaurong.blogspot.com/2015/11/iis-smtp-server-windows-2012-r2.html

[研究] IIS SMTP Server 伺服器 安裝 (Windows 2008 R2)
http://shaurong.blogspot.com/2015/11/iis-smtp-server-windows-2008-r2.html

[研究] EVO郵件伺服器(EVO Mail Server)v3.0.60 免費14天試用版 試用
http://shaurong.blogspot.com/2018/04/evoevo-mail-serverv3060-14.html

[研究] Pegasus Mercury32 Mail Transport System 免費郵件伺服器 v4.80
http://shaurong.blogspot.com/2016/08/pegasus-mercury32-mail-transport-system.html

[研究] AXIGEN Mail Server 10.0.0 for Windows x64 郵件伺服器 - 30天試用版 (Windows 2012 R2)
http://shaurong.blogspot.com/2016/08/axigen-mail-server-1000-for-windows-x64.html

[研究] AXIGEN Mail Server 8.2.0 for Windows x64 郵件伺服器 - 30天試用版
http://shaurong.blogspot.com/2015/05/axigen-mail-server-820-for-windows-x64.html

[研究] CommuniGate Pro Free Mail Server 6.1.11 免費郵件伺服器
http://shaurong.blogspot.com/2016/08/hmailserver-565-windows-2012-r2.html

[研究] hMailServer 5.6.7免費郵件伺服器 ( Free Mail Server ) 架設 (Windows 2019)
http://shaurong.blogspot.com/2018/12/hmailserver-567-free-mail-server.html

[研究] hMailServer 5.6.5免費郵件伺服器 ( Free Mail Server ) 架設 (Windows 2012 R2)
http://shaurong.blogspot.com/2016/08/hmailserver-565-windows-2012-r2.html

[研究] mailEnable Standard Edition 9.16 (Free) 免費郵件伺服器試用 (Windows 2012 R2)
http://shaurong.blogspot.com/2016/08/mailenable-standard-edition-916-free_18.html

[研究] mailEnable Standard Edition 8.60 (Free) 免費郵件伺服器試用
http://shaurong.blogspot.tw/2015/05/mailenable-standard-edition-860-free.html

[研究] ArGoSoft Mail Server Freeware 1.8.8.8 免費郵件伺服器
http://shaurong.blogspot.com/2016/08/argosoft-mail-server-freeware-1888.html