1 (edited by Harvey 2023-10-13 20:01:23)

Topic: [Solved] Can spider-import import only mails of certain dates?

Hello,

for a new installation of spider I need the ability to import existing IMAP Mail accounts. Spider-import seems to be my friend but I look for an option to only import the Mails that are older than a certain date, i.E. 2023-01-01. Is this possible? The Docu does not tell me anything about that. Or did I oversee something?

Greetings
Harvey

----

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

2

Re: [Solved] Can spider-import import only mails of certain dates?

Harvey wrote:

but I look for an option to only import the Mails that are older than a certain date

spider-import doesn't support this yet. Sorry.
Will try to implement it in future release.

3

Re: [Solved] Can spider-import import only mails of certain dates?

ZhangHuangbin wrote:
Harvey wrote:

but I look for an option to only import the Mails that are older than a certain date

spider-import doesn't support this yet. Sorry.
Will try to implement it in future release.

Would be a great enhancement for my workflow. Looking forward to this! smile
Greetings
Harvey

4

Re: [Solved] Can spider-import import only mails of certain dates?

This feature is now on my todo list for next Spider release, will reply here when it's done. smile

5

Re: [Solved] Can spider-import import only mails of certain dates?

Hi Harvey,

This feature has been implemented today and will be available in next Spider release.
2 new arguments are introduced to specify time ranges, you can use either or both at the same time:

- -since-time: Import messages since given datetime (yyyy-mm-dd HH:MM:SS).
- -before-time: Import messages before given datetime (yyyy-mm-dd HH:MM:SS).


Sample usage:

spider-import ... \
        -since-time '2020-01-01 00:00:00' \
        -before-time '2023-01-01 00:00:00`
        ...

6 (edited by Harvey 2023-10-13 20:01:57)

Re: [Solved] Can spider-import import only mails of certain dates?

Great! Good to know that suggestions are welcome wink
Setting this to [Solved]


Greetings
Harvey