mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-14 10:53:30 +02:00
cleanup modules. use dkim selector from config
This commit is contained in:
parent
893705169e
commit
303fae00fb
@ -1,4 +1,4 @@
|
||||
from mailu import models, dkim
|
||||
from mailu import models
|
||||
from mailu.internal import internal
|
||||
|
||||
import flask
|
||||
@ -22,7 +22,7 @@ def rspamd_dkim_key(domain_name):
|
||||
{
|
||||
'domain' : domain.name,
|
||||
'key' : key.decode('utf8'),
|
||||
'selector': 'dkim',
|
||||
'selector': flask.current_app.config.get('DKIM_SELECTOR', 'dkim'),
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user