Re: [Discuss] Postfix ailiaes question

2025-01-12 Thread Kent Borg
On 1/11/25 4:51 PM, John Hall wrote: So I forgot to ask, Is the ping user the mail user? No, I created a new nologin user called ping_user, told Postfix to write that file as that user, made that user the owner of the directory the file is in. -kb __

Re: [Discuss] Postfix ailiaes question

2025-01-12 Thread Kent Borg
On 1/11/25 4:47 PM, John Hall wrote: I'm presuming you don't have se-linux or apparmor on? No, I don't have selinux installed, and it seems apparmor is installed with this Debian, but I haven't configured it to do anything. As I said, it is now working, and it was a Postfix configuration I

Re: [Discuss] Postfix ailiaes question

2025-01-11 Thread Rich Pieri
On Fri, 10 Jan 2025 14:03:23 -0800 Kent Borg wrote: > How do I get postfix to append some mail to a file? In the past I > have put in /etc/aliases something like: > >    some-string: /path/to/file I would send it through procmail and let that handle delivery. -- \m/ (--) \m/

Re: [Discuss] Postfix ailiaes question

2025-01-11 Thread John Hall
So I forgot to ask, Is the ping user the mail user? On Sat, Jan 11, 2025 at 7:47 PM John Hall 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 appa

Re: [Discuss] Postfix ailiaes question

2025-01-11 Thread John Hall
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 t

Re: [Discuss] Postfix ailiaes question

2025-01-11 Thread Kent Borg
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 de

[Discuss] Postfix ailiaes question

2025-01-11 Thread Kent Borg
How do I get postfix to append some mail to a file? In the past I have put in /etc/aliases something like:    some-string: /path/to/file And when I sent an e-mail to "some-str...@borg.org" the mail would get appended to that file. But in my current server when I try to do I see in /var/log/ma