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] Allow admin to specify an smtp relay #773

wants to merge 1 commit into
base: stretch-unstable


Copy link

commented Aug 13, 2019

The problem

Some isp block 25 port others have ips listed in rbl and can't be unlisted. This allow admin to get update of postfix even if they specify a relay.


Use settings and the regenconf.
Inspired by

PR Status

Ready, i have tested regen conf with and without account. I had tested with a yunohost relay, but i was not able to test with smtp orange relay bacause i have no orange account.

How to test

yunohost settings set -v
yunohost settings set smtp.relay.port -v 587
yunohost settings set smtp.relay.user -v john
yunohost settings set smtp.relay.password -v trololo1234
yunohost service regenconf postfix
echo 'toto' | mail -s 'toto' your@email.tld

Note you can use a yunohost as smtp relay, but you need to add the domain in yunohost and add to the user account all alias needed.


  • Principle agreement 0/2 :
  • Quick review 0/1 :
  • Simple test 0/1 :
  • Deep review 0/1 :

This comment has been minimized.

Copy link
Contributor Author

commented Aug 13, 2019

Note this will be usefull in our infra to route all email through saperlipopette... And fix the issue of missing reverse dns on ipv6 or misconfigured in ipv4.


This comment has been minimized.

Copy link

commented Aug 19, 2019

I really have no good knowledge of email but ok on the principle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.