deltachat / mailadm

mail account administration tool for temporary and other account creation/modification
https://mailadm.readthedocs.io/
Mozilla Public License 2.0
14 stars 1 forks source link

Make pytest work with other mailcow instances than dc.develcow.de #88

Closed missytake closed 1 year ago

missytake commented 1 year ago

We had the mailcow instance hardcoded in far too many places - now dc.develcow.de/x.testrun.org is still the default, but I added MAILCOW_ENDPOINT and MAIL_DOMAIN as environment variables if you want to test it with a different mailcow.

hpk42 commented 1 year ago

Can mailcow_domain not be derived/obtained from mailcow_endpoint?

missytake commented 1 year ago

Unfortunately not, as one mailcow instance can have several domains - e.g. dc.develcow.de hosts both try.webxdc.org and x.testrun.org.

missytake commented 1 year ago

I resolved the merge conflicts, ready to be reviewed again :)