Cara Memblok Sender yang spamming di postfix

— buat file sender_access cd /etc/postfix nano sender_access — isi nya misal ( bisa untuk domain global , atau user account ) abusivecustomer.net REJECT kucing@customer.net REJECT   — masukan ke Data Base postmap /etc/postfix/sender_access — edit / masukan line berikut di main.cf ( di paling bawah baris) nano /etc/postfix/main.cf smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/sender_access   — … Read more

Membuat Email alert spam di cpanel

buat file misal check.sh nano check.sh #!/bin/bash cat /var/log/exim_mainlog |grep @aol.* > /dev/null #Email Notification if [ “$?” = “0” ]; then echo “Email send to aol” | mailx -s “Send mail spam aol#Reborn” hendro@yuby.com else echo “Email send to aol” > /dev/null exit 1 fi chmod a+x check.sh crontab -e * * * * … Read more

Membuat Email alert untuk spamming di postfix

buat file misal check.sh nano check.sh #!/bin/bash cat /var/log/maillog |grep @aol.* > /dev/null #Email Notification if [ “$?” = “0” ]; then echo “Email send to aol” | mailx -s “Send mail spam aol#hotel-smtp” hendro@yuby.com else echo “Email send to aol” > /dev/null exit 1 fi chmod a+x check.sh crontab -e * * * * … Read more

Backup dari Debian/Ubuntu/Centos/Open BSD ke Synology

–Backup dari Debian/Ubuntu ke Synology apt-get install ftp-upload mkdir /usr/src/backup/ nano /usr/src/backup.sh chmod a+x /usr/src/backup.sh isi file : #!/bin/bash export LC_ALL=”en_US.utf8″ cd /etc/dnsdist/ tar -czf /usr/src/backup/dnsdist-$(date +%d%m%Y).tar.gz * sleep 1m ftp-upload -h lapo.games.com:221 -u server –password kucing123 -d /Provisioning/Server/DNS/ /usr/src/backup/*$(date +%d%m%Y).tar.gz find /usr/src/backup/dnsdist-* -mtime +7 -exec rm {} \; KET : -lapo.games.com:221 -> server nya … Read more