Title: Configure OpenSMTPD to relay on a network
Author: Solène
Date: 29 October 2018
Tags: openbsd highlight opensmtpd
Description:
With the new OpenSMTPD syntax change which landed with OpenBSD 6.4
release, changes are needed for making opensmtpd to act as a lan relay
to a smtp server. This case wasn't covered in my previous article
about opensmtpd, I was only writing about relaying from the local
machine, not for a network. Mike (a reader of the blog) shared that it
would be nice to have an article about it. Here it is! :)
A simple configuration would look like the following:
listen on em0
listen on lo0
dataswamp.org:70 /~solene/article-opensmtpd-relay:18: port field too long