getting Paperless working with locally delivered mail attachements? #17
-
First up - thanks @jdoss for the script that's had me up and running. I've been going through the motions of getting this working with local email delivery - my rather old Ricoh Aficio 1515MF is very good at keep'in on going, but, connectivity has always been a problem - no ftp (let alone sftp) and no secure email - but, insecure email - meaning I can not connect to any public email service these days - but, I can connect to all my local machines running Paperless doesn't support any local mail delivery options, :-/
But, no dice - I can get delivery to So, two questions:
So, I'm unsure what more is needed? Any pointers on how to get this working? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments 5 replies
-
Wonderful! You are welcome. :)
Neat. This the first I have heard of ripmime.
Since you are not using SFTPGo you can change this mount to a local path on the disk like this: Make your consume directory (can be where ever you want) mkdir -p ${HOME}/Documents/paperless/consume Edit -v paperless-consume:/usr/src/paperless/consume:U,z \ to -v ${HOME}/Documents/paperless/consume:/usr/src/paperless/consume:z \ and then you can set your
and I think you will be business. There can be some user permissions issues with how the files are written by your user via ripmime and the user inside the Paperless container. Test the above out and see. I think it will be fine since the Paperless container runs as the root user inside the container: $ podman exec -it paperless-webserver bash
root@paperless:/usr/src/paperless/src# id
uid=0(root) gid=0(root) groups=0(root) and rootless Podman should handle the permissions, I think.
Yah just remove it from the script. It should work well. Let me know how it turns out or if you have any issues and I'd be glad to help. |
Beta Was this translation helpful? Give feedback.
-
Thanks - I'll be back... |
Beta Was this translation helpful? Give feedback.
-
Hmm, @jdoss I got stuck...
And, this is what I got...:
Is there something I'm missing? |
Beta Was this translation helpful? Give feedback.
-
Don't comment |
Beta Was this translation helpful? Give feedback.
-
Hmm, yeah, oops.
|
Beta Was this translation helpful? Give feedback.
-
Some supplementary Qs:
|
Beta Was this translation helpful? Give feedback.
-
This is a bit frustrating...
And, I can't post to
|
Beta Was this translation helpful? Give feedback.
-
Right then! So, next todo according to
Done! (For now.)
(Also, unsure whether my math at #17 (comment) isn't out by 1 because user |
Beta Was this translation helpful? Give feedback.
-
Wonderful! I am glad you got your issues sorted out @xpseudonym :) |
Beta Was this translation helpful? Give feedback.
-
@jdoss, but wait! There's more... As a preliminary aside, I discovered some more Anyway... While wondering what sort of filters I'd have to add to put in
It works. This also has the advantage that should user Attached my commented and amended |
Beta Was this translation helpful? Give feedback.
Right then!
Success!!!
Of sorts...
Doing some more reading - it seemed
--user root
shouldn't be needed - as that's default - so, first attempt with changing-e USERMAP_UID=0
&-e USERMAP_GID=0
only - and that worked - after turning off SELinux...So, next todo according to
sealert
:Done! (For now.)
I'm unsure whether it would be a better to relabel the
consume
andexport
directories rather than adding an exception?: