# SSL\_connect error to 127.0.0.1\[127.0.0.1\]:10025: -1

**URL:** <https://community.ciphermail.com/t/ssl-connect-error-to-127-0-0-1-127-0-0-1-1/855>\
**Category:** General\
**Created:** [August 31, 2023, 9:12am UTC](https://community.ciphermail.com/t/ssl-connect-error-to-127-0-0-1-127-0-0-1-1/855 "2023-08-31T09:12:00Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [September 15, 2023, 10:48am UTC](https://community.ciphermail.com/t/ssl-connect-error-to-127-0-0-1-127-0-0-1-1/855/4 "2023-09-15T10:48:01Z")

</div>

Ah yes you are correct.

Because you changed the global postfix setting for `smtp_tls_security_level` and `smtp_tls_wrappermode` it means that it will be used for **all** smtp connections. What you should do it to only configure this for the smtp service used for outgoing email but not for the smtp connector which sends to the local back-end.

in `/etc/postfix/master.cf`:

```auto
smtp unix - - n - - smtp
        -o smtp_tls_security_level = encrypt
        -o smtp_tls_wrappermode = yes

```

Now email sent via smtp to external should be forced to encrypt but email sent to the back-end (via the djigzo service) should not be TLS encrypted.

---

_[View the full topic](https://community.ciphermail.com/t/ssl-connect-error-to-127-0-0-1-127-0-0-1-1/855)._
