This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -s -X GET https://api.gandi.net/v5/email/mailboxes/71364.it -H "authorization: Apikey $APIkey" | |
[{"mailbox_type":"standard","quota_used":2,"login":"forwarder","domain":"71364.it","href":"https://api.gandi.net/v5/email/mailboxes/71364.it/e1356d00-b8a5-498e-af7e-86dde2b6685d","address":"[email protected]","id":"e1356d00-b8a5-498e-af7e-86dde2b6685d"},{"mailbox_type":"standard","quota_used":2,"login":"infrastructure","domain":"71364.it","href":"https://api.gandi.net/v5/email/mailboxes/71364.it/32e9145e-0967-4697-992a-dab177171891","address":"[email protected]","id":"32e9145e-0967-4697-992a-dab177171891"}] | |
$ curl -s -X GET https://api.gandi.net/v5/email/mailboxes/71364.it -H "authorization: Apikey $APIkey" | |
[{"domain":"71364.it","mailbox_type":"standard","quota_used":2,"login":"forwarder","href":"https://api.gandi.net/v5/email/mailboxes/71364.it/e1356d00-b8a5-498e-af7e-86dde2b6685d","address":"[email protected]","id":"e1356d00-b8a5-498e-af7e-86dde2b6685d"},{"domain":"71364.it","mailbox_type":" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
# Prerequisites: | |
# | |
# Accessing Password | |
# To scan system directories the script needs elevated privileges. This means the user needs to input his password. | |
# To automate the running of this script, it accesses the Keychain.app for the password. | |
# For this to work, an entry has to be made in the Keychain.app manually: | |
# security add-generic-password -s '<identifier>' -a '<userid>' -w '<passwd>' |