BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] Postfix ailiaes question
- Subject: [Discuss] Postfix ailiaes question
- From: johnhall2.0 at gmail.com (John Hall)
- Date: Sat, 11 Jan 2025 19:51:20 -0500
- In-reply-to: <CAPiok-rF5zNOUYmonenrUqKnDrVePJ-mzWFWz5MZpLS4fsKNsw@mail.gmail.com>
- References: <ef71c0aa-31c7-4832-82bd-70a4e8bd6005@borg.org> <f4b47714-26bd-4000-a2d0-af2b33df0641@borg.org> <CAPiok-rF5zNOUYmonenrUqKnDrVePJ-mzWFWz5MZpLS4fsKNsw@mail.gmail.com>
So I forgot to ask, Is the ping user the mail user? On Sat, Jan 11, 2025 at 7:47?PM John Hall <johnhall2.0 at 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 <kentborg at 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 at lists.blu.org >> https://lists.blu.org/mailman/listinfo/discuss >> >
- Follow-Ups:
- [Discuss] Postfix ailiaes question
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Postfix ailiaes question
- References:
- [Discuss] Postfix ailiaes question
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Postfix ailiaes question
- From: kentborg at borg.org (Kent Borg)
- [Discuss] Postfix ailiaes question
- From: johnhall2.0 at gmail.com (John Hall)
- [Discuss] Postfix ailiaes question
- Prev by Date: [Discuss] Postfix ailiaes question
- Next by Date: [Discuss] Postfix ailiaes question
- Previous by thread: [Discuss] Postfix ailiaes question
- Next by thread: [Discuss] Postfix ailiaes question
- Index(es):