So I forgot to ask, Is the ping user the mail user?
On Sat, Jan 11, 2025 at 7:47 PM John Hall <johnhall...@gmail.com> wrote: > I think we need the messages and logs not the paraphrased messages and > logs otherwise how is anyone going to see something you did not see? > I'm presuming you don't have se-linux or apparmor on? > What user is running the mail daemon? Does it 100% spawn processes under > this same user or does it use the mail users' permissions for anything? > I can't remember. I think for all it's internals , for what is > automatically managed it definitely is the mail daemon user but it just > might not do that for some features that are intended for user directories > using patterns. > > > On Sat, Jan 11, 2025 at 1:35 PM Kent Borg <kentb...@borg.org> wrote: > >> On 1/10/25 2:03 PM, Kent Borg wrote: >> > How do I get postfix to append some mail to a file? >> >> After a lot of poking about I found out what was needed. >> >> In /etc/postfix/mail.cf I needed to add: >> >> > allow_mail_to_files = alias >> > default_privs = ping_user >> >> I think the first line was already part of the default value (and that I >> narrowed it) and the second line is the user that the file operation >> will happen as. I also created ping_user as a nologin user, set the >> ownership of the directory to that user. >> >> Postfix didn't used to require this. But that was years ago. >> >> It would be nice if the error message gave a little more context beyond >> just a permission error. (I should demand a refund.) >> >> >> Thanks, >> >> -kb >> >> _______________________________________________ >> Discuss mailing list >> Discuss@lists.blu.org >> https://lists.blu.org/mailman/listinfo/discuss >> > _______________________________________________ Discuss mailing list Discuss@lists.blu.org https://lists.blu.org/mailman/listinfo/discuss