mox/queue
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
..
direct.go add a webapi and webhooks for a simple http/json-based api 2024-04-15 21:49:02 +02:00
dsn.go add a webapi and webhooks for a simple http/json-based api 2024-04-15 21:49:02 +02:00
hook.go fix potential endless loop during queue msg/hook pagination when environment has TZ UTC, triggered by tests introduced in previous test 2024-04-16 14:18:11 +02:00
hook_test.go fix potential endless loop during queue msg/hook pagination when environment has TZ UTC, triggered by tests introduced in previous test 2024-04-16 14:18:11 +02:00
localserve.go localserve: change queue to deliver to localserve smtp server 2024-04-24 11:40:22 +02:00
queue.go localserve: change queue to deliver to localserve smtp server 2024-04-24 11:40:22 +02:00
queue_test.go localserve: change queue to deliver to localserve smtp server 2024-04-24 11:40:22 +02:00
submit.go localserve: change queue to deliver to localserve smtp server 2024-04-24 11:40:22 +02:00
suppression.go add a webapi and webhooks for a simple http/json-based api 2024-04-15 21:49:02 +02:00
suppression_test.go add a webapi and webhooks for a simple http/json-based api 2024-04-15 21:49:02 +02:00