Skip to content Skip to footer
Phil's Blog Logo Phil's Blog Logo
Menu
  • Blog Home

Category: Postfix

Postfix

How do I block a domain name in postfix?

January 2, 2025 / January 2, 2025 by Philip Newman | Leave a Comment

To block a domain name in Postfix, you can use the sender_access feature to reject emails from specific domains. Here’s a step-by-step guide: 1. Edit Postfix Configuration Open the main configuration file: Look for the smtpd_sender_restrictions line. If it doesn’t exist, add it, or modify it to include the check_sender_access directive: The permit ensures valid […]

Read more »

Postfix

Postfix

Block entire TLDs with Postfix.

December 22, 2019 by Philip Newman | Leave a Comment

Situation: Your mail server has become busy processing SPAM messages from all the new top level domains. Almost all the email coming from the new .top .xyz .link .party domains are SPAMMY. None of your clients send email from any of these domains and it’s not expected that any of their clients would either. Solution:Block […]

Read more »

Postfix

Multiple Sending IP With Postfix 3

September 23, 2019 / December 22, 2019 by Philip Newman | Leave a Comment

Situation:Your single mail server only has one IP and it has started getting blocked by some of the bigger players like Yahoo, Hotmail and Gmail. You know all your email being sent is legit but it’s still being blocked. You’ve slowed the rate of your outbound messages quite a bit… but your mail queue is […]

Read more »

Sidebar

Recent Posts

  • Deploy a WordPress Site Fast with bootScore and AI-Built Child Themes
  • How to add .webp image support into WordPress.
  • List of commonly used PHP Extensions
  • How to connect to SFTP using PHP8.3.
  • Verify a reCAPTCHA using PHP 8.3

Categories

  • Dovecot
  • Dribble
  • JavaScript
  • Linux
  • PHP
  • Postfix
  • WooCommerce
  • Wordpress
© 2026 Phil's Blog