Commit 6339cfac authored by Jannik Hoelling's avatar Jannik Hoelling
Browse files

sendmail fixed

parent 0809f2d9
......@@ -28,6 +28,11 @@ RUN chmod 600 /etc/ssl/cert-data/*
RUN yes 'y' | sendmailconfig
RUN chmod 777 /etc/ssl/cert-data/tls-server.com-chain.crt
RUN chmod 777 /etc/ssl/cert-data/tls-server.com.key
USER sendmail
#CMD ["exim", "-bd", "-d-all+pid", "-q30m"]
ADD start.sh /root/
RUN chmod +x /root/start.sh
CMD ["/root/start.sh"]
......
......@@ -6,9 +6,11 @@ networks:
services:
tls-sendmail:
image: tls-sendmail
hostname: tls-sendmail
hostname: tls-server.com
container_name: tls-server.com
scanner:
image: tlsscanner
depends_on:
- tls-sendmail
command: [ "-connect", "tls-sendmail:25", "-server_name", "tls-server.com", "-starttls", "SMTP", "-scanDetail", "QUICK"]
\ No newline at end of file
command: [ "-connect", "tls-server.com:25", "-server_name", "tls-server.com", "-starttls", "SMTP", "-scanDetail", "QUICK"]
restart: always
\ No newline at end of file
......@@ -4,10 +4,8 @@
#
cat /etc/hostname
echo "tls-server.com" > /etc/hostname
echo "tls-server.com 127.0.0.1" > /etc/hosts
echo "tls-server" > /etc/hostname
echo "127.0.0.1 tls-server.com tls-server localdev localhost" > /etc/hosts
touch /var/log/mail.info
sendmail -bD -d0.14
#tail -f /var/log/mail.info
#while true; do sleep 1000; done
\ No newline at end of file
sendmail -bD -d0.14
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment