Skip to content

Commit

Permalink
Add a test user with a complex password
Browse files Browse the repository at this point in the history
  • Loading branch information
thsmi committed Nov 7, 2021
1 parent 25a37a4 commit ef87c26
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/Docker/dovecot/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ RUN adduser vmail -D
COPY local.conf /etc/dovecot/local.conf
COPY dovecot-openssl.conf /etc/dovecot/dovecot-openssl.conf

RUN echo "user:{plain}pencil::::::" > /etc/dovecot/users
RUN echo "user:{plain}pencil::::::" > /etc/dovecot/users && \
echo "user2:{plain}€äöü§²³::::::" >> /etc/dovecot/users

RUN openssl req -new -x509 -nodes -days 365 \
-config "/etc/dovecot/dovecot-openssl.conf" \
Expand All @@ -18,4 +19,4 @@ RUN openssl req -new -x509 -nodes -days 365 \

EXPOSE 143 993 4190

CMD /usr/sbin/dovecot && tail -f /var/log/dovecot.log
CMD /usr/sbin/dovecot && tail -f /var/log/dovecot.log

0 comments on commit ef87c26

Please sign in to comment.