Depuis la version 6.4 de OpenBSD, les règles de configuration du serveur de courriels opensmtp ont changé.
Ci-dessous, un exemple de conversion de règles.
Cette configuration correspond à un serveur simple de courriels utilisant les technologies :
Les règles suivantes :
accept from local for local alias <aliases> deliver to maildir "~/Maildir"
accept tagged NOSPAM for domain "domain.xyz" deliver to maildir "~/Maildir"
accept from any for domain "domain.xyz" relay via smtp://127.0.0.1:10025
accept tagged DKIM for any relay
accept from local for any relay via smtp://127.0.0.1:10027
Deviennent :
action "maildir" maildir "~/Maildir" alias <aliases>
action "relay_nospam" relay host smtp://127.0.0.1:10025
action "relay" relay
action relay_dkim relay host smtp://127.0.0.1:10027
match from local for local action "maildir"
match tag NOSPAM for domain "domain.xyz" action "maildir"
match from any for domain "domain.xyz" action "relay_nospam"
match tag DKIM for any action "relay"
match for any action relay_dkim