public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Trace
helper-scripts/dev_tests/view_autodiscover.sh
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
view_autodiscover.sh
on main
Author
Date
Commit
Line
Code
DerLinkman
7 months ago
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 1
#!/bin/bash
#!/bin/bash
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 2
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 3
# Autodiscover XML Debug Script
# Autodiscover XML Debug Script
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 4
# Usage: ./view_autodiscover.sh [OPTIONS] [[email protected]]
# Usage: ./view_autodiscover.sh [OPTIONS] [[email protected]]
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 5
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 6
# Function to display help
# Function to display help
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 7
show_help() {
show_help() {
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 8
cat << EOF
cat << EOF
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 9
Autodiscover XML Debug Script
Autodiscover XML Debug Script
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 10
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 11
Usage: $0 [OPTIONS] [[email protected]]
Usage: $0 [OPTIONS] [[email protected]]
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 12
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 13
OPTIONS:
OPTIONS:
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 14
-h, --help Show this help message
-h, --help Show this help message
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 15
-d, --domain FQDN Override autodiscover domain (default: autodiscover.DOMAIN)
-d, --domain FQDN Override autodiscover domain (default: autodiscover.DOMAIN)
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 16
Example: -d mail.example.com
Example: -d mail.example.com
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 17
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 18
EXAMPLES:
EXAMPLES:
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 19
$0 [email protected]
$0 [email protected]
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 20
Test autodiscover for [email protected] using autodiscover.example.com
Test autodiscover for [email protected] using autodiscover.example.com
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 21
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 22
$0 -d mail.example.com [email protected]
$0 -d mail.example.com [email protected]
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 23
Test autodiscover for [email protected] using mail.example.com
Test autodiscover for [email protected] using mail.example.com
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 24
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 25
$0 -d localhost:8443 [email protected]
$0 -d localhost:8443 [email protected]
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 26
Test autodiscover using localhost:8443 (useful for development)
Test autodiscover using localhost:8443 (useful for development)
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 27
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 28
EOF
EOF
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 29
exit 0
exit 0
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 30
}
}
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 31
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 32
# Initialize variables
# Initialize variables
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 33
EMAIL=""
EMAIL=""
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 34
DOMAIN_OVERRIDE=""
DOMAIN_OVERRIDE=""
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 35
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 36
# Parse command line arguments
# Parse command line arguments
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 37
while [[ $# -gt 0 ]]; do
while [[ $# -gt 0 ]]; do
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 38
case $1 in
case $1 in
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 39
-h|--help)
-h|--help)
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 40
show_help
show_help
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 41
;;
;;
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 42
-d|--domain)
-d|--domain)
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 43
DOMAIN_OVERRIDE="$2"
DOMAIN_OVERRIDE="$2"
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 44
shift 2
shift 2
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 45
;;
;;
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 46
-*)
-*)
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 47
echo "Error: Unknown option $1"
echo "Error: Unknown option $1"
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 48
echo "Use -h or --help for usage information"
echo "Use -h or --help for usage information"
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 49
exit 1
exit 1
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 50
;;
;;
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 51
*)
*)
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 52
EMAIL="$1"
EMAIL="$1"
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 53
shift
shift
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 54
;;
;;
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 55
esac
esac
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 56
done
done
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 57
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 58
# Check if xmllint is available
# Check if xmllint is available
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 59
if ! command -v xmllint &> /dev/null; then
if ! command -v xmllint &> /dev/null; then
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 60
echo "WARNING: xmllint not found. Output will not be formatted."
echo "WARNING: xmllint not found. Output will not be formatted."
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 61
echo "Install with: apt install libxml2-utils (Debian/Ubuntu) or yum install libxml2 (CentOS/RHEL)"
echo "Install with: apt install libxml2-utils (Debian/Ubuntu) or yum install libxml2 (CentOS/RHEL)"
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 62
echo ""
echo ""
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 63
USE_XMLLINT=false
USE_XMLLINT=false
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 64
else
else
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 65
USE_XMLLINT=true
USE_XMLLINT=true
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 66
fi
fi
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 67
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 68
# Get email address from user input if not provided
# Get email address from user input if not provided
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 69
if [ -z "$EMAIL" ]; then
if [ -z "$EMAIL" ]; then
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 70
read -p "Enter email address to test: " EMAIL
read -p "Enter email address to test: " EMAIL
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 71
fi
fi
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 72
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 73
# Validate email format
# Validate email format
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 74
if [[ ! "$EMAIL" =~ ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$ ]]; then
if [[ ! "$EMAIL" =~ ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$ ]]; then
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 75
echo "Error: Invalid email address format"
echo "Error: Invalid email address format"
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 76
exit 1
exit 1
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 77
fi
fi
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 78
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 79
# Extract domain from email
# Extract domain from email
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 80
EMAIL_DOMAIN="${EMAIL#*@}"
EMAIL_DOMAIN="${EMAIL#*@}"
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 81
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 82
# Determine autodiscover URL
# Determine autodiscover URL
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 83
if [ -n "$DOMAIN_OVERRIDE" ]; then
if [ -n "$DOMAIN_OVERRIDE" ]; then
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 84
AUTODISCOVER_URL="https://${DOMAIN_OVERRIDE}/Autodiscover/Autodiscover.xml"
AUTODISCOVER_URL="https://${DOMAIN_OVERRIDE}/Autodiscover/Autodiscover.xml"
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 85
echo "Testing Autodiscover for: $EMAIL"
echo "Testing Autodiscover for: $EMAIL"
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 86
echo "Override domain: $DOMAIN_OVERRIDE"
echo "Override domain: $DOMAIN_OVERRIDE"
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 87
else
else
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 88
AUTODISCOVER_URL="https://autodiscover.${EMAIL_DOMAIN}/Autodiscover/Autodiscover.xml"
AUTODISCOVER_URL="https://autodiscover.${EMAIL_DOMAIN}/Autodiscover/Autodiscover.xml"
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 89
echo "Testing Autodiscover for: $EMAIL"
echo "Testing Autodiscover for: $EMAIL"
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 90
fi
fi
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 91
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 92
echo "URL: $AUTODISCOVER_URL"
echo "URL: $AUTODISCOVER_URL"
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 93
echo "============================================"
echo "============================================"
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 94
echo ""
echo ""
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 95
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 96
# Make the request
# Make the request
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 97
RESPONSE=$(curl -k -s -X POST "$AUTODISCOVER_URL" \
RESPONSE=$(curl -k -s -X POST "$AUTODISCOVER_URL" \
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 98
-H "Content-Type: text/xml" \
-H "Content-Type: text/xml" \
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 99
-d "<?xml version=\"1.0\" encoding=\"utf-8\"?>
-d "<?xml version=\"1.0\" encoding=\"utf-8\"?>
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 100
<Autodiscover xmlns=\"http://schemas.microsoft.com/exchange/autodiscover/request/2006\">
<Autodiscover xmlns=\"http://schemas.microsoft.com/exchange/autodiscover/request/2006\">
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 101
<Request>
<Request>
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 102
<EMailAddress>$EMAIL</EMailAddress>
<EMailAddress>$EMAIL</EMailAddress>
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 103
<AcceptableResponseSchema>http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a</AcceptableResponseSchema>
<AcceptableResponseSchema>http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a</AcceptableResponseSchema>
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 104
</Request>
</Request>
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 105
</Autodiscover>")
</Autodiscover>")
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 106
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 107
# Check if response is empty
# Check if response is empty
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 108
if [ -z "$RESPONSE" ]; then
if [ -z "$RESPONSE" ]; then
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 109
echo "Error: No response received from server"
echo "Error: No response received from server"
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 110
exit 1
exit 1
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 111
fi
fi
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 112
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 113
# Format and display output
# Format and display output
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 114
if [ "$USE_XMLLINT" = true ]; then
if [ "$USE_XMLLINT" = true ]; then
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 115
echo "$RESPONSE" | xmllint --format - 2>&1
echo "$RESPONSE" | xmllint --format - 2>&1
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 116
else
else
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 117
echo "$RESPONSE"
echo "$RESPONSE"
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 118
fi
fi
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 119
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 120
echo ""
echo ""
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 121
echo "============================================"
echo "============================================"
same change
b005803
Add autodiscover debug script with domain override support
- Full commit hash
b005803fe03a0036c1942303fd94a8014fe928ed- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 122
echo "Response length: ${#RESPONSE} bytes"
echo "Response length: ${#RESPONSE} bytes"