Users

edit SideBar

inbound SMTP redirection services

Domain Hosting

Free DNS

KVM VPS Hosting Options

How to choose, LowEndBox Deals (Twitter)

Optional Servers

qmail queue status

/var/qmail/bin/qmail-qstat

Corporate DNS Settings

To use OpenDNS... Primary: 208.67.222.222 Secondary: 208.67.220.220

Reconfigure and Reboot

signal-event post-upgrade
signal-event reboot

Apply All Updates

To apply all updates, including contribs, log on to server and run the following command:

yum update --enablerepo=smecontribs

To restore default Yum repositories and apply all updates:

cd /home/e-smith/db/
mv yum_repositories yum_repositories.po
/etc/e-smith/events/actions/initialize-default-databases
signal-event yum-modify
yum update

Links

Manual SME Server backup

Reference

[root@earth /]# cat include.txt
home/e-smith
etc/e-smith/templates-custom
etc/e-smith/templates-user-custom
etc/ssh
root
etc/sudoers
etc/passwd
etc/shadow
etc/group
etc/gshadow
etc/samba/secrets.tdb
etc/samba/smbpasswd
[root@earth /]#signal-event pre-backup
[root@earth /]#tar -cz --totals -vvp --directory / --files-from=/include.txt -f /smeserver.tgz

Manual SME Server restore from "Backup to desktop" file.

Reference

After the backup file (smeserver.tgz) has been copied to the new server, on the new server do:

cd /
signal-event pre-restore
tar -C / -xzvf smeserver.tgz

If the Lets Encrypt Contrib is installed...

config setprop letsencrypt status disabled
config delprop modSSL crt
config delprop modSSL key
config delprop modSSL CertificateChainFile

Then...

/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot

and after rebooting...

cd /
rm smeserver.tgz

May need to reconfigure server and set to a static external IP address!

Shrink Virtual Disk

How to shrink disk. Commands-1 Commands-2

Free SSL Certificates

Lets Encrypt SME Contrib

Fix 1 Fix 2 Fix 3

Update smeserver-letsencrypt

A full update can be done as follow :

yum update smeserver-letsencrypt dehydrated --enablerepo=smecontribs

It is important to do the usual...

signal-event post-upgrade; signal-event reboot

otherwise...

signal-event console-save

Failure to do this might leave the contribution not working and your certificates not renewed.

"The remote device or resource won’t accept the connection in Windows 10"

  • Try issuing the following at an administartive cmd prompt: gpupdate /force
  • Other things to try

"blk_update_request: I/O error, dev fd0, sector 0"

Usful commands

CommandDescription
df -hDisk usage
free -hMemory usage
ip addressDisplay IP addresses and properties of all network interfaces
ls -al /home/e-smith/dbShow all available SME databases
db configuration show or config showList everything in the configuration database
db accounts showList user, group, and system accounts
db hosts showList configured local network hosts
db yum_repositories showList software repository configurations
db networks showList network definitions
db domains showList configured local network domains
db domains set grafana.robinsonzone.org domainCreate a new key in the domains database
db domains setprop grafana.robinsonzone.org RequireSSL enableAdd a property to the specified key
db domains delprop grafana.robinsonzone.org RequireSSLDelete a property
db domains delete grafana.robinsonzone.orgDelete a key

VPN Options

  • WireGuard

Dual WAN

Backup NBN

To compress directory...
[root@luna ibays]# tar -zcvf nbn.tar.gz nbn_private/ nbn_public/ nbn_wiki2/
To list archive contents...
[root@luna ibays]# tar -tvf nbn.tar.gz
To remove archive...
[root@luna ibays]# rm nbn.tar.gz

Outlook.com Smart Network Data Services

logwatch

... to display qmail-send reports ...
logwatch --help
logwatch --service qmail-send --detail High --range Yesterday --output stdout

To override default qmail-send threshold create /etc/logwatch/conf/services/qmail-send.conf with line "$threshold = 1".

email setup