---
# System prepended metadata

title: demo_mail_server_01

---

# demo_mail_server_01
Preparació del hostname:
![](https://i.imgur.com/jrIEMAF.png)

Instalem el docker-compose en el nostre sistema de Linux.
Ara modifiquem el arxiu docker-compose.yml:
![](https://i.imgur.com/weZ8R6q.png)
en cop de oscarasix.test, posem osanchez.cf.
Despres modifiquem el seguent arxiu mailserver.env:
![](https://i.imgur.com/BLpqSpI.png)
![](https://i.imgur.com/DKPYVzg.png)
![](https://i.imgur.com/IPzaLsI.png)
![](https://i.imgur.com/Omo0zwq.png)
![](https://i.imgur.com/dnHyKtq.png)
![](https://i.imgur.com/wxFD5Sm.png)
![](https://i.imgur.com/AE87DGy.png)

Ara posem $docker-compose -d en el terminal:
![](https://i.imgur.com/p0yV4Gy.png)
Ara fem un docker ps per veure el que tenim creat:
![](https://i.imgur.com/lDz6cjK.png)

Posem la seguent comanda:
![](https://i.imgur.com/g9n4c3k.png)
Ara fem un $docker-compose logs:
![](https://i.imgur.com/6YarO79.png)

Ara obrim el Thunderbird:
![](https://i.imgur.com/BacvTTm.png)
![](https://i.imgur.com/rkh1Zcm.png)


Vem un altre cop el logs del docker:
![](https://i.imgur.com/26b2Het.png)

Ara amb una alre comple el creem y el afegim amb la seguent comanda:

![](https://i.imgur.com/h2nSr6f.png)
Ara anem al thuntherbird:
![](https://i.imgur.com/uiGLVhd.png)

Y ya esta la proba:
![](https://i.imgur.com/zHDkVSc.png)




