Skip to content

Commit 748f227

Browse files
committed
Change lg mechanism
1 parent 8687a2c commit 748f227

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,6 @@ EXPOSE 993
117117
EXPOSE 995
118118
# SMTP Port (used for internal delivery from amavis, do not expose to the outside world!)
119119
EXPOSE 10025
120-
CMD ["/usr/local/mailserver/loop.sh"]
121-
#CMD ["/usr/local/mailserver/entrypoint.sh"]
120+
#CMD ["/usr/local/mailserver/loop.sh"]
121+
CMD ["/usr/local/mailserver/entrypoint.sh"]
122122

src/entrypoint.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -436,16 +436,14 @@ check_database
436436
#########################
437437
cd $IMAGE_HOME
438438

439-
# Start log facility
440-
service rsyslog start
441-
442439
# Configure Sieve rule
443440
configure_sieve
444441

445442
# Configure postfix
446443
configure_postfix
447444
configure_instance -
448445
postconf compatibility_level=2
446+
postconf maillog_file=/var/log/mail.log
449447

450448
# Start Dovecot (the mail drop software)
451449
service dovecot start

0 commit comments

Comments
 (0)