Quick check ssl crt


Check crt file:
$ openssl x509 -in site.crt -text -noout | grep Not
Not Before: Dec 5 11:54:00 2019 GMT
Not After : Dec 1 11:54:00 2034 GMT

Check ssl certificate online:
$ echo | openssl s_client -showcerts -servername gnu.org -connect gnu.org:443 2>/dev/null | openssl x509 -inform pem -noout -dates
notBefore=Dec 14 10:03:25 2019 GMT
notAfter=Mar 13 10:03:25 2020 GMT

ejabberd + LDAP + roaster


loglevel: 4
log_rotate_size: 10485760
log_rotate_date: ""
log_rotate_count: 1
log_rate_limit: 100
- "jabber.domain1.com"
- "jabber.domain2.com"
- "jabber.domain3.com"
- "jabber.domain4.com"
port: 5222
module: ejabberd_c2s
starttls: true
- "no_sslv3"
max_stanza_size: 65536
shaper: c2s_shaper
access: c2s
port: 5269
module: ejabberd_s2s_in

Migrate any mail server to hestiacp (vestacp fork)

My friend asked me to help with the migration of mail from a server running ispmanager5 lite to a server running vestacp. But this script is suitable for migration from any imap server to hestiacp panel.
I found imapsync utility and I'll use it. The email.txt file should contain a list of mailboxes and passwords, one account per line.