RHEL 5.2下sendmail、dove cot、openwebmail配置
欢迎进入Linux社区论坛,与200万技术人员互动交流 >>进入 电子邮件系统对于一个企业的作用相信已经没有人不知道,目前比较主流的邮件系统包括SendMail、exchange、Lotus Notes、Qmail、Postfix等。 Microsoft的Exchange只能运行在Windows平台,而且必须基于
欢迎进入Linux社区论坛,与200万技术人员互动交流 >>进入
电子邮件系统对于一个企业的作用相信已经没有人不知道,目前比较主流的邮件系统包括SendMail、exchange、Lotus Notes、Qmail、Postfix等。
Microsoft的Exchange只能运行在Windows平台,而且必须基于活动目录,虽然在功能上exchange的确有一定的优势,比如用户管理、与office等微软其它产品的高集成性等等,但运营成本过高。
Lotus Notes作为IBM产品性能、功能当然是不用说了,不过本人总认为IBM的产品都有一个共同的特点,那就是只有运行在IBM的软、硬件平台时才能将其功能最大化的发挥出来。
SendMail可以运行在几乎所有的类Unix平台,功能也比较强大。当然SendMail也有一些自身的问题,但随着其版本的升级很多方面已经有了很大的改善。
本文中主要介绍在RHEL 5.2下通过SendMail搭建一个邮件系统平台,并结合dovecot实现pop3/IMAP4以及通过OpenWebMail实现客户端通过浏览器访问邮件系统。在讲述过程中采用以下网络拓扑。
一、安装并配置DNS。
DNS的作用相信也不需要过多介绍了,如果企业的邮件服务器如果需要接收来到公网的邮件,需要拥有公网IP及域名,而DNS解析工作都是有ISP提供的。在本文的配置中假设该邮件系统只供企业内部使用,所以需要配置DNS。
1、安装bind及相关软件包。
yum -y install bind-chroot.i* caching-nameserver.i* Copy after login |
2、在/var/named/chroot/etc目录下有一个全局配置的例子文件,将其复制一份改名为named.conf。如下图复制时一定要加-a(或-p),如果全局配置文件的拥有组不是named时,BIND服务是无法运行的。
3、编辑named.conf文件,修改如下图所示位置。
4、在/var/named/chroot/etc目录下有一个主配置的例子文件,将其复制一份改名为example.zqin.zone。如下图复制时一定要加-a,如果主配置文件的拥有组不是named时,BIND服务是无法运行的。
5、在example.zqin.zones文件最尾部加如下图内容。
6、在/var/named/chroot/var/named中正向、反向各有一个例子,将这二个例子复制一份进行修改,如下图复制时一定要加-a,因为如果区域配置文件的拥有组不是named时,BIND服务是无法运行的。
7、编辑正向解析文件example.zqin.zero,加入如下图内容。
8、编辑反向解析文件0.168.192.local,加入以下图内容。
service named restart<br>chkconfig named on Copy after login |
[1] [2] [3] [4]

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

On Fedora39+, RHEL9, AlmaLinux9, RockyLinux9 and CentOSStream9Linux distributions, you can use the grubby program to manage GRUB boot entries. In this article, we will show you how to use GRUBY to add/remove kernel boot parameters from the GRUB boot entry on Fedora, RHEL, AlmaLinux, RockyLinux, and CentOSStream. We will also show you how to add/remove custom GR using GRUBY on Fedora, RHEL, AlmaLinux, RockyLinux and CentOSStream

OPStack is an open source blockchain framework released by Optimism Collective, the development group behind the Optimism Network. It is an important tool for both the Ethereum and Optimism communities. The main goal of OPStack is to strengthen the Optimism Network, providing key software tools to the Optimism Mainnet, as well as the upcoming Optimism Superchain and its governance model. By providing a developer-oriented environment, the core idea of OPStack is to promote growth and innovation in the Ethereum space. It paves the way for cutting-edge developments and makes blockchain creation simpler. OPStac

Previously, Optimism officially announced that the Optimism chain has been renamed OPMainnet. Some people may ask what chain OPMainnet is? According to current information, OPMainnet is an open source super chain dedicated to funding public goods in a sustainable manner. It is one of many L2 chains that can communicate seamlessly with Base, ZoraNetwork, PGN, Redstone and other chains, but it does not It is not a single blockchain, it represents twenty entire super chain networks. The editor below will talk about this OPMainnet in detail to help you understand the OPMainnet network. What chain is OPMainnet? OPMainnet is Ethernet

Red Hat issued an announcement two months ago announcing that it would restrict access to Red Hat Enterprise Linux (RHEL) source code. This move has had a serious impact on the future development of Linux distributions such as AlmaLinux and RockyLinux. Regarding this decision, Benny Vasquez, chairman of the AlmaLinuxOS Foundation, previously told foreign media SiliconANGLE that "the impact on ordinary users is actually very small." Overall, apart from the kernel update, we're the same as before. When RHEL releases a new version, AlmaLinux may not provide corresponding updates immediately. However, developers can still use CentOSStream

1. Install dependency packages (select the installation directory and execute the command) yum-yinstallmakegccgcc-c++opensslopenssl-develpcre-develzlib-devel-y. For all questions, the default is yesinstall. Automatically install the dependency gcc used by make to compile binary files. Compiling c/c++ language with gcc-c++ requires the http module of PCREnginx to use pcre to parse regular expressions opensslnginx supports http and https protocols. openssl is a secure sockets layer cryptographic library that has cryptographic algorithms, commonly used keys and certificate encapsulation management functions.

EnvironmentRedHatEnterpriseLinuxrelease8.0VMwareWorkstationPro14 building steps[root@localhost~]#systemctlstophttpd#Stop httpd to prevent it from affecting Nginx[root@localhost~]#yuminstall-ynginx[root@localhost~]#systemctlstartnginx[root@localhost~]#iptables -F[root@localhost~]#systemctlstopfire

This website reported on August 18 that Red Hat announced in June this year that it had decided to stop providing LibreOffice packaged in RPM format in RHEL, and announced that it would adjust its work focus. This site noted that after the adjustment, Red Hat’s work focus It will focus on "improving the Wayland display server", "HDR support", and improving the workstation experience for Fedora and RHEL users. Red Hat senior developer Bastien Nocera recently pointed out in a "New responsibilities" blog post on his blog that Red Hat is adjusting its desktop Linux development work. As MatthiasClasen's "LibreOfficepackag

According to news on July 12, SUSE announced a major decision. They will fork Red Hat Enterprise Linux (RHEL) and develop a new distribution compatible with RHEL. This decision is intended to provide users with more choices and help them escape vendor lock-in. SUSE plans to invest more than US$10 million (approximately 72.088 million yuan) in the development and maintenance of the project in the next few years. As far as the editor understands, SUSE is a company dedicated to providing open source software solutions. Dirk-Peter van Leeuwen, CEO of the company, said that collaboration and mutual success have been core values of the open source community for many years. As a leading open source
