On Sat, Mar 15, 2014 at 11:34 PM, Noel Jones <njo...@megan.vbhcs.org> wrote: > On 3/15/2014 5:08 PM, Rick Zeman wrote: >> I've started working on my bastard Mac postfix relay. For delivery to >> the local domain, it will only relay to the internal mail server >> defined in transport if the user exists locally on the postfix > > When relaying to an inside server, the domain should be specified in > relay_domains, not mydestination. > > Valid recipients should be listed in relay_recipient_maps. > > You can override the users to be delivered locally by using a > transport_maps entry pointing those users to the local: delivery > transport. > > http://www.postfix.org/ADDRESS_CLASS_README.html > http://www.postfix.org/BASIC_CONFIGURATION_README.html > http://www.postfix.org/STANDARD_CONFIGURATION_README.html > > > And turn off the debug logging -- it's rarely useful for any but the > most obscure errors, and the big errors get lost in the noise. >
Oy. Got it, thanks. One last question. I have recipient_delimiters = - and also reject_unverified_recipient in the smtpd recipient restrictions. It looks like postfix (on my system, at least) does the smtp probe to the destination before the re-write of user-foo@ to user@ so it's effectively useless. Are they mutually exclusive, or is there a way to force the rewrite to happen before the probe? I didn't see anything under either common in the docs that addressed this scenario.