Varnish doesn't work (yet) with Apache https. You have to use Nginx to handle incoming SSL requests:
nginx (https, 443) -> varnish (http, 80) -> apache (http, 8080)
See
here for more details.
For just sending mails you can use mailx (a Unix utility program for sending and receiving mail,) command, no locale MTA is required (like Postfix) and use the Gmail MTA.
If you don't have the mailx command, you can install the package.
You can use this command to send emails:
echo -e "your body text" | mailx -v -s "subject text" \
-S smtp-use-starttls \
-S ssl-verify=ignore \
-S smtp-auth=login \
-S smtp=smtp://smtp.gmail.com:587 \
-S from="
[email protected]" \
-S
[email protected] \
-S smtp-auth-password=yourGmailpasswd \
-S ssl-verify=ignore recipientemailaddress
copy this command to a file (shell script) and make it executable.
With cron it is easy to execute this script to run periodically at fixed times.
and never, ever use ftp. Use sftp(secure ftp)or rsync to transfer data to your server.
Ftp is unsecure and all the data is unencrypted.
Learn shell commands and to test things and learn things install Ubuntu or Centos.
on your local pc.
Copy (with rsync) all the data to your local pc (open port 22 for local ssh server) so you can test things.