~kotodama/charm-postfix-relay/+git/charm-postfix-relay:allow_tls

Last commit made on 2023-04-11
Get this branch:
git clone -b allow_tls https://git.launchpad.net/~kotodama/charm-postfix-relay/+git/charm-postfix-relay
Only Loïc Gomez can upload to this branch. If you are Loïc Gomez please log in for upload directions.

Branch merges

Branch information

Recent commits

2effc8b... by Loïc Gomez

Allow to connect to remotes with TLS even if no specific CA is added

b237249... by Colin Watson

Add sender_dependent_relayhost_maps option

Reviewed-on: https://code.launchpad.net/~cjwatson/charm-postfix-relay/+git/charm-postfix-relay/+merge/438972
Reviewed-by: Erhan Sunar <email address hidden>
Reviewed-by: Tianqi Xiao <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>
Reviewed-by: Robert Gildein <email address hidden>

634c685... by Colin Watson

Add sender_dependent_relayhost_maps option

I'd like to use this charm in Launchpad deployments. We use
sender-dependent relay hosts on at least some Launchpad machines in
order to ensure that only messages with expected envelope senders are
sent out to our authenticated relay, and this will let us reproduce the
necessary configuration. I imagine it might have other use cases as
well.

75a9c22... by Colin Watson

Default myhostname to the system's FQDN

Reviewed-on: https://code.launchpad.net/~cjwatson/charm-postfix-relay/+git/charm-postfix-relay/+merge/431427
Reviewed-by: Eric Chen <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>
Reviewed-by: Robert Gildein <email address hidden>

8f371ca... by Colin Watson

Default myhostname to the system's FQDN

There isn't really a strong reason to require units to have an
externally-resolvable hostname, especially for a subordinate charm.
It's quite common for internet email to originate at a host that isn't
even externally-routable never mind having an externally-resolvable
hostname, and this is fine as long as it's relaying to something whose
hostname can be resolved by the next hop in the chain.

A better default is to just let Postfix use the system's fully-qualified
domain name from `gethostname`, which is its default. That way, this
charm can be deployed on units that aren't exposed to the internet, and
they can just be configured to relay to something that does have an
externally-resolvable hostname.

faf01ab... by Colin Watson

Tell isort that charm.postfix is first-party

Otherwise the behaviour depends on the current directory name.

24953de... by Colin Watson

Fix domain_rewrite_map

`config` is a function with an optional scope argument, not a dictionary
that can be subscripted.

LP: #1952912

93820a4... by Robert Gildein

fix charm build with tmp solution, add zaza dependency

Reviewed-on: https://code.launchpad.net/~rgildein/charm-postfix-relay/+git/charm-postfix-relay/+merge/432124
Reviewed-by: Eric Chen <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>
Reviewed-by: Tianqi Xiao <email address hidden>

fadc150... by Robert Gildein

update and move pyproject.toml

d7fc932... by Robert Gildein

tmp fix for charm build, add zaza dependency