Let's say you want to host domains first.com and second.com.
Create folders for their files:
| <?php | |
| /** | |
| * simple method to encrypt or decrypt a plain text string | |
| * initialization vector(IV) has to be the same when encrypting and decrypting | |
| * | |
| * @param string $action: can be 'encrypt' or 'decrypt' | |
| * @param string $string: string to encrypt or decrypt | |
| * | |
| * @return string | |
| */ |
| <?php | |
| /* | |
| This is a very tiny proof-of-concept SMTP client. Currently it's over 320 characters (if the var names are compressed). Think you can build one smaller? | |
| */ | |
| ini_set('default_socket_timeout', 3); | |
| $user = 'you@gmail.com'; | |
| $pass = ''; | |
| $host = 'ssl://smtp.gmail.com'; |
| #!/bin/bash | |
| set -e | |
| cd ~/mailcow-dockerized | |
| DBUSER=mailcow | |
| DBPASS=xxxxxxxxxxxxxxxxxxxx | |
| DBNAME=mailcow | |
| DBHOST=mailcow.lxd |
rsync (Everyone seems to like -z, but it is much slower for me)