Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support time.Duration for time flags #5

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

timkuijsten
Copy link
Contributor

$ ./filter-spfgreylist -h
Usage of ./filter-spfgreylist:
  -greyexp duration
        duration before greylist attempts expire (default 4h0m0s)
  -passtime duration
        duration before retries are accounted (default 5m0s)
  -whiteexp duration
        duration before whitelists expire (default 720h0m0s)
  -wl-domain string
        filename containing a list of sender domains to whitelist, one per line
  -wl-ip string
        filename containing a list of IP addresses to whitelist, one per line

@timkuijsten
Copy link
Contributor Author

It should be noted that it does break backwards compatibility because an "s" suffix is required if seconds are specified.

@poolpOrg
Copy link
Owner

I really like that 👍🏻

@poolpOrg poolpOrg merged commit c2fa6aa into poolpOrg:master Sep 17, 2024
1 check passed
@poolpOrg
Copy link
Owner

thanks !

@timkuijsten
Copy link
Contributor Author

thank you! :)

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