How can I force the usage of the smart host?


If you use scripts on your server, they can be abused by spammers to send messages directly over port 25 without being filtered by our outbound filter. Actually, there is no reason why a script should be able to send messages over port 25.

To prevent outgoing connections over port 25 and route all traffic through the EuropeanMX filter, you can use the following IP tables in your firewall:

IPv4

  • Add
    iptables -A OUTPUT -p tcp --dport 25 -j DROP
  • Remove
    iptables -D OUTPUT -p tcp --dport 25 -j DROP

IPv6

  • Add
    ip6tables -A OUTPUT -p tcp --dport 25 -j DROP
  • Remove
    ip6tables -D OUTPUT -p tcp --dport 25 -j DROP


Please make sure that the rules are applied automatically after a restart.


You may also be interested in...
Understanding the Role of Web Application Firewalls (WAFs) in Business Security

Safeguard your online assets with Web Application Firewalls (WAFs)! Discover how WAFs protect against cyber threats like SQL injections and XSS, enhancing your business's security and compliance.

Understanding the Differences: WAF vs. Traditional Firewalls

Discover the essential differences between WAFs and traditional firewalls in our comprehensive guide. Learn how each protects, their unique advantages, and the best use cases for optimal security.

How a Web Application Firewall Secures Your Online Business

Discover the indispensable role of the web application firewall (WAF) in protecting your online business. Learn how it fends off attacks, ensures compliance, and builds trust with your customers. Dive into the future of WAF technology and how it will evolve to meet the threats of tomorrow.

Exploring Web Application Firewalls: Functionality and Benefits

Explore the crucial role of Web Application Firewalls (WAFs) in safeguarding web apps from cyber threats. Learn how WAFs work, their benefits, challenges, and best practices for optimal security.

Zero Trust Architecture: Revolutionizing Cybersecurity

Discover how Zero Trust Architecture is reshaping cybersecurity. Learn its principles, benefits, and implementation strategies for a more secure future.

Top WAF Features to Look for in 2025

Discover the future of web security! Learn the top WAF features in 2025, from AI integration and zero-day attack protection to advanced threat intelligence and API security. Stay ahead in cybersecurity!

How a WAF Prevented a Major Security Breach

Discover how a Web Application Firewall (WAF) became a game-changer for an e-commerce giant, thwarting a severe DDoS attack and preventing a catastrophic data breach. Learn the power of proactive cybersecurity!

Protecting APIs with Web Application Firewalls

Discover how Web Application Firewalls (WAFs) are crucial for protecting APIs against cyber threats, ensuring secure data exchange in today's digital landscape. Learn about their benefits, workings, and best practices.