Failed to send Gitea notifications via email #220

Closed
opened 2026-01-09 17:47:02 +01:00 by rarias · 3 comments
Owner

After the upgrade (?) it seems Gitea is failing to send notifications via email. From the UI, after clicking on send a test email:

Failed to send a testing email to "xxxxxx@bsc.es": exit status 78
After the upgrade (?) it seems Gitea is failing to send notifications via email. From the UI, after clicking on send a test email: ``` Failed to send a testing email to "xxxxxx@bsc.es": exit status 78 ```
rarias added the bug label 2026-01-09 17:47:02 +01:00
Author
Owner
tent% printf 'Subject: test1\n\nthis is a test\n' | sudo -g mail-robot sendmail -d xxxx@bsc.es
...
--> Date: Fri, 09 Jan 2026 17:52:08 +0100
--> Message-ID: <e3b4720c029bf8dc7dc0ea5f60407cf6@bsc.es>
--> Subject: test1
-->
--> this is a test
--> .
<-- 250 2.0.0 Ok: queued as 65A25405A4AD
--> QUIT
<-- 221 2.0.0 Bye

Sendmail is working, the issue seems to be on gitea side.

``` tent% printf 'Subject: test1\n\nthis is a test\n' | sudo -g mail-robot sendmail -d xxxx@bsc.es ... --> Date: Fri, 09 Jan 2026 17:52:08 +0100 --> Message-ID: <e3b4720c029bf8dc7dc0ea5f60407cf6@bsc.es> --> Subject: test1 --> --> this is a test --> . <-- 250 2.0.0 Ok: queued as 65A25405A4AD --> QUIT <-- 221 2.0.0 Bye ``` Sendmail is working, the issue seems to be on gitea side.
Author
Owner

Missing mail-robot group in gitea user:

tent% systemctl show gitea.service | grep -E '^(User|Group)'
User=gitea
Group=gitea

tent% ls -la /run/agenix/jungleRobotPassword
-r--r----- 1 root mail-robot 45 Jan  9 15:18 /run/agenix/jungleRobotPassword

Introduced in a294daf7e3.

Missing mail-robot group in gitea user: ``` tent% systemctl show gitea.service | grep -E '^(User|Group)' User=gitea Group=gitea tent% ls -la /run/agenix/jungleRobotPassword -r--r----- 1 root mail-robot 45 Jan 9 15:18 /run/agenix/jungleRobotPassword ``` Introduced in a294daf7e328db7388349244f75e6830e93b449c.
Author
Owner

Now seems to be working.

Now seems to be working.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rarias/jungle#220