dapurhosting.com Blog for Tech

January 31, 2017

Block domain for sending mail

Filed under: cPanel/WHM,Email — dh @ 9:42 am

touch /etc/blockeddomains
echo "domain.com" >> /etc/blockeddomains

Buka WHM > Exim Configuration Editor > Advanced Editor
Klik tombol Add additional configuration setting
Tambahkan

domainlist blocked_domains = lsearch;/etc/blockeddomains

Cari tulisan ROUTERS CONFIGURATION, setelah kode ini

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

Tambahkan kode berikut

reject_domains:

driver = redirect
# RBL Blacklist incoming hosts
domains = blocked_domains
allow_fail
data = :fail: Connection rejected: SPAM source $domain is manually blacklisted.

ref: https://forums.cpanel.net/threads/how-do-i-block-one-domain-from-sending-email-from-my-server.223731/#post920912

November 16, 2016

Update cpanel theme to paper_lantern

Filed under: cPanel/WHM — dh @ 8:27 am

Update cpanel theme to paper_lantern

/scripts/pl_update_users

October 26, 2016

Menambah Hardisk

Filed under: Uncategorized — dh @ 7:50 pm

http://www.techotopia.com/index.php/Adding_a_New_Disk_Drive_to_a_CentOS_6_System

Edit fstab

Filed under: Server — Tags: — dh @ 7:49 pm

maintanace mode untuk edit fstab

mount -o remount,rw /

url: http://www.walkernews.net/2011/03/06/how-to-edit-fstab-system-file-in-linux-maintenance-mode/

Linux Partition

Filed under: Server — Tags: , — dh @ 3:51 pm

http://www.howtogeek.com/106873/how-to-use-fdisk-to-manage-partitions-on-linux/

June 15, 2016

DNS Lookup

Filed under: Uncategorized — dh @ 12:51 am

http://www.kloth.net/services/dig.php

Mengetahui Nama Motherboard

Filed under: Server — dh @ 12:31 am

cat /sys/devices/virtual/dmi/id/board_name

June 14, 2016

cPanel dan Webmail Forbidden di Litespeed

Filed under: cPanel/WHM,Securtiy — dh @ 2:55 pm

Whitelist rule id 981246 di whm > ConfigServer ModSecurity Control

November 17, 2015

eth Reset Adapter

Filed under: Server — dh @ 2:51 am

network card restart terus menerus

tambahkan pcie_aspm=off ke akhir kernel line di /etc/grub.conf
tambahkan intremap=off ke akhir kernel line di /etc/grub.conf

reboot server

September 29, 2015

mysqltuner

Filed under: MySql — dh @ 11:11 am

wget https://raw.githubusercontent.com/major/MySQLTuner-perl/master/mysqltuner.pl
chmod 755 mysqltuner.pl
./mysqltuner.pl > mysqlturner.txt

« Newer PostsOlder Posts »

Powered by WordPress