aboutsummaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-04-01 13:36:30 +0800
committerRunxi Yu <me@runxiyu.org>2025-04-01 13:36:30 +0800
commit7c8e3f9dcfee3826dcf04aa3cb99453ba01331d7 (patch)
tree3819e089a29b463da5a1c47a5065cb873e7dc491 /config.go
parentBasic debugging LMTP handler (diff)
downloadforge-7c8e3f9dcfee3826dcf04aa3cb99453ba01331d7.tar.gz
forge-7c8e3f9dcfee3826dcf04aa3cb99453ba01331d7.tar.zst
forge-7c8e3f9dcfee3826dcf04aa3cb99453ba01331d7.zip
LMTP configuration update
Diffstat (limited to 'config.go')
-rw-r--r--config.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/config.go b/config.go
index 7870a63..17ad3e7 100644
--- a/config.go
+++ b/config.go
@@ -32,8 +32,11 @@ var config struct {
Execs string `scfg:"execs"`
} `scfg:"hooks"`
LMTP struct {
- Socket string `scfg:"socket"`
- MaxSize int64 `scfg:"max_size"`
+ Socket string `scfg:"socket"`
+ Domain string `scfg:"domain"`
+ MaxSize int64 `scfg:"max_size"`
+ WriteTimeout uint32 `scfg:"write_timeout"`
+ ReadTimeout uint32 `scfg:"read_timeout"`
} `scfg:"lmtp"`
Git struct {
RepoDir string `scfg:"repo_dir"`