<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I am also still trying to figure this out. </div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">My server hostname is <a href="http://domain.com">domain.com</a>.... </div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">A multi domain setup has a few other domains on the same server </div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature"><a href="http://apple.com">Apple.com</a></div><div id="AppleMailSignature"><a href="http://orange.com">Orange.com</a></div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">Apple and orange can send to each other. Domain can send to apple and orange. But Apple and orange can NOT send to <a href="http://domain.com">domain.com</a>. </div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">I followed the directions on documentation for setup of multi domain. </div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">I would however like to force Apple and orange to look out to the Internet to deliver <a href="http://domain.com">domain.com</a> email (since its hosted somewhere else)</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">How can I accomplish this? As the directions for a multi domain setup said, I have the hosted duplet and hosted triplet files for a few files in the ldap folder under postfix....</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">See below for my main.cf</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">Thank you again!!</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature"><br><br>- Paul</div><div><br>On Sep 15, 2015, at 12:48 PM, Paul Bronson <<a href="mailto:signaldeveloper@gmail.com">signaldeveloper@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Mihai,<div><br></div><div>That's not in my <a href="http://main.cf">main.cf</a> - I just want my "main" domain email to not be considered local and to send the mail out to the internet. I've tried taking out different files and things but that doesn't seem to work. See main:</div><div><br></div><div><br></div><div><div>readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES</div><div>smtpd_tls_auth_only = yes</div><div>transport_maps = hash:/etc/postfix/transport,ldap:/etc/postfix/ldap/<a href="http://hosted_triplet_transport_maps.cf">hosted_triplet_transport_maps.cf</a>,ldap:/etc/postfix/ldap/<a href="http://hosted_duplet_transport_maps.cf">hosted_duplet_transport_maps.cf</a></div><div>content_filter = smtp-amavis:[127.0.0.1]:10024</div><div>recipient_delimiter = +</div><div>smtpd_tls_key_file = /etc/pki/tls/private/localhost.pem</div><div>smtpd_sender_login_maps = $local_recipient_maps</div><div>local_recipient_maps = ldap:/etc/postfix/ldap/<a href="http://local_recipient_maps.cf">local_recipient_maps.cf</a>,ldap:/etc/postfix/ldap/<a href="http://hosted_triplet_local_recipient_maps.cf">hosted_triplet_local_recipient_maps.cf</a>,ldap:/etc/postfix/ldap/<a href="http://hosted_duplet_local_recipient_maps.cf">hosted_duplet_local_recipient_maps.cf</a></div><div>virtual_alias_maps = $alias_maps,ldap:/etc/postfix/ldap/<a href="http://virtual_alias_maps.cf">virtual_alias_maps.cf</a>,ldap:/etc/postfix/ldap/<a href="http://hosted_triplet_virtual_alias_maps.cf">hosted_triplet_virtual_alias_maps.cf</a>,ldap:/etc/postfix/ldap/<a href="http://hosted_duplet_virtual_alias_maps.cf">hosted_duplet_virtual_alias_maps.cf</a>,ldap:/etc/postfix/ldap/<a href="http://hosted_triplet_virtual_alias_maps_mailforwarding.cf">hosted_triplet_virtual_alias_maps_mailforwarding.cf</a>,ldap:/etc/postfix/ldap/<a href="http://hosted_duplet_virtual_alias_maps_mailforwarding.cf">hosted_duplet_virtual_alias_maps_mailforwarding.cf</a>,ldap:/etc/postfix/ldap/<a href="http://hosted_triplet_virtual_alias_maps_sharedfolders.cf">hosted_triplet_virtual_alias_maps_sharedfolders.cf</a>,ldap:/etc/postfix/ldap/<a href="http://hosted_duplet_virtual_alias_maps_sharedfolders.cf">hosted_duplet_virtual_alias_maps_sharedfolders.cf</a>,ldap:/etc/postfix/ldap/<a href="http://hosted_triplet_mailenabled_distgroups.cf">hosted_triplet_mailenabled_distgroups.cf</a>,ldap:/etc/postfix/ldap/<a href="http://hosted_duplet_mailenabled_distgroups.cf">hosted_duplet_mailenabled_distgroups.cf</a>,ldap:/etc/postfix/ldap/<a href="http://hosted_triplet_mailenabled_dynamic_distgroups.cf">hosted_triplet_mailenabled_dynamic_distgroups.cf</a>,ldap:/etc/postfix/ldap/<a href="http://hosted_duplet_mailenabled_dynamic_distgroups.cf">hosted_duplet_mailenabled_dynamic_distgroups.cf</a></div><div><br></div><div>submission_sender_restrictions = reject_non_fqdn_sender, check_policy_service unix:private/submission_policy, permit_sasl_authenticated, reject</div><div>submission_recipient_restrictions = check_policy_service unix:private/submission_policy, permit_sasl_authenticated, reject</div><div>smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_pipelining, reject_rbl_client <a href="http://zen.spamhaus.org">zen.spamhaus.org</a>, reject_non_fqdn_recipient, reject_invalid_helo_hostname, reject_unknown_recipient_domain, reject_unauth_destination, check_policy_service unix:private/recipient_policy_incoming, permit</div><div>smtp_tls_security_level = may</div><div>submission_data_restrictions = check_policy_service unix:private/submission_policy</div><div>smtpd_tls_cert_file = /etc/pki/tls/private/localhost.pem</div><div>smtpd_tls_security_level = may</div><div>smtpd_sasl_auth_enable = yes</div><div>smtpd_sender_restrictions = permit_mynetworks, check_policy_service unix:private/sender_policy_incoming</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 15, 2015 at 9:31 AM, Mihai Badici <span dir="ltr"><<a href="mailto:mihai@badici.ro" target="_blank">mihai@badici.ro</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div style="font-family:'Sans Serif';font-size:9pt;font-weight:400;font-style:normal"><span class="">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">On Tuesday 15 September 2015 09:10:47 you wrote:<br></p>
<p style="margin-top:12px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px">No - that would be my parent domain I renamed so the spammers don't get my info :)</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><br></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><br></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:40px;margin-right:40px;text-indent:0px"><br></p>
</span><span class=""><p style="margin-top:0px;margin-bottom:0px;margin-left:46px;margin-right:40px;text-indent:0px">That's means you have a domain "<a href="http://domain.com" target="_blank"><span style="text-decoration:underline;color:#0057ae">domain.com</span></a>" in kolab?</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
</span><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Yeah, that's I know, but what i asked is: do you have in kolab your parent domain?</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:46px;margin-right:40px;text-indent:0px">From <a href="http://main.cf" target="_blank">main.cf</a>:</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:46px;margin-right:40px;text-indent:0px"># The mydestination parameter specifies the list of domains that this</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"># machine considers itself the final destination for. That does not</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"># include domains that are hosted on this machine. Those domains are</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"># specified elsewhere (see <a href="http://sample-virtual.cf" target="_blank">sample-virtual.cf</a>, and <a href="http://sample-transport.cf" target="_blank">sample-transport.cf</a>).</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">#</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"># The default is $myhostname + localhost.$mydomain. </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">If you have the domain in kolab and the ldap query return that domain, it wil be considered local.</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">I don't use mydestination for that but:</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">virtual_mailbox_domains = ldap:/etc/postfix/<a href="http://ldap-domains.cf" target="_blank">ldap-domains.cf</a></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">At the end, i don't think there is big difference.</p><span class="">
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"> </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br>_______________________________________________<br>users mailing list<br><a href="mailto:users@lists.kolab.org" target="_blank"><span style="text-decoration:underline;color:#0057ae">users@lists.kolab.org</span></a><br><a href="https://lists.kolab.org/mailman/listinfo/users" target="_blank"><span style="text-decoration:underline;color:#0057ae">https://lists.kolab.org/mailman/listinfo/users</span></a><br></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br></p>
</span><p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><br><br><br>-- </p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><a href="http://mihai.badici.ro" target="_blank"><span style="text-decoration:underline;color:#0057ae">Mihai Badici</span></a> </p></div></blockquote></div><br></div>
</div></blockquote></body></html>