mirror of
https://github.com/foxcpp/maddy.git
synced 2025-04-06 22:47:37 +03:00
parent
e0c11040e2
commit
1579ea10b2
40 changed files with 180 additions and 181 deletions
|
@ -198,7 +198,7 @@ func (q *Queue) Init(cfg *config.Map) error {
|
|||
cfg.Custom("target", false, true, nil, modconfig.DeliveryDirective, &q.Target)
|
||||
cfg.String("hostname", true, true, "", &q.hostname)
|
||||
cfg.String("autogenerated_msg_domain", true, false, "", &q.autogenMsgDomain)
|
||||
cfg.Custom("bounce", false, false, nil, func(m *config.Map, node *config.Node) (interface{}, error) {
|
||||
cfg.Custom("bounce", false, false, nil, func(m *config.Map, node config.Node) (interface{}, error) {
|
||||
return msgpipeline.New(m.Globals, node.Children)
|
||||
}, &q.dsnPipeline)
|
||||
if _, err := cfg.Process(); err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue