Postfix Consulting
Reliable, secure Postfix setup and administration — including TLS encryption, spam/virus filtering, high availability, authentication integration, and troubleshooting.
Get Postfix HelpOur Postfix Consulting Services
Zwiegnet offers specialized Postfix consulting — the robust, secure, and highly configurable open-source mail transfer agent preferred for production email environments on Linux. We help organizations deploy and maintain reliable email infrastructure with best-practice security and deliverability.
Our Postfix services include:
- Installation & Basic Configuration – Fresh Postfix setups, virtual domains/aliases, relayhost configuration, and integration with local mailboxes or remote delivery.
- TLS/SSL Encryption – Mandatory TLS, opportunistic encryption, DANE, certificate integration (Let’s Encrypt or commercial), and SMTP opportunistic TLS.
- Authentication & SASL – Integration with Dovecot SASL, Cyrus SASL, LDAP, or Active Directory for authenticated relay.
- Spam & Virus Protection – Amavis + SpamAssassin + ClamAV integration, greylisting, DNSBL (RBL) checks, and policy daemons.
- Content Filtering & Policy – Header/body checks, Milter integration (OpenDKIM, OpenDMARC), and custom restrictions.
- High Availability & Clustering – Multi-node setups with load balancing, failover, and shared queue storage.
- Deliverability Optimization – SPF/DKIM/DMARC alignment, IP reputation management, and bounce handling.
- Monitoring & Logging – Centralized logging, Prometheus exporters, alert setup, and log analysis.
- Performance Tuning – Queue management, concurrency limits, and resource control for high-volume environments.
- Troubleshooting & Break-Fix – Rapid diagnosis of delivery failures, queue issues, relay denials, and blacklisting problems.
Ideal for business email hosting, transactional mail systems, mailing lists, or replacing proprietary mail servers.
Located between Madison and Milwaukee, Wisconsin since 2009 — direct access to experienced Postfix administrators with proven production deployments.
Who is allowed to relay, and where the queue sits
Postfix decides relay in smtpd_relay_restrictions, not in a feeling about "open relay." A client may relay if it authenticated, if it is in mynetworks, or if you wrote a permit that is broader than you think. Order matters. The first matching permit or reject wins. permit_mynetworks ahead of SASL is why a host that should have authenticated is instead trusted by IP, including a NATed office that changes addresses. "Relay access denied" in the log is this list saying no.
postmap builds the hash or lmdb next to a map file. Editing virtual and forgetting postmap means Postfix still has the old map. postfix reload does not rebuild maps. The queue is postqueue -p and postcat -q. A deferred message with "connection timed out" is a firewall or a destination that does not answer on 25. A deferred message with "certificate verification failed" is TLS, and the certificate file paths are the certificate page.
Office 365 as a smarthost is a different authentication problem, already written up for OAuth on RHEL and for the older OAuth note. Do not put the mailbox password in sasl_passwd and call it done if that tenant has disabled basic auth. Spam checks belong in a content filter you can bypass for a known forward, not in a regexp you will be afraid to remove.
Questions
Why does a remote client get Relay access denied?
It matched neither SASL nor mynetworks, so smtpd_relay_restrictions rejected it. The log line names the restriction. Authenticate the client, or add its address on purpose. Do not permit unauthenticated relay to fix one user.
I edited virtual and aliases did not change. What did I skip?
postmap on that file, and a reload if the main.cf path changed. Postfix reads the indexed map, not the text you just saved. postmap -q the address against the map to see what it resolves to now.