This file only needs to be written to by nobody (i.e. the web UI), but
there are other users which need to read it in order to send emails.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
cd $(DIR_APP) && make install mailq-link install-spool-dirs install-etc
install -v -m 755 $(DIR_SRC)/config/dma/dma-cleanup-spool /usr/sbin
chown -R nobody.nobody /var/ipfire/dma
- chown nobody.root /var/ipfire/dma/auth.conf
+ chown nobody.mail /var/ipfire/dma/auth.conf
+ chmod 640 /var/ipfire/dma/auth.conf
ln -svf dma /usr/sbin/sendmail.dma
/usr/sbin/alternatives --install /usr/sbin/sendmail sendmail /usr/sbin/sendmail.dma 20
@rm -rf $(DIR_APP)