Skip to content

Conversation

@ma-ca
Copy link

@ma-ca ma-ca commented Dec 28, 2022

Add new option to specify the maximum number messages to check, beginning from the last message.

-m, --max-messages=NUMBER  Maximum number messages to check, starting from end (POP3 only)

Example to check only the last 10 messages:

mailfilter -m 10

This option improves the performance significantly in case there is no reason to check all mails every time, for example when running together with fetchmail.

This new option has been implemented for POP3 only.

@hhoffstaette
Copy link
Contributor

Works really well, thank you!

@hhoffstaette
Copy link
Contributor

I just noticed that the new --max-messages option is mentioned in the --help output but not in the man page. Can you please add that bit as well?

@ma-ca
Copy link
Author

ma-ca commented Oct 12, 2024

I have added the new option to the man page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants