Installation and basic configuration:
cd QMail-1.03
make setup check
. / Config-fast playease.com
cd ~ alias
touch. QMail-postmaster. QMail-mailer-daemon. QMail-root
chmod 644 ~ alias / .QMail *
echo "127.0.0.1: allow, RELAYCLIENT =" ""> / etc / tcp.SMTP
Following this a setuid:
chmod 4755 / bin / checkpassword
cp / var / QMail / boot / home / var / QMail / rc
Modify / var / QMail / rc to. / Mailbox into. / Maildir / using Maildir;
Start QMail:
csh-cf "/ var / QMail / rc &"
Then start the SMTP service
Using the first patch:
tcpserver-H-R-l 0-t 1-c 100-x / etc / tcp.SMTP.cdb-u 507-g 502 0 SMTP
/ Var / QMail / bin / QMail-SMTPd playease.com / bin / checkpassword / bin / true / bin/md5checkpw / bin / true &
Use the second patch:
The playease.com removed.
Thus, based on the user's SMTP authentication system is complete ~
Then we started on vpopmail of:
groupadd vchkpw
useradd-g vchkpw-d / vmail vpopmail vpopmail installation directory I set in the / vmail in.
su vpopmail
mkdir ~ vpopmail / etc
echo "127.0.01.: allow, RELAYCLIENT =" ""> ~ vpopmail / etc / tcp.SMTP
. / Configure - help
. / Configure - enable-default-domain = playease.com
make
make install-strip
cd ~ vpopmail / bin
. / Vadddomain playease.com
. / Vadduser dawn@playease.com
This adds a user
chmod 6755 / vmail / bin / vchkpw This is setuid
The following is a start SMTP service:
Using the first patch:
tcpserver-H-R-l 0-t 1-c 100-x / etc / tcp.SMTP.cdb-u 507-g 502 0 SMTP
/ Var / QMail / bin / QMail-SMTPd playease.com / vmail / bin / vchkpw / bin / true / bin/md5checkpw / bin / true &
Use the second patch:
The playease.com removed.
Start pop3 service:
tcpserver-H-R 0 pop-3 / var / QMail / bin / QMail-popup playease.com / vmail / bin / vchkpw
/ Var/QMail/bin/QMail-pop3d Maildir &
And other modules use mysql does not affect validation. At this point you're done.
Third, pay attention to the problem:
1. In practice, the above example I use playease.com as a domain user name with the dawn as an example, replace your own domain name on it.
2. The second should be noted that the situation based on vpopmail many domain name I have not tested, please test themselves, in theory, should be no problem.
3. My system so I set the search path directly tcpserver, a system need to use / usr / local / bin / tcpserver way to write
4. My vpopmail installed in the / vmail, everyone should pay attention to the path of writing vchkpw.
5. I am here 507,502 were QMaild the uid and gid, you have to replace your own.
6. These operations under the test adopted in redhat7.1.
Recommended links:
YOUTUBE video formats
Kunlun Hotel Liaocheng use Maxima
Explosion VOB Converter
Wizards And Components Reviews
My Favorite Printer
M4a To M4r
comments Games Kids
Digital M4A MP3 To AC3 Converter
Ever MP3 WMA APE To RA Copying
convert mp4 Avi
Kaspersky Reminder: alert "Daohao agent" Trojan
.ape FILES
Progressive learning Power Builder 6.0 - Chapter What is POWERBUILDER
"Do not CALL me"
No comments:
Post a Comment