Postfix

Setting up a new Dovecot server on FreeBSD with an OSX mail.app client

I have used Dovecot as my IMAP server since 2007. It has always been reliable and useful. Recently, I wanted to move my IMAP server to one host to another. I am the only user on this IMAP server. Wait, not I’m not, there are some test accounts on here, mostly used to verify that …

Setting up a new Dovecot server on FreeBSD with an OSX mail.app client Read More »

Using Postfix to block mail based on From/sender and To/recipient

Back in late November (now 56 days ago), I started getting huge levels of very directed spam. When I tweeted about it, I was getting perhaps 100-250 a day. I thought it would soon stop and they would target someone else. They would get into my spam folder yes, but it still takes time to …

Using Postfix to block mail based on From/sender and To/recipient Read More »

No more certificate fingerprints – only sasl auth instead

Today I gave up on my attempt to allow relay via SSL certificate fingerprints. Instead, I will use sasl auth. Yesterday I wrote about my SMTP deliver test which broke when an SSL certificate was updated. Later that day, I finished writing scripts which delivered that fingerprint file to all hosts which needed it. Today, …

No more certificate fingerprints – only sasl auth instead Read More »

Postfix suddenly starts rejecting email it had been accepting

Let’s Encrypt is an easy way to get free SSL certificates in an automated manner. You may never have to manually do another cert renewal again. Last night, I received this email: From: Cron Daemon To: dan@langille.org Subject: Cron /usr/local/bin/cert-puller Date: Fri, 23 Feb 2018 23:57:00 +0000 (UTC) /etc/rc.conf: 3: not found /etc/rc.conf: yr: not …

Postfix suddenly starts rejecting email it had been accepting Read More »

/etc/rc.subr: 1391: Syntax error: “fi”: unexpected

Yesterday, I upgraded a DigitalOcean droplet from FreeBSD 10.3 to FreeBSD 11.1 just before I headed to work. I’ve done such upgrades several times before. They all went well. This one did not. Several issues cascaded to prevent me from completely this task in a timely manner. Let me describe the events as they unfolded. …

/etc/rc.subr: 1391: Syntax error: “fi”: unexpected Read More »

reject_unknown_recipient_domain gives Recipient address rejected: Domain not found

If you’re using Postfix for submission and attempts to submit give this messages on the Postix server: Recipient address rejected: Domain not found you’re probably chroot’d. That is, your submssion entry in master.cf looks like this: submission inet n – – – – smtpd When it should look like this: submission inet n – n …

reject_unknown_recipient_domain gives Recipient address rejected: Domain not found Read More »

Postfix SMTP server: errors – TLS not available due to local problem

Postfix has been trying to tell me something: your configuration is wrong. Most cleverly, Postfix has been emailing me about this. The first email came on 22 Oct 2014. I ignored it. The second email arrived five days later on 27 October 2014: I recall looking around, but I didn’t do anything. I think I …

Postfix SMTP server: errors – TLS not available due to local problem Read More »

Scroll to Top