HYPERKITTY_ATTACHMENT_FOLDER
Hi.
Can anybody send example how to set it? It is mentioned in documentation, but very vaguely. HYPERKITTY_ATTACHMENT_FOLDER = /full/unix/path
HYPERKITTY_ATTACHMENT_FOLDER = http://localhost:8000/something
HYPERKITTY_ATTACHMENT_FOLDER = ./var/data/something/
Has anybody experience of using this, maybe have recommendations of using it? Better under project user or better under web content owner where the static content is. I would like to store attachments separately to avoid growing database. Hyperkitty documentation: By default, HyperKitty stores the email attachments in the database. If you would rather have them stored on the filesystem, you can set the HYPERKITTY_ATTACHMENT_FOLDER configuration value to a directory. Make sure that the user running the Django process (for example, apache or www-data) has the permissions to write in this directory.
On Wed, Sep 11, 2019, at 9:52 AM, Ugnius S wrote:
Hi.
Can anybody send example how to set it? It is mentioned in documentation, but very vaguely.
If you can point out where did you find it in docs, I can update it. Information is kind of duplicated in a few places.
HYPERKITTY_ATTACHMENT_FOLDER = /full/unix/path
This is the right value.
It is a path on the filesystem, where the user running Hyperkitty is allowed to write.
HYPERKITTY_ATTACHMENT_FOLDER = http://localhost:8000/something
HYPERKITTY_ATTACHMENT_FOLDER = ./var/data/something/
Has anybody experience of using this, maybe have recommendations of using it? Better under project user or better under web content owner where the static content is. I would like to store attachments separately to avoid growing database. Hyperkitty documentation: By default, HyperKitty stores the email attachments in the database. If you would rather have them stored on the filesystem, you can set the HYPERKITTY_ATTACHMENT_FOLDER configuration value to a directory. Make sure that the user running the Django process (for example, apache or www-data) has the permissions to write in this directory.
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)
participants (2)
-
Abhilash Raj
-
Ugnius S