# Hostname "smtp.tavoweb.lt" does not match the server certificate

**URL:** https://meta.discourse.org/t/hostname-smtp-tavoweb-lt-does-not-match-the-server-certificate/95271
**Category:** Self-hosting
**Created:** [August 21, 2018, 10:31am UTC](https://meta.discourse.org/t/hostname-smtp-tavoweb-lt-does-not-match-the-server-certificate/95271 "2018-08-21T10:31:43Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [August 21, 2018, 10:31am UTC](https://meta.discourse.org/t/hostname-smtp-tavoweb-lt-does-not-match-the-server-certificate/95271/1 "2018-08-21T10:31:43Z")

</div>

Sent mail to mano@tavoweb.lt (77.2ms)  
Job exception: hostname “smtp.tavoweb.lt” does not match the server certificate

Sent mail to mano@tavoweb.lt (18.1ms)  
Job exception: hostname “smtp.tavoweb.lt” does not match the server certificate

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [August 21, 2018, 10:36am UTC](https://meta.discourse.org/t/hostname-smtp-tavoweb-lt-does-not-match-the-server-certificate/95271/2 "2018-08-21T10:36:24Z")

</div>

smtp.tavoweb.lt uses an invalid security certificate. The certificate is only valid for server.tavopc.lt.

---

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [August 21, 2018, 10:37am UTC](https://meta.discourse.org/t/hostname-smtp-tavoweb-lt-does-not-match-the-server-certificate/95271/3 "2018-08-21T10:37:59Z")

</div>

So what i must do ?  
server.tavopc.lt not working on smtp too i must change hostname ?

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [August 21, 2018, 10:51am UTC](https://meta.discourse.org/t/hostname-smtp-tavoweb-lt-does-not-match-the-server-certificate/95271/4 "2018-08-21T10:51:04Z")

</div>

Get whoever runs that SMTP server to install a valid certificate for `server.tavoweb.lt`, or point your config at `server.tavopc.lt` instead.

---

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [August 21, 2018, 10:52am UTC](https://meta.discourse.org/t/hostname-smtp-tavoweb-lt-does-not-match-the-server-certificate/95271/5 "2018-08-21T10:52:42Z")

</div>

server.tavopc.LT 🙂

> [@mpalmer](#):
>
> Get whoever runs that SMTP server to install a valid certificate, or make `server.tavopc.it` point at that server and use that name.

can you explain ?

---

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [August 21, 2018, 11:08am UTC](https://meta.discourse.org/t/hostname-smtp-tavoweb-lt-does-not-match-the-server-certificate/95271/6 "2018-08-21T11:08:51Z")

</div>

> [@mpalmer](#):
>
> or point your config at `server.tavopc.lt` instead.

you mean in app.ymlfile ? if so i triyed and still no luck

---

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [August 21, 2018, 11:16am UTC](https://meta.discourse.org/t/hostname-smtp-tavoweb-lt-does-not-match-the-server-certificate/95271/7 "2018-08-21T11:16:21Z")

</div>

So confused eny changes not giving eny luck can someon explain step by step what to do ?

---

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [August 21, 2018, 11:34am UTC](https://meta.discourse.org/t/hostname-smtp-tavoweb-lt-does-not-match-the-server-certificate/95271/8 "2018-08-21T11:34:45Z")

</div>

Dam if i instaling with ssl geting tomeny redirects error if i installing without ssl mail not sending activation email wthell ?

---

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [August 21, 2018, 2:03pm UTC](https://meta.discourse.org/t/hostname-smtp-tavoweb-lt-does-not-match-the-server-certificate/95271/9 "2018-08-21T14:03:29Z")

</div>

Eny help ? what im doing wrong ?

---

<div class="post-metadata">

### Author: ![itsbhanusharma](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/itsbhanusharma/32/180717_2.png) [@itsbhanusharma](https://meta.discourse.org/u/itsbhanusharma)
#### Post date: [August 21, 2018, 2:14pm UTC](https://meta.discourse.org/t/hostname-smtp-tavoweb-lt-does-not-match-the-server-certificate/95271/10 "2018-08-21T14:14:14Z")

</div>

Is server.tavopc.it Your server? If so, Install a valid SSL certificate for the domain smtp.tavopc.it and then it should work fine.

---

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [August 21, 2018, 2:24pm UTC](https://meta.discourse.org/t/hostname-smtp-tavoweb-lt-does-not-match-the-server-certificate/95271/11 "2018-08-21T14:24:35Z")

</div>

Job exception: hostname “smtp.tavopc.lt” does not match the server certificate nop stil not working…

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [August 21, 2018, 2:29pm UTC](https://meta.discourse.org/t/hostname-smtp-tavoweb-lt-does-not-match-the-server-certificate/95271/12 "2018-08-21T14:29:29Z")

</div>

You need to use a mail server that is configured correctly. If you installed that server then you either need to go to a forum about that mail server or use a service like mailgun. It’s likely that mail from that server will not be delivered anyway.

This is not a Discourse problem.

---

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [August 21, 2018, 2:30pm UTC](https://meta.discourse.org/t/hostname-smtp-tavoweb-lt-does-not-match-the-server-certificate/95271/13 "2018-08-21T14:30:51Z")

</div>

> [@pfaffman](#):
>
> You need to use a mail server that is configured correctly. If you installed that server then you either need to go to a forum about that mail server or use a service like mailgun. It’s likely that mail from that server will not be delivered anyway.
> 
> This is not a Discourse problem.

Mail server working fine …

---

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [August 21, 2018, 2:33pm UTC](https://meta.discourse.org/t/hostname-smtp-tavoweb-lt-does-not-match-the-server-certificate/95271/14 "2018-08-21T14:33:07Z")

</div>

Server using Postfix smtp server is discourse not compatible with that? if so then what smtp servers is compatible ?

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [August 21, 2018, 10:16pm UTC](https://meta.discourse.org/t/hostname-smtp-tavoweb-lt-does-not-match-the-server-certificate/95271/15 "2018-08-21T22:16:40Z")

</div>

Any properly configured SMTP server is fine. We use Postfix for all incoming and outgoing mail for all CDCK-hosted Discourse sites and it works great. As Jay said, though, your problem isn’t a Discourse one, and you’ll probably have more luck getting support for your mail server configuration at a Postfix-specific discussion site.

---

<div class="post-metadata">

### Author: ![savas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/savas/32/131277_2.png) [@savas](https://meta.discourse.org/u/savas)
#### Post date: [August 21, 2018, 10:18pm UTC](https://meta.discourse.org/t/hostname-smtp-tavoweb-lt-does-not-match-the-server-certificate/95271/16 "2018-08-21T22:18:17Z")

</div>

😃 all Postfix working corectly server sending and recaiving emails … server in my home near my 😃

 ![15348899551142348517020924781155](https://global.discourse-cdn.com/meta/original/3X/c/2/c2de41c84c7404eef3bfa89f297cadc0e18ebe81.jpeg)

Problem fixed  
It was discourse problem …

---

<div class="post-metadata">

### Author: ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)
#### Post date: [August 21, 2018, 10:53pm UTC](https://meta.discourse.org/t/hostname-smtp-tavoweb-lt-does-not-match-the-server-certificate/95271/17 "2018-08-21T22:53:29Z")

</div>


