[Discuss] Postfix ailiaes question
Kent Borg
kentborg at borg.org
Fri Jan 10 17:03:23 EST 2025
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-string at 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/mail.log I get a warning that it can't create
/path/to/file/some-string.lock and the error that it can't open the file
/path/to/file/some-string, permission denied in both cases.
I have tried chowning the file some-string to postfix:postfix, to
root:root, to mail:mail, to kentborg:kentborg (the parent directory,
too), but haven't found a working setup
To save to a file what ownership and permissions does postfix need?
Thanks,
-kb
More information about the Discuss
mailing list