How to Set up a Qmail server in TurboLinux

Source: Internet
Author: User
Tags qmail
The history of setting up a Qmail server in TurboLinux-Linux Enterprise Application-Linux server application information. The following is a detailed description. The latest has been busy with other things, so it's only a little time this afternoon.
Download the checkpassword-0.90.tar.gz,cmd5checkpw-0.22.tar.gz
Let's get started:
# Cd/usr/local/src/
# Tar xfvz checkpassword-0.90.tar.gz
# Cd checkpassword-0.90
# Make
An error occurred !!!
Undefined reference to 'errno '...
There are undefined variables again, too. What is that ?!
No, it's handled as it was last time,
Added the variable definition int errno in checkpassword. c and buffer_put.c;
# Make
Actually passed, below:
# Make setup check
No errors
# Cd/usr/local/src
# Tar xvfz cmd5checkpw-0.22.tar.gz
# Cd cmd5checkpw-0.22
# Mkdir/usr/man/man8
# Make
# Make install
Now, let's perform this SMTP authentication.
Modify the qmail STARTUP script file/var/qmail/bin/qmail
Change the smtp startup command:
/Usr/local/bin/tcpserver-v-x/etc/tcp. smtp. cdb 0 smtp \
/Var/qmail/bin/qmail-smtpd/home/vpopmail/bin/vchkpw \
/Bin/true/bin/md5checkpw/bin/true 2> & 1 | \
/Var/qmail/bin/splogger smtpd 3 &
Restart qmail and test it...
Does not work? I lose a password and pass it?
Change to a user that does not exist... Also passed?
This time, replace the recipient with the address of another server... Still passed !!!
It seems that there is a problem. Check the information again...
It seems that the smtp authentication patch is missing, and the next
Www.nimh.org/dl/qmail-smtpd.c
Overwrite the original file and compile it again...
#/Var/qmail/bin/qmail stop
# Make setup check
#/Var/qmail/bin/qmail start
Then test sending...
1. send to other servers
The wrong email sending user is rejected.
The wrong password is rejected.
The user/password is correct.
2. Send to local users (existing users/non-existing users)
The error message sending user is successful.
The wrong password is correct to the sender.
The user/password is correct.
A strange result!
Related Article

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.