mirror of
https://github.com/chatmail/relay.git
synced 2026-08-10 10:30:51 +00:00
feat(dovecot): advertise privacy_mail as admin contact, drop server comment
- The hardcoded root@relaydomain address was unusued/unrooted and no one knew about it, it was used nowhere. Better to use privacy_mail which operators can set which might eventually be shown in the UI's relay list. - remove generic useless mail_server_comment string. Clients receive these values as IMAP METADATA /shared/admin and /shared/comment only for internal debugging/info purposes.
This commit is contained in:
@@ -40,8 +40,12 @@ service imap {
|
|||||||
process_limit = 50000
|
process_limit = 50000
|
||||||
}
|
}
|
||||||
|
|
||||||
mail_server_admin = mailto:root@{{ config.mail_domain }}
|
{% if config.privacy_mail %}
|
||||||
mail_server_comment = Chatmail server
|
# Advertised to clients as IMAP METADATA /shared/admin (RFC 5464).
|
||||||
|
# The privacy_mail contact from chatmail.ini is used because it is
|
||||||
|
# the only address set by an operator.
|
||||||
|
mail_server_admin = mailto:{{ config.privacy_mail }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# `zlib` enables compressing messages stored in the maildir.
|
# `zlib` enables compressing messages stored in the maildir.
|
||||||
# See
|
# See
|
||||||
|
|||||||
Reference in New Issue
Block a user