Wonderful! It's making me want to dabble with OpenBSD: :)

I looked at the new man page, but it's not entirely clear to me if we'll be able to reject mail to non-existent users outright before relaying to spam checking etc. with the new syntax.

Thanks!
Reio

On 21.05.18 19:52, Gilles Chehade wrote:
Hello,

It's been a while since my last post but we've been working on two major
projects within OpenSMTPD since EuroBSDCon 2017.

One of these projects was to refactor entirely the configuration file as
it came with various shortcomings that impacted many parts of the daemon
and which forced us to constantly work-around and/or deal with much more
complex code than should be.

The project, which we dubbed "new config" goes way beyond just the conf,
it alters a lot of the internal structures, it alters the format and the
way envelopes are reloaded and used during delivery, how the lookups are
done at runtime, it improves security, allow fixing configuration issues
after envelopes are on-disk and many other positive side effects.

The configuration change goes as follow:

We now split rules into a matching pattern AND a named action, so that a
rule that used to be described as:

      accept from any for any deliver to mbox

is now written as:

      action foobar mbox
      match from any for any action foobar


a change of the action foobar:

      action foobar maildir
      match from any for any action foobar

will cause all envelopes to catch up change on daemon restart, something
that was simply not doable before.


I have written an article on my blog describing how I changed my config,
you can read it here:

     https://poolp.org/posts/2018-05-21/switching-to-opensmtpd-new-config/


The code is not committed yet, I'm waiting for okays from the OpenBSD
hackers, but you can give it a try by cloning the 'dispatcher' branch
on github ... but only for OpenBSD users yet.

WE DO NEED TESTING FROM OPENBSD USERS PLIZE.

Feel free to ask questions here or on IRC.


--
You received this mail because you are subscribed to misc@opensmtpd.org
To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org

Reply via email to