Example netway32 account generalspring.co.th Following filter script has been tested and it worked successfully. Edit file /etc/vfilters/yourdomain.com and paste the following rule : Code: # Exim filter #Rule1 if $message_body_size is above 3M then mail to $sender_address from bounce@yourdomain.com subject "RE: $header_subject:" fail "Your message was over 3MB size limit and so it was not delivered." seen finish endif Save changes and exit. Now edit /home/username/.cpanel/filter.yaml and paste the following rule : Code: --- filter: - actions: - action: fail dest: Your message was over 3MB size limit and so it was not delivered. filtername: Rule1 rules: - match: is opt: or part: "$message_body_size:" val: 3M Save changes and exit. You can now send a test email of size more than the specified limit in the filter , here it is 3M and then send it to the emailuser set under yourdomain.com (example : receiver@yourdomain.com). The exim logs will show the following message : Code: 2010-07-20 18:00:00 1ObGml-0007Q6-BJ ** receiver@yourdomain.com R=central_filter: Your message was over 3MB size limit and so it was not delivered. And the sender will receive the mail delivery failed message : Code: This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed: bounce@yourdomain.com Your message was over 3MB size limit and so it was not delivered. ************************************************** *********** message body which was sent************** **************************************************
หากตรวจสอบพบปัญหา IP ที่ได้ Allow ไว้ใน /etc/csf/csf.allow หายไป ให้ดำเนินการตามขั้นตอนดังนี้ 1. cd /root/script/localConfig/{hostname}/ 2. nano -w csf.additional.allow 3. นำ IP ที่จะ Allow ไปใส่ที่ไฟล์ csf.additional.allow แล้วก็ Save 4 รัน myUPCP ด้วยคำสั่ง perl /root/script/myupcp.pl 5. หลังจากรับ muUPCP แล้วให้ตรวจสอบที่ไฟล์ csf.allow (Full Path {/etc/csf/csf.allow})
1. รายละเอียดบริการ และ FAQs รายละเอียดที่ต้องทราบก่อนย้าย >> Username และ Password สำหรับ Login เข้า Control Panel เดิมของลูกค้า ขั้นตอนการดำเนินการ 1. เข้าที่ WHM --->Transfers ---> Copy an account from another server with account pasword ใส่หมายเลข IP ของเครื่องเซิร์ฟเวอร์ที่ลูกค้าใช้งานอยู่ (Server to copy from (ip or FQDN):......................) ใส่ Username และ Password ของลูกค้า ( Username to copy:.......................; User's password:.............................) แล้วคลิกปุ่ม Copy Account ระบบจะทำการย้ายข้อมูลทั้งหมดให้ 2. เมื่อทำการย้ายข้อมูลทั้งหมดของลูกค้าจะมาอยู่ที่เครื่องเซิร์ฟเวอร์ของใหม่ 3. ในส่วนของระบบเมลล์ ตัวอีเมลล์จะถูกส่งไปยังเครื่องเซิร์ฟเวอร์เดิมของลูกค้าจนกว่าการย้าย DNS เสร็จสิ้น ซึ่งตรงนี้ลูกค้าสามารถตั้งค่าได้ดังนี้ หากใช้ POP3 ให้แก้จาก mail.domainname.com เป็น IP ของเครื่องเซิร์ฟเวอร์เดิมที่ลูกค้าใช้งาน หากใช้ WEBMAIL ให้เรียกที่ https://หมายเลข IP ของเครื่องเซิร์ฟเวอร์เดิม/webmail แล้วให้ทำการฟอร์เวิร์ดไปที่อื่นก่อนเช่น hotmail.com 3. จากนั้นทำการตรวจสอบ package ของลูกค้าให้ตรงตามที่ลูกค้าทำการสั่งซื้อกับเราไว้ อ้างอิง KB : https://docs.google.com/document/d/1t2RsPsTtsprhj1A0tO71Ymw8NgJDsSM_zAjbEWJpSVg/edit# 2. สิทธิในการร้องขอ Email เจ้าของ client account 3. ขั้นตอนการสั่งซื้อ หรือ ร้องขอลูกค้าทั่วไปถ้ามีหน้าเว็บเพจอธิบายขั้นตอนการสั่งซื้อ ให้ link ไปหน้านั้น ถ้าไม่มีให้ link ไป หน้า order ของ product นั้นResellerถ้ามีหน้าเว็บเพจอธิบายขั้นตอนการสั่งซื้อ ให้ link ไปหน้านั้น ถ้าไม่มีให้ link ไป หน้า order ของ product นั้น 4. เงื่อนไขในการเริ่มดำเนินการส่งมอบ หลังจากได้รับสิ่งต่อไปนี้ ครบถ้วนทุกรายการ Fax slip โอนเงิน หรือ PO authorized code หรือ .... 5. ราคาราคาทั่วไป ราคา reseller ส่วนลด/ promotion 6. บริการอื่น ๆ ที่เกียวข้องบริการฟรี บริการเสริม เสียค่าบริการ 7. ข้อห้ามในการใช้บริการ 8. เจ้าหน้าที่ขาย 9. การรับประกัน / คืนเงิน
1.Backup Account Cpanel ที่จะทำการย้าย 2.ย้ายข้อมูลไฟล์ Backup ไปไว้ที่เครื่อง Directadmin *การย้ายนั้นได้ทั้งการ scp หรือ Upload ไฟล์ 3.สร้าง Folder เช่น Migate Cpanel เพื่อให้ไม่ งง ต่อการย้ายข้อมูล 4.Download file convertor มาไว้ใน Folder ที่สร้างขึ้นมา - wget httd://siaminterhost.com/convertor.tar.gz 5.tar -xvzf convertor.tar.gz 6.nano -w defaults.conf - แก้ไข ip, nameserver, - แก้ไข cgi = OFF 7.สร้าง Folder ชื่อ export และ import ใน Folder Migate Cpanel 8.นำไฟล์ Backup Cpanel ไปไว้ในส่วน Folder import 9.Run perl da.cpanel.import.pl - Have you read, understood and applied the above? (y/n) [y] [If you are running this tool on the cPanel server]: After this tool is finished, should successfully created DirectAdmin tarballs be transferred to your DirectAdmin reseller user_backups directory? (y/n) [n] Shall we begin? (y/n) [y] 10.เมื่อเสร็จแล้ว ไฟล์จะอยู่ในส่วน folder export นำไฟล์ไปไว้ที่ /home/admin/user_backups 11.เข้าไปที่หน้า Directadmin -ไปที่ Reseller Level -เลือก Manage User Backups -Restore Backup จะมีไฟล์ที่เรานำไปไว้ในส่วนของ /home/admin/user_backups
วิธีการ Generate Report ข้อมูลก่อนย้าย Hosting (เฉพาะที่ใช้งานอยู่บน Hosting Server ของเรา) วิธีที่ 1 Generate Report Account ทั้งหมด บนเครื่อง รันคำสั่ง perl /root/script/transfer/transferAccountData.pl --all เรียบร้อยจะมีข้อความ Moving files to /usr/local/apache/htdocs/rvtransfer/1480061533 To get the report go to http://203.78.99.119/rvtransfer/1480061533/buildDoc.php 2. Create New Account ขึ้นมา และย้ายข้อมูลทั้งหมดใน Folder 1480061533/ มาไว้บน account ที่สร้างไว้ และเปลี่ยน Permission 644 ไฟล buildDoc.php ด้วย 3. ทำ etc host ชื่อ account ที่สร้างไว้และเรียก chinnapat.com/buildDoc.php วิธีที่ 2 Generate Report โดยเลือกแค่บาง account ใส่ชื่อ Username cPanel ที่ /etc/transferAccount.txt (line by line) perl /root/script/transfer/transferAccountData.pl Moving files to /usr/local/apache/htdocs/rvtransfer/1480061533 To get the report go to http://203.78.99.119/rvtransfer/1480061533/buildDoc.php 3. Create New Account ขึ้นมา และย้ายข้อมูลทั้งหมดใน Folder 1480061533/ มาไว้บน account ที่สร้างไว้ และเปลี่ยน Permission 644 ไฟล buildDoc.php ด้วย 4. ทำ etc host ชื่อ account ที่สร้างไว้และเรียก chinnapat.com/buildDoc.php