aleph de: > > /etc/postfix/main.cf: > > transport_maps = static:relay:[10.2.0.17]:10015 > > Okay. I thought the _maps would imply an external file. I clearly > misunderstood that, and learned about the 'static:' too. Thanks. > > What I'd actually intended to ask though is, if I wanted to add the > > -o transport_maps=static:relay:[10.2.0.17]:10015 > > to MASTER.cf, which of the three services' sections would I add this under, > > smtp inet n - n - 1 postscreen > smtpd pass - - n - - smtpd > > &/or > > relayTEST unix - - n - - smtp
The transport map specifies how to deliver mail. Therefore you need to specify a master.cf service that delivers (not: receives) mail. > > relay_recipient_maps = > > > > That is bad. Your server will accept mail for non-existent users, > > and either will throw away email (which may break the law) or it > > will be a backscatter source (which may cause your server to > > become blacklisted). > > My intention is to use automatic recipient validation by having > the Postfix at the VPS contact the backend Postfix at the office > to check for valid users. > > IIUC from reading > http://www.postfix.org/ADDRESS_VERIFICATION_README.html#recipient and > other posts, to do that you're supposed to leave blank That is correct. You are using "reject_unverified_recipient" to reject mail with an incorrect recipient address. Wietse