I've never used rsync in daemon mode (if that is the right way to phrase it), 
but wouldn't that do everything automatically? 

I know on Digital Ocean you can use a special network between "droplets" (VMs) 
that is local. There is no transit cost. Perhaps Vultr does the same thing.‎ 

Vultr has a free DNS.  

If I wasn't running FreeBSD, I'd probably be on Linode.
‎https://www.vpsbenchmarks.com/





  Original Message  
From: CSS
Sent: Friday, April 28, 2017 12:49 PM
To: Postfix users
Subject: Backup MX setup - alternative to db?

Hi all,

I have a handful of personal domains that I host myself - both as a place to 
experiment a bit (I roll new things out here before using them on paying 
clients), and a place to play with things that don’t scale well. As of now, I 
just have a single MXer with a pretty standard Postfix setup. Domain/user maps 
are all in mysql.

I just grabbed a few VPSs since they are cheap and I wanted to try out 
Vultr.com. I bought the smallest possible - only 512MB of RAM. I’m running nsd 
for DNS services (found setting up two small VPS’s to be cheaper, more fun than 
paying for secondary NS), and I’d like to add backup MX to both hosts. I do NOT 
want to run mysql or anything else that’s a memory pig on these.‎

My idea to get my lookup maps in place is just to write a small perl script 
that dumps my config info from mysql into flat files, uses scp to copy the 
files over to the backup MXers, and then runs postmap on the output on the 
backup MXers. Before I go ahead with this, any clever options that I’m 
overlooking to have the same data on servers using different backing stores for 
the maps?

Thanks,

Charles

Reply via email to