The default is to install sendmail under rh5, which means that you can send a message. If you want to receive the letter in oe, you need to install the corresponding receiving service. This introduces cyrus-imap to achieve receiving. Cyrus has to install it yourself. You can insert the 2nd and 3rd installation CDs of Red Hat Enterprise Linux 5 into the CD-ROM drive. After loading the CD-ROM drive, find the following RPM package files related to the cyrus-imapd service in the Server directory of the CD:
cyrus- Imapd-perl-2.3.7-1.1.el5.i386.rpmcyrus-imapd-utils-2.3.7-1.1.el5.i386.rpmdb4-utils-4.3.29-9.fc6.i386.rpmlm_sensors-2.10.0- 3.1.i386.rpmcyrus-imapd-2.3.7-1.1.el5.i386.rpmcyrus-imapd-devel-2.3.7-1.1.el5.i386.rpm
Install using the rpm –ivh command.
2. The basic configuration of the cyrus-imapd service
The configuration files of the cyrus-imapd service have the following three.
/etc/sysconfig/cyrus-imapd: The configuration file used to start the cyrus-imapd service.
/etc/cyrus.conf: is the main configuration file for the cyrus-imapd service, which contains the setup parameters for each component (IMAP, POP3, sieve, and NNTP) in the service.
/etc/imapd.conf: is the configuration file for the IMAP service in the cyrus-imapd service.
By default, these configuration files are basically set up. As long as the cyrus-imapd service is started, both POP and IMAP services can be provided. Use the following command to start services such as cyrus and add cyrus to boot.
service saslauthd restartservice cyrus-imapd restartservice sendmail restartservice xinetd restart
chkconfig saslauthd onchkconfig cyrus-imapd onchkconfig sendmail on
Create a new user in linux, for example system maintenance user operator
#useradd operator
#passwd operator Set the password. For example, test
don't forget to set /etc/nologin in the passwd file to increase security.
Configure cyrus password
#passwd cyrus
Enter cyrus management tool
In the cyradm management command line state, you can use the following command to create additional folders such as Outbox, Trash, and Drafts for the user lbt under their mail box.
createmailbox user.lbt.Sendcreatemailbox user.lbt.Trashcreatemailbox user.lbt.Drafts
After creating the user mailbox user.lbt, I want to delete the mailbox directly with the deletemailbox command, even if it is Administrator cyrus is also not authorized (Permission denied). To remove it, you must first grant the administrator cyrus itself full control (all) with the following command. Then delete the mailbox with deletemailbox
localhost.localdomain> quit
You can test the user:
telnet localhost 110
the login :
user operator
pass test
You should see:
+OK Name is a valid mailbox
+OK Mailbox locked And ready
This is a success.
You need to set up Sendmail now, and then send the letter to cyrus. Edit the configuration file: /etc/mail/sendmail.mc, add a line at the end of the file:
dnl MAILER(smtp)dnl
dnl MAILER(procmail)dnl
define (`confLOCAL_MAILER', `cyrus')
MAILER(`cyrus')
If you want Sendmail to receive mail from other addresses in addition to this machine, put the following line
>
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
Change to:
dnl DAEMON_OPTIONS(`Port=smtp,Addr=0.0. 0.0, Name=MTA')dnl
Then, execute:
# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
You need to restart Sendmail:
service sendmail restart
First, switch snmp configuration, the following is the configuration command of H3C 5500 series: snm
1, what is light-emitting diode Light-emitting diodes are everywhere in everyday appliances, it can
When doing the experiment, we burned the bin file into the SD card, such as the previous assembly fl
ifconfig -a View all NIC information of Linuxifconfig eth0 down Turn off eth0 network cardifconfig e
PHP install imagick extension tutorial
Basic tutorial for errno in Linux
Linux newbie tutorial: teach you how to mount the hard disk
Suse linux single-user mode to modify the root password
Four Reasons for SELinux Warnings Details
Linux uses seven daily habits that are efficient and fast
Easily switch the language of mac apps
Several ways to run linux process background
How to boot Linux system from DOS system
How does Win10 make the icons of the same program on the taskbar not merged
How to adjust Win10 input method into Win7 mode
Where is the Win7 operating system setting virtual memory
Character encoding and conversion tool for files under GnuLinux
WinXP broadband connection prompt error 645 reasons and solutions
How to Unblock Modern Application Network Isolation in Win8
How does the Win7 system redisplay the language bar to the taskbar