Skip to content

getting Paperless working with locally delivered mail attachements? #17

Answered by xpseudonym
xpseudonym asked this question in Q&A
Discussion options

You must be logged in to vote

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:

# ausearch -c 'ripmime' --raw | audit2allow -M my-ripmime
# semodule -X 300 -i my-ripmime.pp

Done! (For now.)
I'm unsure whether it would be a better to relabel the consume and export directories rather than adding an exception?:

[paperless@server ppngx]$ ls -lhZ
total 32K
-rw-r--r--. 1 paperless paperless unconfined_u:object_r:user_home_t:s0            3.3K Feb  9 20:24 backup.sh
drwxr-xr-x. 2 paperless paper…

Replies: 10 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jdoss
Comment options

Comment options

You must be logged in to vote
4 replies
@xpseudonym
Comment options

@jdoss
Comment options

@jdoss
Comment options

@xpseudonym
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by xpseudonym
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants