mox/dkim
Mechiel Lukkien 1cf7477642
localserve: change queue to deliver to localserve smtp server
instead of skipping on any smtp and delivering messages to accounts.
we dial the ip of the smtp listener, which is localhost:1025 by default.

the smtp server now uses a mock dns resolver during spf & dkim verification for
hosted domains (localhost by default), so they should pass.

the advantage is that we get regular full smtp server behaviour for delivering
in localserve, including webhooks, and potential first-time sender delays
(though this is disabled by default now).

incoming deliveries now go through normal address resolution, where before we
would always deliver to mox@localhost. we still accept email for unknown
recipients to mox@localhost.

this will be useful upcoming alias/list functionality.

localserve will now generate a dkim key when creating a new config. existing
users may wish to reset (remove) their localserve directory, or add a dkim key.
2024-04-24 11:40:22 +02:00
..
dkim.go localserve: change queue to deliver to localserve smtp server 2024-04-24 11:40:22 +02:00
dkim_test.go expose fewer internals in packages, for easier software reuse 2023-12-14 15:39:36 +01:00
fuzz_test.go mox! 2023-01-30 14:27:06 +01:00
parser.go normalize localparts with unicode nfc when parsing 2024-03-08 21:08:40 +01:00
policy.go mox! 2023-01-30 14:27:06 +01:00
sig.go in dkim-signature header, allow FWS anywhere in "z=" (copied headers), and prevent panic in cli command "mox dkim verify" when a dkim-signature cannot be parsed 2023-02-03 13:29:47 +01:00
sig_test.go dkim selectors shouldn't be interpreted as idna 2023-10-25 12:49:39 +02:00
txt.go mox! 2023-01-30 14:27:06 +01:00
txt_test.go mox! 2023-01-30 14:27:06 +01:00