1

Topic: How to specify which folders Spider import/archive?

Option "Import Emails via IMAP Service" using ssh, how to limit which folders spider import/archive? Currently it takes all available folders within the imap email account.
How to limit this for example only to INBOX and SENT?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: How to specify which folders Spider import/archive?

Implemented this feature moment ago, command line argument "--imap-folder".
Currently only one folder is allowed.

Since "spider-import" is a command line tool and not impact server (spiderd), we repacked Spider v2.3.0 with this improvement instead of tagging a new version. Please re-download and upgrade (or simply copy spider-import to /usr/local/bin/).
https://spiderd.io
https://spiderd.io/docs/install.html

3

Re: How to specify which folders Spider import/archive?

Great, thanks. smile
Please add support for multiple values for --imap-folder argument.

--imap-folder inbox sent

4

Re: How to specify which folders Spider import/archive?

Hi @zaja,

v2.4.0 is out with this feature.

Multiple folders can be specified with multiple `--imap-folder` arguments. For example, to import emails from INBOX and Sent folders: `--imap-folder INBOX --imap-folder Sent`.