Đang chuẩn bị liên kết để tải về tài liệu:
Setting Up LAMP Getting Linux, Apache, MySQL, and PHP Working Together phần 6

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

hoặc tập tin duy nhất để điện thoại hoặc địa điểm của sự lựa chọn. Với hoàn thành đó, bạn sẽ được sẵn sàng để thêm công việc định kỳ của bạn vào hệ thống để tự động chạy các kịch bản này khi | 188 Chapter 7 Electronic Mail Simpo PDF Merge and Split Unregistered Version - http www.simpopdf.com Configure Qmail-Scanner Qmail-Scanner is a Perl script located in var qmail bin and it is named qmail-scanner-queue.pl. If you edit with your text editor you will see a large array of options that you can configure for your server. Most of the configuration options are well documented so we will not cover them here. Here are the steps to configure Qmail-Scanner 1. Your first next task is to modify the qmail run files to include the Qmail-Scanner files when mail is delivered. Edit the var qmail supervise qmail-smtpd run file and add the following line directly below LOCAL head -1 var qmail control me QMAILQUEUE var qmail bin qmail-scanner-queue.pl export QMAILQUEUE 2. Modify your etc tcp.smtp file to add the Qmail-Scanner by changing the first line to the following 127. allow RELAYCLIENT QMAILQUEUE var qmail bin qmail-scanner- queue.pl 3. Restart qmail and give it a test qmailctl stop qmailctl start Opening Firewall Ports for the E-Mail Server In Chapter 6 you configured a firewall to close unused ports on your server. Now you need to add a few ports for the e-mail server to allow access to your SMTP POP3 and IMAP protocols 1. Edit your usr local etc firewall script and add the following lines directly below the port 22 SSH rule IPTABLES -A INPUT -p tcp --dport 25 -j ACCEPT IPTABLES -A INPUT -p tcp --dport 110 -j ACCEPT IPTABLES -A INPUT -p tcp --dport 143 -j ACCEPT 2. Run your firewall script usr local etc firewall You should now be able to access these protocols remotely. Managing Your qmail Server qmail management is fairly easy to handle especially with Vpopmail enabled. This section will cover the basics involved in managing your qmail server. Managing Your qmail Server 189 Simpo PDF Merge and Split Unregistered Version - http www.simpopdf.com Monitoring Logs The log files for qmail are located in var log qmail under their appropriate sections. Any time you wish