-
Notifications
You must be signed in to change notification settings - Fork 66
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
MaxMind License Key Support #1166
Conversation
Done Todo |
Test results with GeoIP Update style key GUI
Cron
|
Non GeoIP Update license key
Good news is that no matter how a person generates the key from MaxMind, it works either way. |
License key validation
Validation added, keys appear to be 16 character alphanumeric key. We'll start with that. |
Older style keys are 12 characters. It might be worth supporting those too. |
Looks good to me, great work @shawniverson! |
@endelwar PR is out in the wild on the eFa4-Testing repo for the next couple of days. If any issues arise I will update this PR before giving the all clear to merge. |
@endelwar All clear. Ready to merge. Reports coming back positive. Probably need a blurb to forum and a https://docs.mailwatch.org/ entry once merged and changelog is updated. |
Release 1.2.15 published, docs and website updated. |
So I presume that these changes will be incorporated in a soon to be released download?
I’m a bit confused on what key to generate. I presume it will be used with geoipupdate which historically wasn’t installed on my mx hosts. (There is a geoip_update.php script, of course, which was included as a part of MailWatch.) The maxmind site wants to know which version of geoipupdate to generate a key for, 3.1.1 and newer, or versionsl older than 3.1.1
Or am I barking up the wrong tree?
...Kevin
--
Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4588 Registered Linux User No: 307357
From: Shawn Iverson <notifications@github.com>
Sent: Thursday, December 26, 2019 3:51 AM
To: mailwatch/MailWatch <MailWatch@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: [mailwatch/MailWatch] MaxMind License Key Support (#1166)
EXTERNAL E-MAIL: BE CAUTIOUS WHEN OPENING FILES OR FOLLOWING LINKS
…________________________________
________________________________
You can view, comment on, or merge this pull request online at:
#1166
Commit Summary
* MaxMind License Key Support
File Changes
* M mailscanner/conf.php.example<https://github.com/mailwatch/MailWatch/pull/1166/files#diff-0> (5)
* M mailscanner/functions.php<https://github.com/mailwatch/MailWatch/pull/1166/files#diff-1> (3)
* M mailscanner/geoip_update.php<https://github.com/mailwatch/MailWatch/pull/1166/files#diff-2> (11)
* M mailscanner/languages/de.php<https://github.com/mailwatch/MailWatch/pull/1166/files#diff-3> (1)
* M mailscanner/languages/en.php<https://github.com/mailwatch/MailWatch/pull/1166/files#diff-4> (1)
* M mailscanner/languages/es-419.php<https://github.com/mailwatch/MailWatch/pull/1166/files#diff-5> (1)
* M mailscanner/languages/fr.php<https://github.com/mailwatch/MailWatch/pull/1166/files#diff-6> (1)
* M mailscanner/languages/it.php<https://github.com/mailwatch/MailWatch/pull/1166/files#diff-7> (1)
* M mailscanner/languages/ja.php<https://github.com/mailwatch/MailWatch/pull/1166/files#diff-8> (1)
* M mailscanner/languages/nl.php<https://github.com/mailwatch/MailWatch/pull/1166/files#diff-9> (1)
* M mailscanner/languages/pt_br.php<https://github.com/mailwatch/MailWatch/pull/1166/files#diff-10> (1)
* M tools/Cron_jobs/mailwatch_geoip_update.php<https://github.com/mailwatch/MailWatch/pull/1166/files#diff-11> (10)
Patch Links:
* https://github.com/mailwatch/MailWatch/pull/1166.patch
* https://github.com/mailwatch/MailWatch/pull/1166.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#1166?email_source=notifications&email_token=ABPLZOO2AZ77TLB6E7PGDF3Q2SSBZA5CNFSM4J7LHNVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ICWT6QA>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABPLZOJTAI2RNIYQ7BMTBWTQ2SSBZANCNFSM4J7LHNVA>.
[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "#1166?email_source=notifications\u0026email_token=ABPLZOO2AZ77TLB6E7PGDF3Q2SSBZA5CNFSM4J7LHNVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ICWT6QA", "url": "#1166?email_source=notifications\u0026email_token=ABPLZOO2AZ77TLB6E7PGDF3Q2SSBZA5CNFSM4J7LHNVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ICWT6QA", "name": "View Pull Request" }, "description": "View this Pull Request on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]
|
A new release with the updated MaxMind support is available at https://github.com/mailwatch/MailWatch/releases When you are logged in on the MaxMind site go to "My License Key". There request a new Key and select that GeoIpUpdate is not used. A licence Key is generated (active after 5-15 min.) You can check if it works via (replace
|
@atftb Look for "MAXMIND_LICENSE_KEY" in conf.php for mailwatch, and set it after obtaining it. That's it :) Your geoip_update.php will use it, and if you use the cron job, it will use it too. |
No description provided.