Files
fedora-infra_ansible/roles/mailman3/templates/fedmsg-plugin.toml.j2
Michal Konecny 24eb9a4eda [mailman3] Use the correct mailman certificate
Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-07-02 10:28:17 +02:00

74 lines
2.0 KiB
Django/Jinja

# A sample configuration for fedora-messaging. This file is in the TOML format.
amqp_url = "amqps://mailman{{ env_suffix }}:@rabbitmq{{ env_suffix }}.fedoraproject.org/%2Fpubsub"
passive_declares = false
publish_exchange = "amq.topic"
{% if env == "staging" %}
topic_prefix = "org.fedoraproject.stg"
{% else %}
topic_prefix = "org.fedoraproject.prod"
{% endif %}
[tls]
ca_cert = "/etc/pki/rabbitmq/mailman/mailman.ca"
keyfile = "/etc/pki/rabbitmq/mailman/mailman.key"
certfile = "/etc/pki/rabbitmq/mailman/mailman.crt"
[client_properties]
app = "Mailman3"
[exchanges."amq.topic"]
type = "topic"
durable = true
auto_delete = false
arguments = {}
[consumer_config]
# List-Ids that will not be relayed on the bus
excluded_lists = [
'scm-commits', # too much traffic
'council-private', # private list
'cwg-private', # private list
'fesco', # private list
'security-private', # private list
'diversity-private', # private list
]
# URL of the HyperKitty instance
archive_base_url = "https://lists{{ env_suffix }}.fedoraproject.org/archives/"
# Domains where we can extract the username from the address
owned_domains = ["fedoraproject.org", "centos.org"]
[log_config]
version = 1
disable_existing_loggers = true
[log_config.formatters.simple]
format = "[%(levelname)s %(name)s] %(message)s"
[log_config.handlers.console]
class = "logging.StreamHandler"
formatter = "simple"
stream = "ext://sys.stdout"
[log_config.loggers.fedora_messaging]
level = "INFO"
propagate = false
handlers = ["console"]
# Twisted is the asynchronous framework that manages the TCP/TLS connection, as well
# as the consumer event loop. When debugging you may want to lower this log level.
[log_config.loggers.twisted]
level = "INFO"
propagate = false
handlers = ["console"]
# Pika is the underlying AMQP client library. When debugging you may want to
# lower this log level.
[log_config.loggers.pika]
level = "WARNING"
propagate = false
handlers = ["console"]
[log_config.root]
level = "ERROR"
handlers = ["console"]