Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jannik Hoelling
alpaca-server
Commits
6339cfac
Commit
6339cfac
authored
Jan 16, 2022
by
Jannik Hoelling
Browse files
sendmail fixed
parent
0809f2d9
Changes
3
Hide whitespace changes
Inline
Side-by-side
sendmail/Dockerfile
View file @
6339cfac
...
...
@@ -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"]
...
...
sendmail/docker-compose.yml
View file @
6339cfac
...
...
@@ -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
sendmail/start.sh
View file @
6339cfac
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment