On 3/22/20 23:23, Philip Rhoades wrote:
On 2020-03-23 12:16, Philip Rhoades wrote:
> I want to have a MTA running from a container but is it possible for
> the containerised MTA:
> 1. to deliver mails to users on the host's file system dir (eg
> 2. to have access to the host's:
> files for users who are logging in to the host to look at their mails?
I worked out that I could use the run "-v" switch to answer Q #1
# podman run --security-opt label:disable -v /etc:/etc:ro -v /home/home
... MTAIMAGE ...
Or you would have to get more fine grained on /etc mounts.