On 5/11/2015 11:57 AM, gor...@fastmail.com.au wrote: >> You'll also want to set the VPS as relayhost, and set some controls >> so the home system accepts mail ONLY from the VPS -- easiest way to >> do that is add the VPS IP to the home system mynetworks, then add >> something like this to main.cf: >> smtpd_client_restrictions = >> permit_mynetworks >> reject > > Okay. I'm properly worried about OPENrelay -- this is a good hint to help > lock it down.
It actually takes some effort to make postfix an open relay, but for your home server you want it configured so that it doesn't accept mail from random internet. The "permit_mynetworks, reject" shown above will do that, assuming you include the VPS in the mynetworks setting. > >> You most likely won't need multi-instance support, but that may depend on >> the details of > > I still get a bit confused about when to modify main.cf vs master.cf for > multi-function setup. > > multi-INSTANCE seems like it simplifies THAT a bit, but adds the complexity > of passing the mail between instances. > > No idea of my my own which is better, so I'll stick with the "likely won't > need" for now. main.cf is global settings. master.cf is services -- processes, transports, listeners -- with optional per-service overrides. Nothing discussed in this thread would benefit from multi-instances. -- Noel Jones