+ إنشاء موضوع جديد
النتائج 1 إلى 2 من 2
  1. #1
    Status
    Offline
    الصورة الرمزية Rise Company
    Engineering and Technology
    تاريخ التسجيل
    Apr 2014
    الدولة
    Egypt
    المشاركات
    4,612
    معدل تقييم المستوى
    10

    افتراضي How Do I Block One Domain From Sending Email From My Server?

    You can try the following steps. First, in root SSH, run these commands:
    كود:
    touch /etc/blockeddomains
    echo "domain.com" >> /etc/blockeddomains
    Please replace domain.com with the domain name. Do not replace the "" part as that's required, only the domain.com part with the right domain name.

    In WHM > Exim Configuration Editor > Advanced Editor, put the following in the topmost box:

    كود:
    domainlist blocked_domains = lsearch;/etc/blockeddomains
    Locate the "ROUTERS CONFIGURATION" section, and right below these lines:
    democheck:
    driver = redirect
    require_files = "+/etc/demouids"
    condition = "${if eq {${lookup {$originator_uid} lsearch {/etc/demouids} {$value}}}{}{false}{true}}"
    allow_fail

    data = :fail: demo accounts are not permitted to relay email

    Put the following lines:
    كود:
    
    
    كود:
     	 	reject_domains:
    
    driver = redirect
    # RBL Blacklist incoming hosts
    domains = blocked_domains
    allow_fail
    data = :fail: Connection rejected: SPAM source $domain is manually blacklisted.
    ------------------------------------------------------------------------
    شركة رايز للهندسة و التكنولوجيا Rise Company for Engineering & Technology
    ------------------------------------------------------------------------
    Web Hosting | Web Designing | E-Marketing

    رقم # 1 فى خدمات الشركات Business Services

    استضافة مواقع Web Hosting - عمل ايميل شركة Business Emails

    تصميم موقع شركة Web Design - تسويق الكترونى على جوجل Google Adwords

    www.rise.company | www.rise.company/emails

    ملحوظة : جميع خدماتنا مخصصة للشركات فقط وغير متاحة للافراد
    وليس لنا اى منتجات او صيانة نهائيا! يرجى الانتباه الى ذلك.



  2. #2
    Status
    Offline
    الصورة الرمزية Rise Company
    Engineering and Technology
    تاريخ التسجيل
    Apr 2014
    الدولة
    Egypt
    المشاركات
    4,612
    معدل تقييم المستوى
    10

    افتراضي رد: How Do I Block One Domain From Sending Email From My Server?

    Wow, talk about a fast response! It seems to be working so far. If I go to re-enable the banned domain is it recommended that I remove all of the things I just added? Or just remove it from the /etc/blockeddomains? Thanks very much.

    You can simply clean the file and let it be there -

    echo > /etc/blockeddomains
    ------------------------------------------------------------------------
    شركة رايز للهندسة و التكنولوجيا Rise Company for Engineering & Technology
    ------------------------------------------------------------------------
    Web Hosting | Web Designing | E-Marketing

    رقم # 1 فى خدمات الشركات Business Services

    استضافة مواقع Web Hosting - عمل ايميل شركة Business Emails

    تصميم موقع شركة Web Design - تسويق الكترونى على جوجل Google Adwords

    www.rise.company | www.rise.company/emails

    ملحوظة : جميع خدماتنا مخصصة للشركات فقط وغير متاحة للافراد
    وليس لنا اى منتجات او صيانة نهائيا! يرجى الانتباه الى ذلك.



المواضيع المتشابهه

  1. Completely disable email on single cPanel Account
    بواسطة Rise Company في المنتدى قسم الايميلات Emails
    مشاركات: 0
    آخر مشاركة: 05-11-2014, 19:44
  2. دورة cPanel عن قسم الايميلات email و شرح حقول SFP و DKIM
    بواسطة Rise Company في المنتدى قسم الايميلات Emails
    مشاركات: 0
    آخر مشاركة: 12-05-2014, 22:14
  3. الفرق بين انواع دومين إضافي وفرعي وموقوف Main Domain و Parked Domain و Addon Domain
    بواسطة Eng Amr Adel في المنتدى قسم الدومينات Domains
    مشاركات: 0
    آخر مشاركة: 09-10-2013, 10:29
  4. برنامج منع نسخ الملفات من الجهاز USB Block 1.5.0
    بواسطة Eng Amr Adel في المنتدى رايز للكمبيوتر Rise Computer
    مشاركات: 0
    آخر مشاركة: 15-11-2012, 03:01
  5. حل : مشكلة السب دومين sub domain بعد ضبطه لا يعمل و معطل
    بواسطة Eng Amr Adel في المنتدى قسم منتدي vb
    مشاركات: 0
    آخر مشاركة: 06-10-2011, 22:38

المفضلات

المفضلات

ضوابط المشاركة

  • لا تستطيع إضافة مواضيع جديدة
  • لا تستطيع الرد على المواضيع
  • لا تستطيع إرفاق ملفات
  • لا تستطيع تعديل مشاركاتك
  •