add incoming emails (#36)
Reviewed-on: #36 Reviewed-by: muppeth <muppeth@no-reply@disroot.org> Co-authored-by: meaz <meaz@disroot.org> Co-committed-by: meaz <meaz@disroot.org>
This commit is contained in:
parent
c0a39a213b
commit
17d93c2341
|
@ -7,7 +7,7 @@ forgejo_group: 'git'
|
|||
forgejo_confdir: '/etc/forgejo/app.ini'
|
||||
|
||||
forgejo_flavor: 'forgejo'
|
||||
forgejo_version: '1.20.4-0'
|
||||
forgejo_version: '1.20.4-1'
|
||||
forgejo_arch: 'linux-amd64'
|
||||
#forgejo_download_url: 'https://github.com/go-gitea/gitea/releases/download/v{{ forgejo_version }}/gitea-{{ forgejo_version }}-{{ forgejo_arch }}'
|
||||
|
||||
|
@ -118,6 +118,20 @@ forgejo_markup_config:
|
|||
apt: ''
|
||||
enable: 'false'
|
||||
|
||||
# Incoming emails
|
||||
# See https://forgejo.org/docs/latest/admin/incoming-email/
|
||||
forgejo_email_incoming:
|
||||
- 'ENABLED = true'
|
||||
- 'REPLY_TO_ADDRESS = incoming+%{token}@example.org'
|
||||
- 'HOST = example.org'
|
||||
- 'PORT = 993'
|
||||
- 'USERNAME = incoming'
|
||||
- 'PASSWORD = changeme'
|
||||
- 'USE_TLS = true'
|
||||
- 'MAILBOX = INBOX'
|
||||
- 'DELETE_HANDLED_MESSAGE = true'
|
||||
- 'MAXIMUM_MESSAGE_SIZE = 0'
|
||||
|
||||
#apt
|
||||
forgejo_apt_list:
|
||||
- git
|
||||
|
|
|
@ -105,4 +105,7 @@ RENDER_CONTENT_MODE = sanitized
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
|
||||
[email.incoming]
|
||||
{% for item in forgejo_email_incoming %}
|
||||
{{ item }}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue