Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117885930
selfcheck.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1007 B
Referenced Files
None
Subscribers
None
selfcheck.sh
View Options
#!/bin/bash
set
-e
set
-x
APP_DOMAIN
=
$(
grep APP_DOMAIN .env
|
tail -n1
|
sed
"s/APP_DOMAIN=//"
)
if
[
-z
"
$ADMIN_PASSWORD
"
]
;
then
ADMIN_PASSWORD
=
"simple123"
fi
if
[
-z
"
$ADMIN_USER
"
]
;
then
ADMIN_USER
=
"admin@
$APP_DOMAIN
"
fi
docker compose
exec
postfix testsaslauthd -u
"
$ADMIN_USER
"
-p
"
$ADMIN_PASSWORD
"
docker compose
exec
imap testsaslauthd -u
"
$ADMIN_USER
"
-p
"
$ADMIN_PASSWORD
"
docker compose -f docker-compose.yml -f docker-compose.build.yml run -ti --rm utils ./mailtransporttest.py --sender-username
"
$ADMIN_USER
"
--sender-password
"
$ADMIN_PASSWORD
"
--sender-host
"
$APP_DOMAIN
"
--recipient-username
"
$ADMIN_USER
"
--recipient-password
"
$ADMIN_PASSWORD
"
--recipient-host
"
$APP_DOMAIN
"
docker compose -f docker-compose.yml -f docker-compose.build.yml run -ti --rm utils ./kolabendpointtester.py --verbose --host
"
$APP_DOMAIN
"
--dav
"https://
$APP_DOMAIN
/dav/"
--imap
"
$APP_DOMAIN
"
--activesync
"
$APP_DOMAIN
"
--user
"
$ADMIN_USER
"
--password
"
$ADMIN_PASSWORD
"
echo
"All tests have passed!"
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Mon, Apr 6, 2:18 AM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18824381
Default Alt Text
selfcheck.sh (1007 B)
Attached To
Mode
rK kolab
Attached
Detach File
Event Timeline