Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enh] Be able to use postfix as a backup mx hosts #1253

wants to merge 2 commits into
base: dev
Choose a base branch


Copy link

@zamentur zamentur commented Jun 10, 2021

The problem

I am using a yunohost server as backup mx for my personal arm server. I need to twik postfix conf, i could create a custom hook with an app, but i think this feature could help other people and is not so big so i suggest it to the core.


Add 2 settings to allow to create a secondary MX able to resend mail during 20days. I think 20 days is enough to finish holidays and be happy, but we could discuss this delay.

PR Status

Waiting CI (tested on ynh-dev and conf tested on a real server)

How to test

yunohost settings set '' -v "domain2.tld,domain3.tld"
yunohost settings set 'smtp.backup_mx.emails_whitelisted' -v "camille@domain2.tld,fred@domain3.tld"
cat /etc/postfix/relay_recipients
cat /etc/postfix/

You can check on a real server. You need to configure a MX record and stop your primary MX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
1 participant