Hi,
I have just committed a major change in smtpd that'll require smtpd.conf
to be rewritten before your update to the new code.
The new grammar is not TOO different from the former one, a lot of stuff
remains exactly identical, but the ruleset is now split into two parts:
- a named action
- a matching pattern which is associated to a named action
In effect, instead of having:
accept from any for local deliver to mbox
You will have:
action "my_action" mbox
match from any for local action "my_action"
There are a few keywords that have been shortened too but all in all the
switch to new grammar is easy, the smtpd.conf man page has been updated,
and it continues being improved thanks to ingo and jmc.
The man page by itself should be enough to do the switch.
Since this is quite a major change, I also wrote a post that describes a
conversion of my own complex smtpd.conf to new grammar:
https://poolp.org/posts/2018-05-21/switching-to-opensmtpd-new-config/
[...]