Skip to content
Discussion options

You must be logged in to vote

I came up with this simple solution... Anyone conmments?

It works like a charm...

At the host:
# ls -larth /usr/sbin/sendmail
-rwxr-xr-x 1 root root 120 Mar 27 17:17 /usr/sbin/sendmail

# cat  /usr/sbin/sendmail
#!/bin/bash

cat <&0 | docker compose -f /opt/docker/mailserver/compose.yaml exec -T mailserver /usr/sbin/sendmail -t 

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@casperklein
Comment options

Answer selected by henriec
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants