# SOGo can't send Mails

**URL:** <https://forum.yunohost.org/t/sogo-cant-send-mails/35262>\
**Category:** Support apps\
**Tags:** sogo, bug, english\
**Created:** [February 6, 2025, 1:04pm UTC](https://forum.yunohost.org/t/sogo-cant-send-mails/35262 "2025-02-06T13:04:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![VS4](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/v/848f3c/32.png) [@VS4](https://forum.yunohost.org/u/VS4)\
**Post date:** [February 6, 2025, 1:04pm UTC](https://forum.yunohost.org/t/sogo-cant-send-mails/35262/1 "2025-02-06T13:04:58Z")

</div>

**What type of hardware are you using** : VPS bought online  
**What YunoHost version are you running** : 12.0.11  
**What app is this about** : SOGo 5.8.0~ynh7

### Describe your issue

Hi.  
I never used SOGo to send mails, just the calendar features.  
So I was surprised when I recognized that sending mails does not happend, just the classic red screen “Not allowed in state 1”.  
Sending and receiving mails with thunderbird were no problem.  
The WWW tells you to enable stunnel4, but this service ist not installed on my yunohost version and I don’t want to mess around without knowing what I do.  
For people with similar problem like me, here’s my short workaround:  
Enable in the admin panel - tools - yunohost settings - Email: Authorized IPv6 - yes (in german: Autorisiere das IPv6: Ja)  
Even you does not configure the IPv6 in the DNS settings at all. In my case there is no IPv6 available.  
After that sending Mails with SOGo is no more a problem.

For the maintainer of the app is the workaround hopefully a tip for a solution in the future.

### Share relevant logs or error messages

[https://paste.yunohost.org/raw/qifahituva](https://paste.yunohost.org/raw/qifahituva)

---

<div class="post-metadata">

**Author:** ![Josue](https://forum.yunohost.org/user_avatar/forum.yunohost.org/josue/32/933_2.png) [@Josue](https://forum.yunohost.org/u/Josue)\
**Post date:** [February 6, 2025, 6:44pm UTC](https://forum.yunohost.org/t/sogo-cant-send-mails/35262/2 "2025-02-06T18:44:01Z")

</div>

Hello,

Thanks for reporting this issue. Would be curious to see the sogo log (with the errror) when you try to send email when ipv6 is disabled.

---

<div class="post-metadata">

**Author:** ![VS4](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/v/848f3c/32.png) [@VS4](https://forum.yunohost.org/u/VS4)\
**Post date:** [February 6, 2025, 9:04pm UTC](https://forum.yunohost.org/t/sogo-cant-send-mails/35262/3 "2025-02-06T21:04:00Z")

</div>

Hi Josue.

Everything for maintainers!  
IPv6 disabled and tried to send mail → “not allowed in state 1”.  
I hope this is the right log:  
[https://paste.yunohost.org/raw/uzidavuwiw](https://paste.yunohost.org/raw/uzidavuwiw)

---

<div class="post-metadata">

**Author:** ![Josue](https://forum.yunohost.org/user_avatar/forum.yunohost.org/josue/32/933_2.png) [@Josue](https://forum.yunohost.org/u/Josue)\
**Post date:** [February 8, 2025, 10:09am UTC](https://forum.yunohost.org/t/sogo-cant-send-mails/35262/4 "2025-02-08T10:09:43Z")

</div>

Thanks, well the question was to see the sogo log in `/var/log/sogo/sogo.log`.

The install log don’t much help to understand the issue at the app runtime.

---

<div class="post-metadata">

**Author:** ![VS4](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/v/848f3c/32.png) [@VS4](https://forum.yunohost.org/u/VS4)\
**Post date:** [February 8, 2025, 11:53am UTC](https://forum.yunohost.org/t/sogo-cant-send-mails/35262/5 "2025-02-08T11:53:04Z")

</div>

Nice Debian exercise!  
Here’s the file from January 31st as pdf:  
[sogo\_log.pdf](https://forum.yunohost.org/uploads/short-url/fRHYpmlqkPCCBZqXYSO6yEZycig.pdf) (1.3 MB)

Next time you get the credentials…

---

<div class="post-metadata">

**Author:** ![kaktux](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/k/54ee81/32.png) [@kaktux](https://forum.yunohost.org/u/kaktux)\
**Post date:** [February 16, 2025, 6:00pm UTC](https://forum.yunohost.org/t/sogo-cant-send-mails/35262/6 "2025-02-16T18:00:40Z")

</div>

Did you enable the smtp relais also?  
I just started using sogo - receiving mail over imap no problem - but i dont know how to add a smtp for sending mails - and couldnt find out myself how to do so.

Currently i get the error message:  
5.7.1 [username@gmx.net](mailto:username@gmx.net): Sender address rejected: not owned by user username

---

<div class="post-metadata">

**Author:** ![stefan1](https://forum.yunohost.org/user_avatar/forum.yunohost.org/stefan1/32/11598_2.png) [@stefan1](https://forum.yunohost.org/u/stefan1)\
**Post date:** [February 17, 2025, 10:20am UTC](https://forum.yunohost.org/t/sogo-cant-send-mails/35262/7 "2025-02-17T10:20:32Z")

</div>

stunnel run ?

---

<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:** [March 4, 2025, 10:20am UTC](https://forum.yunohost.org/t/sogo-cant-send-mails/35262/8 "2025-03-04T10:20:46Z")

</div>

Closed on March 4, 2025, 10:20am UTC

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