# Postfix

Published articles for Postfix.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Postfix on Kubernetes: A Step-by-Step Email Guide

DevFeed: [Postfix on Kubernetes: A Step-by-Step Email Guide](<https://devfeed.tech/articles/postfix-on-kubernetes-a-step-by-step-email-guide-28524.md>)

Original publisher: [Read original article](<https://blog.risingstack.com/postfix-on-kubernetes-a-step-by-step-email-guide/>)

Author: RisingStack Engineering

Published: 2025-09-25T04:12:00Z

Content type: tutorial

Language: en

Sources: [RisingStack](<https://devfeed.tech/sources/risingstack.md>)

Topics: [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [email](<https://devfeed.tech/topics/email.md>), [Authorization](<https://devfeed.tech/topics/authorization.md>)

Tags: [authentication](<https://devfeed.tech/tags/authentication.md>), [email](<https://devfeed.tech/tags/email.md>), [guide](<https://devfeed.tech/tags/guide.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [postfix](<https://devfeed.tech/tags/postfix.md>), [spoofing](<https://devfeed.tech/tags/spoofing.md>)

### AI overview

A step-by-step guide to running a Postfix email server on Kubernetes. It explains the infrastructure and email-authentication requirements, including a fixed outbound IP address, a domain, PTR and SPF records, and DKIM and DMARC configuration.

### Source excerpt

You are in the process of putting together your application. While designing your authorization solution, you realize you will need to send emails to potential clients.Using a third-party service (like SendGrid or Mailgun) to cover your needs for now looks pretty attractive. After all, you don't have any users yet, they offer free tiers, and [...] The post Postfix on Kubernetes: A Step-by-Step Email Guide appeared first on RisingStack Engineering.

## GKE in production

DevFeed: [GKE in production](<https://devfeed.tech/articles/gke-in-production-37731.md>)

Original publisher: [Read original article](<https://carlosbecker.com/posts/gke/>)

Author: Carlos Alexandro Becker

Published: 2017-07-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Carlos Becker](<https://devfeed.tech/sources/carlos-becker.md>)

Topics: [Gke](<https://devfeed.tech/topics/gke.md>), [Google Cloud Platform (GCP)](<https://devfeed.tech/topics/google-cloud.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Digital Ocean](<https://devfeed.tech/topics/digital-ocean.md>)

Tags: [aws](<https://devfeed.tech/tags/aws.md>), [cloud-sql](<https://devfeed.tech/tags/cloud-sql.md>), [digitalocean](<https://devfeed.tech/tags/digitalocean.md>), [gke](<https://devfeed.tech/tags/gke.md>), [google-cloud](<https://devfeed.tech/tags/google-cloud.md>), [health-checks](<https://devfeed.tech/tags/health-checks.md>), [heroku](<https://devfeed.tech/tags/heroku.md>), [ingress](<https://devfeed.tech/tags/ingress.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [postfix](<https://devfeed.tech/tags/postfix.md>), [sendgrid](<https://devfeed.tech/tags/sendgrid.md>), [spinnaker](<https://devfeed.tech/tags/spinnaker.md>)

### AI overview

A developer describes deploying small applications on GKE and lessons learned from moving between AWS and Google Cloud. The article covers SSL with Kubernetes Ingress, email delivery through SendGrid, Cloud SQL access through a sidecar container, and deployment with a shell script or Spinnaker.

### Source excerpt

I've been working with DigitalOcean, Heroku and AWS for some years now.

## Postfix - automatically drop outbound mail

DevFeed: [Postfix - automatically drop outbound mail](<https://devfeed.tech/articles/postfix-automatically-drop-outbound-mail-27616.md>)

Original publisher: [Read original article](<https://gagor.pro/2014/03/postfix-automatically-drop-outbound-mail/>)

Author: Tom

Published: 2014-03-18T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [Development](<https://devfeed.tech/topics/development.md>), [Server](<https://devfeed.tech/topics/server.md>)

Tags: [debug](<https://devfeed.tech/tags/debug.md>), [development](<https://devfeed.tech/tags/development.md>), [linux](<https://devfeed.tech/tags/linux.md>), [logs](<https://devfeed.tech/tags/logs.md>), [mail](<https://devfeed.tech/tags/mail.md>), [postfix](<https://devfeed.tech/tags/postfix.md>), [server](<https://devfeed.tech/tags/server.md>), [test](<https://devfeed.tech/tags/test.md>)

### AI overview

A configuration tutorial for Postfix on a development server. It shows how to permit outbound mail to one domain while discarding mail sent to all other destinations, then reload and test the configuration.

### Source excerpt

I have development server with postfix - I wanted to allow outbound traffic to one domain but cut off all the rest. I definitely do not want that test mail or any debug info goes to service users. I have to add something like that to /etc/postfix/transport: allowed.domain.com : * discard: Then run: postmap /etc/postfix/transport At end, add these to /etc/postfix/main.cf: transport_maps = hash:/etc/postfix/transport Reload postfix: postfix reload Test if it works:

## Postfix: ciekawy problem z smtpd\_delay\_reject i permit\_sasl\_authenticated

DevFeed: [Postfix: ciekawy problem z smtpd\_delay\_reject i permit\_sasl\_authenticated](<https://devfeed.tech/articles/postfix-ciekawy-problem-z-smtpd-delay-reject-i-permit-sasl-authenticated-27584.md>)

Original publisher: [Read original article](<https://gagor.pro/2013/10/postfix-ciekawy-problem-z-smtpd_delay_reject-i-permit_sasl_authenticated/>)

Author: Tom

Published: 2013-10-08T00:00:00Z

Content type: tutorial

Language: pl

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [SSL](<https://devfeed.tech/topics/ssl.md>), [client](<https://devfeed.tech/topics/client.md>)

Tags: [debug](<https://devfeed.tech/tags/debug.md>), [linux](<https://devfeed.tech/tags/linux.md>), [postfix](<https://devfeed.tech/tags/postfix.md>), [sasl](<https://devfeed.tech/tags/sasl.md>), [smtp](<https://devfeed.tech/tags/smtp.md>), [ssl](<https://devfeed.tech/tags/ssl.md>)

### AI overview

A troubleshooting article about a Postfix configuration problem involving smtpd_delay_reject and permit_sasl_authenticated. Changing the restriction ordering resolved authentication failures for SSL SMTP submissions, and the author also addressed a user-spoofing issue.

### Source excerpt

Trafił mi się ostatnio ciekawy problem - otóż standardowo przed końcem roku poprawiałem filtry antyspamowe i optymalizowałem konfigurację Postfix'a. Chciałem zmienić domyślną wartość smtpd_delay_reject=yes na smtpd_delay_reject=no by odrzucać spamerów najwcześniej jak to możliwe. I ciekawe kuku, które sobie zrobiłem polegało na tym że sam nie mogłem wysyłać poczty po logowaniu SSL'em... Dostawałem przy tym bardzo wymowną odpowiedź: Oct 8 16:30:39 tyr postfix/smtpd[21039]: NOQUEUE: reject: CONNECT from unknown[67.x.x.x]: 554 5.7.1 <unknown [67.x.x.x]>: Client host rejected: Access denied; proto=SMTP</unknown> Więc wrzuciłem debug_peer_list = 67.x.x.x do main.cf by zobaczyć dokładniej o co biega:

## Ochrona usług przed atakami brute force z fail2ban'em

DevFeed: [Ochrona usług przed atakami brute force z fail2ban'em](<https://devfeed.tech/articles/ochrona-us-ug-przed-atakami-brute-force-z-fail2ban-em-27501.md>)

Original publisher: [Read original article](<https://gagor.pro/2011/10/ochrona-uslug-przed-atakami-brute-force-z-fail2banem/>)

Author: Tom

Published: 2011-10-03T00:00:00Z

Content type: tutorial

Language: pl

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [Fail2ban](<https://devfeed.tech/topics/fail2ban.md>), [Logging](<https://devfeed.tech/topics/logging.md>), [ssh](<https://devfeed.tech/topics/ssh.md>)

Tags: [admin](<https://devfeed.tech/tags/admin.md>), [apache](<https://devfeed.tech/tags/apache.md>), [debian](<https://devfeed.tech/tags/debian.md>), [fail2ban](<https://devfeed.tech/tags/fail2ban.md>), [linux](<https://devfeed.tech/tags/linux.md>), [postfix](<https://devfeed.tech/tags/postfix.md>), [sasl](<https://devfeed.tech/tags/sasl.md>), [security](<https://devfeed.tech/tags/security.md>), [spam](<https://devfeed.tech/tags/spam.md>), [ssh](<https://devfeed.tech/tags/ssh.md>), [syslog](<https://devfeed.tech/tags/syslog.md>)

### AI overview

This Polish article explains how Fail2ban can monitor authentication failures in syslog and protect publicly accessible services from brute-force attacks and other abusive activity. It discusses basic configuration, supported services, modular filters and actions, performance considerations, and installation on Debian.

### Source excerpt

Bardzo często konfigurując usługi dostępne publicznie poświęca się sporo czasu na maksymalne zwiększenie bezpieczeństwa przez "dopieszczanie" konfiguracji (certyfikaty z mocnym szyfrowaniem, ochronę pewnych stron hasłem, dostęp do SSH tylko kluczami, itd.) ale całkowicie pomija się przygotowanie systemu aktywnie monitorującego błędne próby autoryzacji. Oczywiście nie można umniejszać wagi pierwszego z wymienionych etapów ale zdecydowanie nie powinno pomijać się też tego drugiego. Przecież każdy admin chciałby wiedzieć gdy ktoś próbuje włamać się na jego serwer (FTP, HTTP, SSH, itp.) - tylko ilu z Nas zadaje sobie trud by uruchomić taki system?

## pflogsumm - Mail Statistics for Postfix

DevFeed: [pflogsumm - Mail Statistics for Postfix](<https://devfeed.tech/articles/pflogsumm-mail-statistics-for-postfix-27497.md>)

Original publisher: [Read original article](<https://gagor.pro/2011/09/pflogsumm-mail-statistics-for-postfix/>)

Author: Tom

Published: 2011-09-22T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [monitor](<https://devfeed.tech/topics/monitor.md>), [Server](<https://devfeed.tech/topics/server.md>)

Tags: [command](<https://devfeed.tech/tags/command.md>), [generate](<https://devfeed.tech/tags/generate.md>), [health](<https://devfeed.tech/tags/health.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [installation](<https://devfeed.tech/tags/installation.md>), [linux](<https://devfeed.tech/tags/linux.md>), [linux-mail-tools](<https://devfeed.tech/tags/linux-mail-tools.md>), [logs](<https://devfeed.tech/tags/logs.md>), [mail](<https://devfeed.tech/tags/mail.md>), [mail-server-management](<https://devfeed.tech/tags/mail-server-management.md>), [monitor](<https://devfeed.tech/tags/monitor.md>), [pflogsumm](<https://devfeed.tech/tags/pflogsumm.md>), [postfix](<https://devfeed.tech/tags/postfix.md>), [postfix-log-analysis](<https://devfeed.tech/tags/postfix-log-analysis.md>), [postfix-mail-statistics](<https://devfeed.tech/tags/postfix-mail-statistics.md>), [postfix-monitoring](<https://devfeed.tech/tags/postfix-monitoring.md>), [process](<https://devfeed.tech/tags/process.md>), [reporting](<https://devfeed.tech/tags/reporting.md>), [review](<https://devfeed.tech/tags/review.md>), [run](<https://devfeed.tech/tags/run.md>), [server](<https://devfeed.tech/tags/server.md>), [standard](<https://devfeed.tech/tags/standard.md>), [statistics](<https://devfeed.tech/tags/statistics.md>), [volume](<https://devfeed.tech/tags/volume.md>)

### AI overview

A tutorial on using pflogsumm with Postfix logs to generate mail statistics for reviewing a mail server's health, traffic, and communication issues. It covers Debian installation, command-line use, log rotation, and periodic cron-based reporting.

### Source excerpt

Learn how to use pflogsumm to generate comprehensive mail statistics for Postfix, helping you monitor and manage your mail server effectively.

## Postfix sender\_dependent\_relayhost\_maps

DevFeed: [Postfix sender\_dependent\_relayhost\_maps](<https://devfeed.tech/articles/postfix-sender-dependent-relayhost-maps-34388.md>)

Original publisher: [Read original article](<https://tapoueh.org/blog/2010/09/postfix-sender_dependent_relayhost_maps/>)

Author: Dimitri Fontaine PostgreSQL Major Contributor; Author

Published: 2010-09-23T12:30:00Z

Content type: tutorial

Language: en

Sources: [Dimitri Fontaine](<https://devfeed.tech/sources/dimitri-fontaine.md>)

Topics: [email](<https://devfeed.tech/topics/email.md>), [Unix](<https://devfeed.tech/topics/unix.md>), [Server](<https://devfeed.tech/topics/server.md>), [ssh](<https://devfeed.tech/topics/ssh.md>)

Tags: [email](<https://devfeed.tech/tags/email.md>), [password](<https://devfeed.tech/tags/password.md>), [postfix](<https://devfeed.tech/tags/postfix.md>), [server](<https://devfeed.tech/tags/server.md>), [setup](<https://devfeed.tech/tags/setup.md>), [ssh](<https://devfeed.tech/tags/ssh.md>), [trust](<https://devfeed.tech/tags/trust.md>), [unix](<https://devfeed.tech/tags/unix.md>)

### AI overview

A tutorial on configuring Postfix to use different relay hosts based on the sender's From address, such as separating personal and work email. It also discusses generating map and password files and encrypting communication with the relay host.

### Source excerpt

The previous article about M-x mailq has raised several mails asking me details about the Postfix setup I'm talking about. The problem we're trying to solve is having a local MTA to send mails, so that any old-style Unix tool just works, instead of only the MUA you've spent time setting up. Postfix makes it possible to do that quite easily, but it gets a little more involved if you have more than one relayhost that you want to use depending on your current From address. Think personal email against work email, or avoiding your ISP network when sending your private mails, hoping directly on a server you own or trust.

## Scratch that itch: M-x mailq

DevFeed: [Scratch that itch: M-x mailq](<https://devfeed.tech/articles/scratch-that-itch-m-x-mailq-34390.md>)

Original publisher: [Read original article](<https://tapoueh.org/blog/2010/09/scratch-that-itch-m-x-mailq/>)

Author: Dimitri Fontaine PostgreSQL Major Contributor; Author

Published: 2010-09-23T07:30:00Z

Content type: tutorial

Language: en

Sources: [Dimitri Fontaine](<https://devfeed.tech/sources/dimitri-fontaine.md>)

Topics: [email](<https://devfeed.tech/topics/email.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Unix](<https://devfeed.tech/topics/unix.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>)

Tags: [authentication](<https://devfeed.tech/tags/authentication.md>), [command](<https://devfeed.tech/tags/command.md>), [email](<https://devfeed.tech/tags/email.md>), [postfix](<https://devfeed.tech/tags/postfix.md>), [queue](<https://devfeed.tech/tags/queue.md>), [shell](<https://devfeed.tech/tags/shell.md>), [smtp](<https://devfeed.tech/tags/smtp.md>), [systems](<https://devfeed.tech/tags/systems.md>), [terminal](<https://devfeed.tech/tags/terminal.md>)

### AI overview

The article introduces M-x mailq, an Emacs command for viewing and flushing the Postfix mail queue. It addresses mail queued during unavailable relay tunnels and describes inspecting or selectively managing queued messages.

### Source excerpt

Nowadays, most people would think that email is something simple, you just setup your preferred client (that's called a MUA) with some information such as the smtp host you want it to talk to (that's call a MTA and this one is your relayhost). Then there's all the receiving mails part, and that's smtp again on the server side. Then there's how to get those mail, read them, flag them, manage them, and that's better served by IMAP. Let's talk about sending mails in smtp for this entry.