Skip to content

Ninniku IT Hub

Provide open-source solutions for businesses.

Menu
  • Home
  • Technical Support
  • Traning
    • Arduino for IoT and ERP Integration
  • Expert Certification
  • Plug-ins (Taiwan)
    • Accounting for Taiwan
    • Meeting Room Booking
Menu

獨立SMTP寄信伺服器 + Auto Ban

Posted on 2019-04-14

自架伺服器,一定會遇到擾人的問題。有人不斷來試你的寄信主機,然後試出密碼後,借用你的寄信伺服器大量寄發垃圾郵件。
解決方案:利用 Mail Log 搭配 iptables 防火牆管理惡意入侵IP。

可以自行開發或使用流通的解決方案。

自行開發:

檢查 /var/log/mail.log 登入失敗過多的IP,寫入IPTABLE DROP

使用社群套件:
https://help.ubuntu.com/community/Postfix

https://help.ubuntu.com/community/Fail2ban

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Apple
  • iDempiere
  • IoT
  • IT Tools
  • Linux
  • Productivity
  • SAP
  • uncategorized
  • Wordpress

Tags

Access Arduino Bad Dept Booking Business One Button Confirmation Developer ERP Exam Free git github GPIO iDempiere Jasper Report Java Language LED Linux M1 MacOS Material Receipt Maven Meeting room Open Source OSGi Period Control Permission Plug-In PostgreSQL Potentiometer Premiere Pro Process PWM Raspberry PI Resistor Role Sales Management SWT Tips Ubuntu Video Editor Wordpress Workflow

Recent Posts

  • Unlocking Creative Potential: Top Open-Source Alternatives to Adobe Premiere Pro for Video Editing
  • Enhancing Meeting Room Efficiency with the iDempiere Meeting Room Booking Plug-in
  • How to Create a GitHub Repository from a Local Folder
  • Demystifying OSGi Service Ranking: A Comprehensive Guide
  • PostgreSQL Time Travel: Upgrading from Version 9.6 to 14

Meta

  • Register
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2023 Ninniku IT Hub | Design: Newspaperly WordPress Theme