Files
spider_kube/readme.md
T
2025-03-25 10:16:41 +00:00

45 lines
1.0 KiB
Markdown

# Spider kube
## Use message converter
`./msgconvert.pl --mbox DESTINATION_EMAIL.eml SOURCE_EMAIL.msg`
## Convert mailbox .pst to folder of eml
Not working the best though
`git clone https://github.com/cjmach/pstconv.git`
`cd pstconv`
`sudo apt install maven`
one of the three maven command will create the file within the target folder, not sure which one though , that's why I put the 3
`mvn -B package`
`mvn -B release:prepare;`
`mvn -B release:perform -Darguments='-Dmaven.deploy.skip=true'`
`java -jar pstconv/target/pstconv-0.9.10.jar -i backup_main.pst -o ~/backup_destination`
## upload to spider
### Upload a full folder
./spider-import maildir \
--api-endpoint https://spider.tryton.geeraert.eu \
--api-token XXX \
--owner pgeeraert@prometheusgroup.com \
--path backup_main
### Upload a unique file
./spider-import maildir \
--api-endpoint https://spider.tryton.geeraert.eu \
--api-token XXX \
--owner pgeeraert@prometheusgroup.com \
--path email.eml