# Envoit de courriel impossible - not allowed in state 1

**URL:** <https://forum.yunohost.org/t/envoit-de-courriel-impossible-not-allowed-in-state-1/27632>\
**Category:** Support apps\
**Tags:** sogo, french\
**Created:** [December 15, 2023, 1:08pm UTC](https://forum.yunohost.org/t/envoit-de-courriel-impossible-not-allowed-in-state-1/27632 "2023-12-15T13:08:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Plumf](https://forum.yunohost.org/user_avatar/forum.yunohost.org/plumf/32/7174_2.png) [@Plumf](https://forum.yunohost.org/u/Plumf)\
**Post date:** [December 15, 2023, 1:08pm UTC](https://forum.yunohost.org/t/envoit-de-courriel-impossible-not-allowed-in-state-1/27632/1 "2023-12-15T13:08:52Z")

</div>

Depuis quelques temps je n’arrive plus à envoyer de courriels avec SOGO, au moment de l’envoit je tombe sur cette erreur :

 ![Capture SOGo_ bug-yunohost](https://forum.yunohost.org/uploads/default/original/2X/f/f5889aa78afb3fb975cd6d66623ec8519b475737.png)

Cela m’empêche d’envoyer le courriel.

---

<div class="post-metadata">

**Author:** ![Plumf](https://forum.yunohost.org/user_avatar/forum.yunohost.org/plumf/32/7174_2.png) [@Plumf](https://forum.yunohost.org/u/Plumf)\
**Post date:** [December 15, 2023, 8:59pm UTC](https://forum.yunohost.org/t/envoit-de-courriel-impossible-not-allowed-in-state-1/27632/2 "2023-12-15T20:59:30Z")

</div>

J’ai trouvé la solution sur la forge du plugin :

> <https://github.com/YunoHost-Apps/sogo_ynh/issues/20>
>
> Fresh installed V11 Yunohost with all updates since today.
> 
> Everything works, …also sending mails via Android, IOS, Outlook and Thunderbird. There is only the problem, if one sends e-mail via webmail/sogo then immediately "a red box telling me - not allowed in stage 1 - only with a close button" shows up.
> 
> Is there a workaround?
> 
> Thank yqu very much.

SOGo utilise `stunnel4` pour se connecter en SMTP, vérifier si le service fonctionne :

```auto
systemctl status stunnel4

```

Si il est désactivé le retour devrait ressembler à ça :

```auto
systemctl status stunnel4
● stunnel4.service - LSB: Start or stop stunnel 4.x (TLS tunnel for network dae>
     Loaded: loaded (/etc/init.d/stunnel4; generated)
     Active: inactive (dead)
       Docs: man:systemd-sysv-generator(8)

```

Pour le lancer :

```auto
systemctl start stunnel4

```

Vérifier si il fonctionne avec la première commande et essayer d’envoyer un courriel

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [December 30, 2023, 9:00pm UTC](https://forum.yunohost.org/t/envoit-de-courriel-impossible-not-allowed-in-state-1/27632/3 "2023-12-30T21:00:23Z")

</div>

Closed on December 30, 2023, 9:00pm UTC

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
