Search
Unable to figure out directory permissions
cross-posted from: https://infosec.pub/post/15386345
Hi everyone,
This is my
CONTAINERFILE
for Bind9:undefined FROM debian ENV LC_ALL C.UTF-8 # Update and upgrade system RUN apt-get update -y && apt-get upgrade -y && apt-get dist-upgrade -y # Install BIND 9 and sudo (for debugging if needed) RUN apt-get install -y bind9 bind9-dnsutils bind9-libs bind9-utils sudo # Configure permissions for BIND directories RUN mkdir -p /var/cache/bind /var/lib/bind /var/log/bind RUN chown -R bind:bind /var/cache/bind /var/lib/bind /var/log/bind RUN chmod 664 /var/cache/bind /var/lib/bind /var/log/bind RUN chmod -R 664 /var/cache/bind /var/lib/bind /var/log/bind # Create and configure log files RUN touch /var/log/bind/default.log /var/log/bind/update_debug.log /var/log/bind/security_info.log /var/log/bind/bind.log RUN chown -R bind:bind /var/log/bind RUN chmod 644 /var/log/bind/*.log # Define volumes VOLUME ["/etc/bind", "/var/cache/bind", "
issue self hosting lemmy and email smtp
I am trying to setup my own lemmy server. I used ansible.
I can access my server via my domain just fine. But emails are not working.
First i had my mail and mx records pointing to privateemail via namecheap.
Then i tried using cloudflare email routing and their mx records.
neither worked for me with error connecting.
I thought maybe using dovecot? But self hosting email is new to me
I was hoping to use namecheaps privateemail but wasn’t sure how to get it working.
The email account worked and can send / receive but Lemmy and postfix cannot communicate with it.
Now I have no Mx records as I’m not sure what I should be using I am sure I am missing something obvious but idk what
Any ideas ?