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

smtp_tls_security_level should not be withing postfix_relaytls condition? #127

Open
fliespl opened this issue Aug 10, 2023 · 3 comments
Open

Comments

@fliespl
Copy link

fliespl commented Aug 10, 2023

I have setup my postfix install with this flag set encrypt, yet receiving host seen this message as not encrypted.

I have noticed it was not added to config due to missing: postfix_relaytls (which I don't have setup).

Adding smtp_tls_security_level = encrypt manually & restarting service (without postfix_relaytls) fixed it.

Is it actually relay specific setting?

@tersmitten
Copy link
Member

See #117

@fliespl
Copy link
Author

fliespl commented Aug 10, 2023

I don't think that is true...

    - role: oefenweb.postfix
      postfix_raw_options:
        - 'smtp_tls_security_level = encrypt'
      become: true

Following setup works correctly with gmail (when not using relay).

And if I skip postfix_raw_options - it will fallback to unencrypted emails.

@tersmitten
Copy link
Member

It seems to be introduced in #9

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

No branches or pull requests

2 participants