Linux Mail Server Configuration Guide

  
                  

Currently, the common mail service protocols on the network are mainly SMTP (send protocol) and POP3 (receiving protocol).

First, start SMTP:

After installing and starting the sendmail service, SMTP should be open. If the letter does not send out when sending a message, it may be a DNS problem. Please perform the following operations on the Linux machine:

(1) cd /var/named

mv named.ca named .ca.bak

touch named.ca

killall -HUP named

(2) Execute netconf-Server tasks-Domain Name Server(DNS) in the X window- Config-domains-add a new one (or directly click on an existing domain to modify) - Name servers (NS) fill in: gblinux.126.com, Mail servers (MX) first line write gblinux.126.com, Write 126.com (my virtual mail domain) on the second line. Default IPs can be filled in or not. Exit and activate it. //This article transferred from www.45it.com.cn computer software and hardware application network

Now the DNS service should have started correctly.

Second, start POP3:

(1) Modify /etc/inetd.conf, and delete one line of pop3 and modify it to:

pop-3 stream Tcp nowait root /usr/sbin/tcpd /usr/lib/linuxconf/lib/vpop3d /usr/sbin/ipop3d
<2> (2) Configure virtual email domain (virtual email domain): run linuxconf or directly Run mailconf, select virtual email domain, and add a domain name (such as 126.com mentioned above).

(3) Add E-mail users: Run userconf and then click Special accounts-------virtual POP accounts(mail only)----- just add the domain name in the second step, Ok, now you can add new users by clicking the add button.

Attached: Some tips:

(1) Make RedHat6.0 directly into the KDE desktop: Create a .xinitrc file with kde in the main directory.

(2) For users who have established samba in RedHat6.0, please select the xfs group.

(3) Modify the project at startup: run ntsysv.

Copyright © Windows knowledge All Rights Reserved