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

RELAY_TLS_CA #21

Open
Kodomo opened this issue Apr 14, 2021 · 1 comment
Open

RELAY_TLS_CA #21

Kodomo opened this issue Apr 14, 2021 · 1 comment

Comments

@Kodomo
Copy link

Kodomo commented Apr 14, 2021

When I try start the container I get a

Settings postfix using postconf variables from environment...
Settings postfix...
The file at RELAY_TLS_CA must exists and be a valid file
run-parts: /docker-entrypoint.d/21postfix: exit status 1

docker-compose
smtp-relay: image: turgon37/smtp-relay:latest environment: - [email protected] - RELAY_MYHOSTNAME=smtp.xx.xx - RELAY_MYDOMAIN=ilab.cl - RELAY_MYNETWORKS=127.0.0.0/8 172.22.1.0/24 - RELAY_HOST=in-v3.mailjet.com - RELAY_LOGIN=xx - RELAY_PASSWORD=xx ports: - 25:25

@lsascha
Copy link

lsascha commented May 8, 2021

Try to set RELAY_USE_TLS to "no".

for me that worked because it seems it always requires some Certifiacte file and the mentioned default location is empty in the container. and RELAY_USE_TLS is by default set to "yes".

Not sure if it then falls back to an unsecure connection though.

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

No branches or pull requests

2 participants