عرض مشاركة واحدة
قديم 26-10-09, 11:04 PM   #1
عضو ماسي

 










 

ثامر الحربي غير متواجد حالياً

ثامر الحربي is a jewel in the roughثامر الحربي is a jewel in the roughثامر الحربي is a jewel in the roughثامر الحربي is a jewel in the roughثامر الحربي is a jewel in the roughثامر الحربي is a jewel in the roughثامر الحربي is a jewel in the roughثامر الحربي is a jewel in the roughثامر الحربي is a jewel in the roughثامر الحربي is a jewel in the roughثامر الحربي is a jewel in the rough

افتراضي كيفيه حمايه سرفرك من المسائله القانونية

السلام عليكم

فى الأونه الاخيره نشط كثير من الspammer الذين يستخدمون سرفرك فى ارسال رسائله وهميه الى اصحاب الحسابات الماليه مثل الpaypal وال ebay وسرقت المال
منها بطرق عديده وتعرضت اكثر السرفرات العربيه لهذا الحدث
وحال ارسال هذه الرسائل تغلق الداتا سنتر سرفرك على الفور
ثم تقول لك ان في اخلال بالاتفاقيه وتختلف الشركات المقدمه للسرفرات منهم من يكتفى بحذف الموقع او اغلاقه ومنهم من يطلب بيانات اكثر ومنهم من يطلب منك دفع 10$ وتحذيرك بألغاء سرفرك لو تكررت


وتفاديه لهذا كله اعمل فلتر على الرسائل الخارجه من سرفرك وريح راسك

اول اعمل الفتلر

كود PHP:
pico /etc/exim/exim.filter 
اضف داخله


كود PHP:
# Exim filter 
كود PHP:
[RIGHT]
logfile /var/log/exim_mainlog 

if $received_protocol is "local" and 
        (
$header_from contains "@ebay.com" or 
        
$header_from contains "@paypal.com"
then 
        logwrite 
"$tod_log $message_id => Outgoing mail with reply address $header_from caught. Email sent to black hole." 
        
seen finish 
endif  

[/
RIGHT
واحفظ الملف ctrl+x

ثم y

ثم افتح ملف الاعداد الخاص بexim

واضف الفتلر

كود PHP:
pico /etc/exim.conf 
وابحث عن

system_filter

ctrl+w

بتحصل

كود PHP:
#!!# message_filter renamed system_filter 
كود PHP:
[RIGHT]system_filter = /etc/antivirus.exim 

message_body_visible 
5000  [/RIGHT
خليه كذا

كود PHP:
#!!# message_filter renamed system_filter 
كود PHP:
[RIGHT]system_filter = /etc/antivirus.exim 
system_filter 
= /etc/exim/exim.filter

message_body_visible 5000  [/RIGHT
ثم سوى حفظ

ctrl+x
ثم y

وسلامتكم








التوقيع :
    رد مع اقتباس