Linux Mail Server Configuration guide

Source: Internet
Author: User
Tags add mail modify domain domain name domain name server linux

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

First, start SMTP:

After you install and start the SendMail service, SMTP should be turned on. If the letter is not sent out, it may be a DNS problem, please do the following on the Linux machine:

(1) cd/var/named

MV Named.ca Named.ca.bak

Touch named.ca

Killall-hup named

(2) Executes netconf->server tasks->domain Name Server (DNS) in the X Window->config->domains->add a new ( Or click on existing domain to modify)->name servers (NS) fill in the first line of Gblinux.126.com,mail servers (MX) write gblinux.126.com, the second line is written 126.com ( My virtual mail domain). Default IPs can be filled out. Exit and activate it.

The DNS service should now start correctly.

Second, start POP3:

(1) Modify the/etc/inetd.conf, and then cancel the 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) Configuration "Virtual e-mail domain name" (fictitious email domains): Run linuxconf or run directly mailconf, choose virtual email domain, and add a domain name (as mentioned in the above 126.com) It's OK.

(3) Add e-mail users: Run userconf and then click Special Accounts------->virtual POP accounts (mail only)-----> just in the second step add the domain name, OK, Now you can click the Add button to add a new user.

Attached: some tips:

(1) way to make RedHat6.0 directly into the KDE desktop: in the home directory to build a content of KDE. xinitrc file.

(2) Select the XFS group for the users in RedHat6.0 for Samba.

(3) Modify the Startup project: Run NTSYSV.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.