• LINE ID: @CARRENT
  • [email protected]
VoucherCar
  • หน้าแรก
  • สินค้า
    • แยกจังหวัดรถเช่า
    • แยกตามระดับเครื่องยนต์
    • แยกตามราคารถเช่า
    • แยกตามยี่ห้อรถเช่า

    • ตะกร้าสินค้า
    • จองด่วนน้อยกว่า 7 วัน
    • รถเช่า รายสัปดาห์
  • บทความเนื้อหา
    • คำถามพบบ่อย
    • บทความรถเช่า
    • สาขารถเช่า
    • WEBBOARD
  • วิธีการสั่งซื้อ
    • วิธีการสั่งซื้อ
    • รายละเอียดการชำระเงิน
  • จองด่วน
  • ติดต่อเรา
เข้าสู่ระบบ
รถเช่าราคาประหยัดadver
รถเช่า ประเภทต่างๆ

แยกตามจังหวัด แยกตามเครื่องยนต์ แยกตามราคา แยกตามยี่ห้อ รถเช่า รายสัปดาห์

คำถามพบบ่อยเกียวกับรถเช่า ข่าวสารบทความรถเช่า สาขาบริษัทรถเช่า เว็บบอร์ด (Webboard)

วิธีสั่งซื้อ รายละเอียดการชำระเงิน
ติดต่อเรา
รถเช่า จังหวัด

---
กลับไปหน้าเว็บบอร์ด

clamav

ผู้ตั้งกระทู้: a
วันที่: 12/10/2011 เวลา: 13:13:24

How to install ClamAV and config EXIM on DirectAdmin(CentOS)

user warning: Unknown column 'u.signature_format' in 'field list' query: SELECT c.cid as cid, c.pid, c.nid, c.subject, c.comment, c.format, c.timestamp, c.name, c.mail, c.homepage, u.uid, u.name AS registered_name, u.signature, u.signature_format, u.picture, u.data, c.thread, c.status FROM comments c INNER JOIN users u ON c.uid = u.uid WHERE c.nid = 60 AND c.status = 0 ORDER BY c.thread DESC LIMIT 0, 30 in /home/cmsdd/domains/cmsdd.com/public_html/modules/comment/comment.module on line 992.
Sun, 07/12/2009 - 16:31 — WaterMan

ติดตั้ง repo จาก atomic
#wget -q -O - http://www.atomicorp.com/installers/atomic |sh
แค่นี้ ติดตั้ง clamav ก็เป็นแค่เรื่องหมูๆ
สั่ง yum โล้ดดดด
#yum -y install clamd clamav

สั่งให้ service ทำงาน
#service clamd start
อัพเดทฐานข้อมูลไวรัส
#freshclam

สั่งให้รันตอนบูตเครื่อง
#chkconfig clamd on

ต่อด้วย แก้ config ของ exim
#nano /etc/exim.conf
ค้นหาบรรทัด primary_hostname พิมพ์ บรรทัดต่อไปด้วย
av_scanner = clamd:127.0.0.1 3310

จากน้้นค้นหา check_message:
ของเดิมจะเป็นแบบนี้
check_message:
accept

ให้เปลี่ยนเป็น
check_message:
deny message = This message contains malformed MIME ($demime_reason)
demime = *
condition = ${if >{$demime_errorlevel}{2}{1}{0}}
deny message = This message contains a virus or other harmful content ($malware_name)
demime = *
malware = *
deny message = This message contains an attachment of a type which we do not accept (.$found_extension)
demime = bat:com:pif:prf:scr:vbs
warn message = X-Antivirus-Scanner: Clean mail though you should still use an Antivirus
accept

จากนั้นก็ Save and Exit ซะ
Ctrl + x + y

สั่ง restart service exim
#service exim restart

ดู log ซักหน่อย
#tail /var/log/exim/mainlog -f

แล้วก็ลองส่งอีเมล ดูว่าได้รับหรือเปล่า(กันพลาด)

จบ...

ความคิดเห็นทั้งหมด
a
13/10/2011 | 07:59:21
*** Note *** ClamAV support is in testing and support will be very limited. Use at your own risk.

To install ClamAV:

1) Install the binaries:
cd /usr/local/directadmin/custombuild
./build update
./build set clamav yes
./build clamav


2) Edit your /etc/exim.conf, and add the following before "primary_hostname =":
av_scanner = clamd:127.0.0.1 3310


3) While still editing your exim.conf, find "check_message:", and add this code below it:
deny message = This message contains malformed MIME ($demime_reason)
demime = *
condition = ${if >{$demime_errorlevel}{2}{1}{0}}
deny message = This message contains a virus or other harmful content ($malware_name)
demime = *
malware = */defer_ok
deny message = This message contains an attachment of a type which we do not accept (.$found_extension)
demime = bat:com:pif:prf:scr:vbs
warn message = X-Antivirus-Scanner: Clean mail though you should still use an Antivirus


4) Restart exim:
/etc/init.d/exim restart #Redhat/Debian
/usr/local/etc/rc.d/exim restart #FreeBSD
ร่วมแสดงความคิดเห็น

Copyright © 2026 vouchercar.com

*** ไม่อนุญาตให้ลงโฆษณาขายสินค้าใดๆ ก่อนได้รับอนุญาตจากทางเว็บนะคะ ***