James Hillyerd
c3a8eb8e3b
fix: Note missing script is not an error ( #575 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2025-07-27 11:33:04 -07:00
James Hillyerd
78d4c4f4e7
chore: Update BeforeMailAccepted ( #547 )
...
* chore: rename BeforeMailAccepted to BeforeMailFromAccepted
Signed-off-by: James Hillyerd <james@hillyerd.com >
* chore: update BeforeMailAccepted to use SMTPSession
Signed-off-by: James Hillyerd <james@hillyerd.com >
---------
Signed-off-by: James Hillyerd <james@hillyerd.com >
2024-10-19 14:06:51 -07:00
James Hillyerd
9f90a59bef
feat: Add SMTPSession and BeforeRcptToAccepted event ( #541 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2024-10-13 15:29:50 -07:00
James Hillyerd
3110183a17
feat: Add SMTPResponse type for extensions ( #539 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2024-10-05 18:16:49 -07:00
James Hillyerd
8097b3cc8a
fix: ls.Get calls use top-relative index ( #537 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2024-10-04 21:26:31 -07:00
James Hillyerd
def3e88651
luahost: use sentinel ErrNoScript ( #490 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2024-02-16 14:16:17 -08:00
James Hillyerd
ea585c4851
chore: fix more capitalization style warnings ( #487 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2024-02-15 18:31:43 -08:00
James Hillyerd
e56638cbac
various: resolve linter errors in a number of pkgs ( #434 )
...
- webui: resolve linter errors
- msghub: resolve linter errors
- policy: resolve linter errors
- extension: resolve linter errors
2023-11-13 12:21:19 -08:00
James Hillyerd
4a6b727cbc
lua: bind BeforeMessageStored function ( #418 )
...
* lua: Restore missing test log output
* lua: Use logger for test assert_async output
* lua: add InboundMessage bindings
* lua: bind BeforeMessageStored function
---------
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-11-06 18:10:02 -08:00
James Hillyerd
163a84f353
lua: fix incorrect function name ( #409 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-10-23 17:05:56 -07:00
James Hillyerd
d6c23df241
lua: Expose logger object ( #407 )
...
Allows Lua scripts to add entries to Inbuckets log
Closes #327
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-10-23 16:06:19 -07:00
James Hillyerd
9836c0ffbb
go: update mod and imports to correctly reflect major version ( #388 )
2023-09-09 12:36:21 -07:00
James Hillyerd
5a886813c3
Provide inbucket object in Lua ( #351 )
...
* fix delve fortify thingy
* Expose inbucket.after.message_stored in lua
* Expose inbucket.after.message_deleted in lua
* Expose inbucket.before.mail_accepted in lua
2023-02-27 20:22:10 -08:00
James Hillyerd
36095a2cdf
extension: split out an async specific broker for "after" events ( #346 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-02-16 16:17:06 -08:00
James Hillyerd
de617b6a73
delete event: test lua func ( #335 )
...
* lua: tidy test helpers
Signed-off-by: James Hillyerd <james@hillyerd.com >
* lua: test after_message_deleted func
Signed-off-by: James Hillyerd <james@hillyerd.com >
---------
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-02-14 10:56:43 -08:00
James Hillyerd
7f91c3e9cb
lua: Bind after_message_stored and before_mail_accepted ( #322 )
...
Signed-off-by: James Hillyerd <james@hillyerd.com >
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-01-24 16:37:26 -08:00
James Hillyerd
55addbb556
lua: Init with config and pool ( #321 )
...
* lua: Intial impl with config and pool
Signed-off-by: James Hillyerd <james@hillyerd.com >
2023-01-24 12:16:58 -08:00