Membuat log per hari dengan logrotate – postfix

tahapan nya : 1. login ke server ( ssh ) 2. jenis scripts yg di gunakan : /var/log/maillog { daily rotate 31 start 1 compress create 0600 root dateext postrotate /etc/init.d/postfix reload > /dev/null endscript atau /var/log/maillog { missingok notifempty size 100M daily create 0600 root root rotate 35 dateext copytruncate } 3. tambahkan script … Read more

Secure Postfix with Amavisd, ClamAV, SpamAssassin – centos 6

1. install repo : link : http://wiki.centos.org/AdditionalResources/Repositories/RPMForge?action=show&redirect=Repositories%2FRPMForge#head-f0c3ecee3dbb407e4eed79a56ec0ae92d1398e01 misal : ketika di uname -i muncul veri : x86_64 wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm rpm -Uvh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm 2. install tools nya : yum install amavisd-new clamav clamav-devel clamd spamassassin -y 3. config Clamav vi /etc/clamd.conf kasih tanda # # TCP port address. # Default: no # TCPSocket 3310 4. config … Read more

Install SpamAssassin – Postfix

Requirment : – Sudah ada Postfix yg terinstall di server Cara install : yum install spamassassin # buat user untuk spamassassin nya groupadd spamfilter useradd -g spamfilter -s /bin/false -d /usr/local/spamassassin spamfilter chown spamfilter: /usr/local/spamassassin # Config Spam Assassin edit : vi /etc/mail/spamassassin/local.cf yg harus ada : required_hits 5 report_safe 0 required_score 5.0 edit juga … Read more

Membuat smtp open relay – postfix

Untuk membuat smtp open relay , anda hanya cukup menambahkan command / script berikut di settingan postfix yg sudah up. nano /etc/postfix/main.cf tambahkan : smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination smtpd_sasl_auth_enable = yes broken_sasl_auth_clients = yes smtpd_sasl_authenticated_header = yes dan settingan master.cf >> misal ingin di rubah port nya : 587 nano /etc/postfix/master.cf 587 inet n – n … Read more