-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Open
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug
Description
Description
Error-message in admin-config /-/admin/config after testing email-notification: Das Senden der Test-E-Mail an '[email protected]' ist fehlgeschlagen: exit status 70
mail.log-file:
Nov 13 13:06:38 repos smtpd[15803]: 40be12f790a003e1 smtp failed-command command="RCPT TO:<<[email protected]>> " result="501 5.1.3 Recipient address syntax error"
The double encapsulation of the recipient in "angle-brackets" is not correct: << recipient_address >>
gitea-config:
[mailer]
ENABLED = true
;; Prefix displayed before subject in mail
SUBJECT_PREFIX = [Gitea]
;; Mail server
;; Gmail: smtp.gmail.com:587
;; QQ: smtp.qq.com:465
;; As per RFC 8314 using Implicit TLS/SMTPS on port 465 (if supported) is recommended,
;; otherwise STARTTLS on port 587 should be used.
PROTOCOL = sendmail
SENDMAIL_PATH = /usr/sbin/sendmail
; most "sendmail" programs take options, "--" will prevent an email address being interpreted as an option.
SENDMAIL_ARGS = "--"
; Mail from address, RFC 5322. This can be just an email address, or the `"Name" <[email protected]>` format
FROM = "Gitea" <[email protected]>
; Send mails as plain text
SEND_AS_PLAIN_TEXT = falseMaybe a regression alike /pull/35833? The (smtp)-mail-lib changed their Address handling but I use the sendmail-function.
Gitea Version
1.25.1
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
Compiled from source https://github.com/go-gitea/gitea/releases/download/1.25.1/gitea-src-1.25.1.tar.gz compiled. (gentoo ebuild)
Database
None
Metadata
Metadata
Assignees
Labels
issue/confirmedIssue has been reviewed and confirmed to be present or accepted to be implementedIssue has been reviewed and confirmed to be present or accepted to be implementedtype/bug