RSS
 

Spam dan cara menguranginya di Postfix Mail Server

15 Sep

Spam adalah penyalahgunaan dalam pengiriman berita elektronik untuk menampilkan berita iklan dan keperluan lainnya yang mengakibatkan ketidaknyamanan bagi para pengguna situs web Bentuk spam yang umum meliputi: email spam, pesan instan spam, newsgroup spam, spam web search engine, spam blog, spam berita pada ponsel, spam forum internet dan lain lain.

Spam ini biasanya datang bertubi-tubi tanpa diminta dan seringkali tidak dikehendaki oleh penerimanya. Spam dikirimkan oleh pembuat iklan dengan biaya operasi yang sangat rendah, karena spam ini tidak memerlukan mailing list untuk mencapai para pelanggan yang diinginkan.

Sebagai pengguna email, masalah spam adalah masalah klasik dan terus menghantui para pengguna email di jagat internet apalagi bagi seorang Admin Mail Server, sudah dipastikan banyak sekali komplain dan cercaan dari pengguna email akibat banyaknya spam yang masuk ke inbox mereka.

Banyak cara menuju Roma. Banyak juga metode yang digunakan untuk melawan spam ini. Ada yang menggunakan jasa perusahaan anti spam seperti Norton, ada juga yang menginstall anti spam di Mail Server menggunakan ClamAv atapun SpamAssasin.

Kali ini kita akan membahas bagaimana memanfaatkan situs DSBL untuk membantu melawan spam. Memang hasilnya tidak mungkin bersih total, tapi sejauh ini kinerja DSBL sangat efektif.

DSBL sendiri merupakan situs-situs yang mendaftar mail server yang terpasang sebagai open relay ataupun open proxy. Jadi hati-hati jika Mail Server Anda satu mesin dengan open relay dan open proxy kemungkinan besar akan terindex oleh DSBL, akibatnya anda tidak dapat mengirimkan email ke user dimana terpasang antispam dari DSBL.

Kali ini, fitur DSBL akan kita pasang di Mail Server yang menggunakan Postfix.

Pertama-tama buka terlebih dahulu file konfigurasi postfix yang kita miliki dengan menggunakan Vi Editor dengan user root atau pada posisi super user:

root# vi /etc/posfix/main.cf

Kemudian pada akhir baris kita tambahkan beberapa konfigurasi dibawah ini :

smtpd_recipient_restrictions =

permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_invalid_hostname,
reject_unauth_pipelining,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
reject_non_fqdn_recipient,
reject_unknown_recipient_domain,
reject_rbl_client blackholes.easynet.nl,
reject_rbl_client proxies.blackholes.wirehub.net,
reject_rbl_client bl.spamcop.net,
reject_rbl_client sbl.spamhaus.org,
reject_rbl_client dnsbl.njabl.org,
reject_rbl_client list.dsbl.org,
reject_rbl_client multihop.dsbl.org,
permit

Setelah itu kita simpan file konfigurasi kita dan restart posfix kita.

root# /etc/init.d/postfix restart

Kemudian perhatikan log email anda

root# tail -f /var/log/mail.log

Kelemahan dari cara ini adalah mail server butuh selalu terkoneksi dengan situs DSBL untuk update terbaru dan bahkan setiap ada email masuk harus melakukan pengecekan apakah terdaftar sebagai blacklist atau tidak.

 
18 Comments

Posted in Komputer

 

Leave a Reply

 

 
  1. Dhanank Perdhana

    October 3, 2010 at 7:55 pm

    Mantabs cak artikel’e! Sadis sa’iki rek ilmune?!! Lanjutkan cak!:)

     
  2. Profile photo of slamet

    slamet

    December 1, 2010 at 1:13 pm

    hehehe.. thanks.. kebetulan aja pas ada troble. biar gak lupa ditulis aja di sini…

     
  3. experienced

    May 12, 2013 at 7:56 am

    Another issue is really that video gaming has become one of the all-time most important forms of fun for people of all ages. Kids have fun with video games, plus adults do, too. The particular XBox 360 is probably the favorite games systems for those who love to have a huge variety of activities available to them, and also who like to learn live with people all over the world. Thanks for sharing your notions.

     
  4. anto

    January 31, 2014 at 9:57 am

    The Best Private proxies- Guaranteed => http://buy-proxies-now.blogspot.com/2014/01/buy-proxies.html

     
  5. Health Tourism

    February 9, 2015 at 4:48 pm

    This will be a excellent web site, will you be involved in doing an interview regarding just how you developed it? If so e-mail me!

     
  6. soccer news

    February 12, 2015 at 1:10 pm

    Hi there to every single one, it’s actually a good for me to pay
    a visit this web site, it consists of important Information.

     
  7. Bandar Bola

    April 28, 2015 at 2:45 pm

    Bagus sekali gan.
    sangat bermanfaat sekali.
    izin menyimak ya

     
  8. Web Design

    December 7, 2015 at 7:02 pm

    Thanks for posting! 🙂

     
  9. furtdsolinopv

    December 10, 2015 at 7:05 pm

    Thank you for the sensible critique. Me & my neighbor were just preparing to do a little research about this. We got a grab a book from our area library but I think I learned more from this post. I am very glad to see such magnificent information being shared freely out there.

     
  10. Card

    December 20, 2015 at 11:51 pm

    Undeniably believe that which you said. Your favourite justification appeared to be at the web the easiest factor to bear in mind of. I say to you, I certainly get annoyed even as folks consider concerns that they just don’t understand about. You managed to hit the nail upon the highest and also defined out the whole thing without having side effect , other folks could take a signal. Will likely be back to get more. Thanks

     
  11. proxy

    January 2, 2016 at 7:31 pm

    Proxies net – all the details about

     
  12. bucks county

    January 20, 2016 at 2:21 pm

    Greetings! Very helpful advice on this article! It is the little changes that make the biggest changes. Thanks a lot for sharing!

     
  13. massage erotique

    January 25, 2016 at 2:49 pm

    Thanks a bunch for sharing this with all of us you really know what you are talking about! Bookmarked. Please also visit my website =). We could have a link exchange arrangement between us!

     
  14. birthday cakes dublin

    February 4, 2016 at 4:52 pm

    Woh I enjoy your content, saved to my bookmarks! .

     
  15. gta 5 download

    February 10, 2016 at 12:36 am

    I used to be recommended this blog by means of my cousin. I’m not positive whether this submit is written by way of him as no one else recognise such targeted approximately my difficulty. You’re wonderful! Thanks!

     
  16. school of applied science

    October 11, 2016 at 4:03 pm

    I hadn’t thought about server mail, thanks for that (and the other tips)

     
  17. html to xml parser

    November 12, 2017 at 11:49 am

    keren masalah ku fix berkat adanya posting ini, terima kasih kakak. beruntung sekali saya menemukan artikel ini

     
  18. Amber Shahzadi

    June 28, 2019 at 2:35 pm

    still posting

     
 
Skip to toolbar