Installation steps for Qmail+vpopmail+sqwebmail (5)

Source: Internet
Author: User
Tags log qmail
Web so, all addresses except 1.2.3.4 and 127.* will be rejected for forwarding.

2) conversion TCP.SMTP becomes CDB format

#/usr/local/bin/tcprules/etc/tcp.smtp.cdb/etc/tcp.smtp.tmp </ETC/TCP.SMTP

Note: If there are any changes to the TCP.SMTP, it must be converted into CDB files after tcprules.


In addition, if the TCP.SMTP is blank, all forwarding is rejected because the preset rule is deny.

At this point, the forwarding rules have been established and QMAIL-SMTPD will be started later in accordance with this rule.

3 Set SMTP and POP3 daemon to start

Remove the SMTP and POP3 settings in the inetd.conf (plus #)

Edit/etc/services and change to the following settings:

Smtp25/tcpmail
# pop-3 110/tcp #pop version 3
# pop-3 110/UDP
Pop3110/tcp
Pop3110/udp
  
Start SMTP:

/usr/local/bin/tcpserver-v-x/etc/tcp.smtp.cdb \
-U uid-g GID 0 smtp/var/qmail/bin/qmail-smtpd 2>&1 \
| /var/qmail/bin/splogger SMTPD 3 &

Where the UID and GID are the user IDs for the newly added qmail system account Qmaild, and the Nofiles group ID.
The/var/qmail/bin/splogger line will write the log file in the/var/log/maillog.
Start POP3:


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.