Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions githubactions-dovecot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ LABEL \
# Create glpi user and its home directory
RUN groupadd --gid 1000 glpi
RUN useradd --create-home --home-dir /home/glpi --gid 1000 --uid 1000 glpi
RUN usermod --append --groups mail glpi

RUN \
# Clean APT sources list to prevent packages list update error:
Expand Down
17 changes: 8 additions & 9 deletions githubactions-dovecot/files/etc/dovecot/local.conf
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
disable_plaintext_auth = no
mail_location = maildir:/home/glpi/Maildir
auth_allow_cleartext = yes
mail_driver = maildir
mail_path = /home/glpi/Maildir
mail_inbox_path = /home/glpi/Maildir
mail_max_userip_connections = 10000

passdb {
driver = passwd-file
args = /etc/dovecot/passwd
passdb passwd-file {
passwd_file_path = /etc/dovecot/passwd
}
userdb {
driver = static
# 1000 is uid/gid of glpi user
args = uid=1000 gid=1000 home=/home/glpi
userdb passwd-file {
passwd_file_path = /etc/dovecot/passwd
}
2 changes: 1 addition & 1 deletion githubactions-dovecot/files/etc/dovecot/passwd
Original file line number Diff line number Diff line change
@@ -1 +1 @@
testuser:{plain}applesauce
testuser:{plain}applesauce:1000:1000::/home/glpi::