summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-11-06 16:12:23 +0100
committervarac <varacanero@zeromail.org>2013-11-06 16:12:23 +0100
commitd6e05eb970c04d32392e1d161698bfa2940b99c5 (patch)
tree95f65453d0663d8735c08a3759d6efbeb49fcb7d
parentf0a4221cc54688f42df4b45d637a26cb8b7e201c (diff)
+ Testing mail delivery and Check client config files
-rw-r--r--docs/platform/troubleshooting.md27
1 files changed, 24 insertions, 3 deletions
diff --git a/docs/platform/troubleshooting.md b/docs/platform/troubleshooting.md
index bb2fc4b..b9c34a9 100644
--- a/docs/platform/troubleshooting.md
+++ b/docs/platform/troubleshooting.md
@@ -34,7 +34,6 @@ Is couchdb accessible through stunnel ?
Check couchdb acl
-----------------
-
mkdir /etc/couchdb
cat /srv/leap/webapp/config/couchdb.yml.admin # see username and password
echo "machine 127.0.0.1 login admin password <PASSWORD>" > /etc/couchdb/couchdb-admin.netrc
@@ -43,6 +42,14 @@ Check couchdb acl
curl -s --netrc-file /etc/couchdb/couchdb-admin.netrc -X GET "http://127.0.0.1:4096"
curl -s --netrc-file /etc/couchdb/couchdb-admin.netrc -X GET "http://127.0.0.1:4096/_all_dbs"
+Check client config files
+-------------------------
+
+ https://example.net/provider.json
+ https://example.net/1/config/smtp-service.json
+ https://example.net/1/config/soledad-service.json
+ https://example.net/1/config/eip-service.json
+
Couchdb node
============
@@ -54,6 +61,7 @@ Places to look for errors
* `/var/log/syslog` (watch out for stunnel issues)
+
Bigcouch membership
-------------------
@@ -68,7 +76,7 @@ Bigcouch membership
curl -s --netrc-file /etc/couchdb/couchdb.netrc 'http://127.0.0.1:5984/_membership'
{"all_nodes":["bigcouch@couch1.bitmask.net"],"cluster_nodes":["bigcouch@couch1.bitmask.net","bigcouch@couch2.bitmask.net"]}
-
+* Sometimes a `/etc/init.d/bigcouch restart` on all nodes is needed, to register new nodes
Databases
---------
@@ -130,11 +138,24 @@ Query leap-mx
Mailspool
---------
-* Any file in the mailspool longer for a few seconds ?
+* Any file in the leap_mx mailspool longer for a few seconds ?
ls -la /var/mail/vmail/Maildir/cur/
+* Any mails in postfix mailspool longer than a few seconds ?
+
+
+ mailq
+
+
+Testing mail delivery
+---------------------
+
+ swaks -f alice@example.org -t bob@example.net -s mx1.example.net --port 25
+ swaks -f varac@cdev.bitmask.net -t varac@cdev.bitmask.net -s chipmonk.cdev.bitmask.net --port 465 --tlsc
+ swaks -f alice@example.org -t bob@example.net -s mx1.example.net --port 587 --tls
+
VPN node
========