Can't send to parent domain (attention postfix masters)

signaldeveloper at gmail.com signaldeveloper at gmail.com
Mon Sep 21 15:57:31 CEST 2015


Okay let's start over. 

Apple.com
Orange.com
Banana.com (I like fruit :)....

When I originally set kolab up I used banana.com as my domain. Host name would be es1.banana.com... It works perfect. Now, banana.com's email is actually hosted somewhere else. So banana email is hosted in a remote location. 

At this point I went through the multi domain setup...

Apple and orange can email each other fine as well as others. That works great. I would like all of the other domains on the server to look out to the Internet for my original kolab setup domain, banana.com

What needs to happen is I want banana.com to not look at the local server for the email delivery. 

I know it's possible with the wonderful postfix I just don't have enough years with it.. 



- Paul

> On Sep 20, 2015, at 8:53 PM, bshaw at vsvinc.com wrote:
> 
> Paul,
>   I'm not sure I'm understanding your setup.  Are you saying that you have domain.com at site #1 and your Kolab server, apple.com, and orange.com at unrelated site #2?
>   If so, I'm not sure you can setup Kolab that way.  Kolab is designed for single network mail management.
>   I also have a multi-domain setup and I can send mail back and forth between my domains just fine but, they live on the same network.
>   Is it possible to explain your use case in more detail?
> 
> Brian
> 
> From: signaldeveloper at gmail.com
> Sent: Sep 20, 2015 12:52 AM
> To: Mihai Badici
> Cc: Kolab Users List
> Subject: Re: Can't send to parent domain (attention postfix masters)
> 
> I am also still trying to figure this out. 
> 
> 
> My server hostname is domain.com.... 
> 
> A multi domain setup has a few other domains on the same server 
> 
> Apple.com
> Orange.com
> 
> Apple and orange can send to each other. Domain can send to apple and orange. But Apple and orange can NOT send to domain.com. 
> 
> I followed the directions on documentation for setup of multi domain. 
> 
> I would however like to force Apple and orange to look out to the Internet to deliver domain.com email (since its hosted somewhere else)
> 
> 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....
> 
> See below for my main.cf
> 
> Thank you again!!
> 
> 
> 
> - Paul
> 
>> On Sep 15, 2015, at 12:48 PM, Paul Bronson <signaldeveloper at gmail.com> wrote:
>> 
>> Mihai,
>> 
>> That's not in my main.cf - 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:
>> 
>> 
>> readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
>> smtpd_tls_auth_only = yes
>> transport_maps = hash:/etc/postfix/transport,ldap:/etc/postfix/ldap/hosted_triplet_transport_maps.cf,ldap:/etc/postfix/ldap/hosted_duplet_transport_maps.cf
>> content_filter = smtp-amavis:[127.0.0.1]:10024
>> recipient_delimiter = +
>> smtpd_tls_key_file = /etc/pki/tls/private/localhost.pem
>> smtpd_sender_login_maps = $local_recipient_maps
>> local_recipient_maps = ldap:/etc/postfix/ldap/local_recipient_maps.cf,ldap:/etc/postfix/ldap/hosted_triplet_local_recipient_maps.cf,ldap:/etc/postfix/ldap/hosted_duplet_local_recipient_maps.cf
>> virtual_alias_maps = $alias_maps,ldap:/etc/postfix/ldap/virtual_alias_maps.cf,ldap:/etc/postfix/ldap/hosted_triplet_virtual_alias_maps.cf,ldap:/etc/postfix/ldap/hosted_duplet_virtual_alias_maps.cf,ldap:/etc/postfix/ldap/hosted_triplet_virtual_alias_maps_mailforwarding.cf,ldap:/etc/postfix/ldap/hosted_duplet_virtual_alias_maps_mailforwarding.cf,ldap:/etc/postfix/ldap/hosted_triplet_virtual_alias_maps_sharedfolders.cf,ldap:/etc/postfix/ldap/hosted_duplet_virtual_alias_maps_sharedfolders.cf,ldap:/etc/postfix/ldap/hosted_triplet_mailenabled_distgroups.cf,ldap:/etc/postfix/ldap/hosted_duplet_mailenabled_distgroups.cf,ldap:/etc/postfix/ldap/hosted_triplet_mailenabled_dynamic_distgroups.cf,ldap:/etc/postfix/ldap/hosted_duplet_mailenabled_dynamic_distgroups.cf
>> 
>> submission_sender_restrictions = reject_non_fqdn_sender, check_policy_service unix:private/submission_policy, permit_sasl_authenticated, reject
>> submission_recipient_restrictions = check_policy_service unix:private/submission_policy, permit_sasl_authenticated, reject
>> smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_pipelining, reject_rbl_client zen.spamhaus.org, reject_non_fqdn_recipient, reject_invalid_helo_hostname, reject_unknown_recipient_domain, reject_unauth_destination, check_policy_service unix:private/recipient_policy_incoming, permit
>> smtp_tls_security_level = may
>> submission_data_restrictions = check_policy_service unix:private/submission_policy
>> smtpd_tls_cert_file = /etc/pki/tls/private/localhost.pem
>> smtpd_tls_security_level = may
>> smtpd_sasl_auth_enable = yes
>> smtpd_sender_restrictions = permit_mynetworks, check_policy_service unix:private/sender_policy_incoming
>> 
>> 
>>> On Tue, Sep 15, 2015 at 9:31 AM, Mihai Badici <mihai at badici.ro> wrote:
>>> On Tuesday 15 September 2015 09:10:47 you wrote:
>>> No - that would be my parent domain I renamed so the spammers don't get my info :)
>>> 
>>> 
>>> 
>>> That's means you have a domain "domain.com" in kolab?
>>>  
>>>  
>>> Yeah, that's I know, but what i asked is: do you have in kolab your parent domain?
>>>  
>>> From main.cf:
>>>  
>>> # The mydestination parameter specifies the list of domains that this
>>> # machine considers itself the final destination for. That does not
>>> # include domains that are hosted on this machine. Those domains are
>>> # specified elsewhere (see sample-virtual.cf, and sample-transport.cf).
>>> #
>>> # The default is $myhostname + localhost.$mydomain.
>>> If you have the domain in kolab and the ldap query return that domain, it wil be considered local.
>>> I don't use mydestination for that but:
>>>  
>>> virtual_mailbox_domains = ldap:/etc/postfix/ldap-domains.cf
>>> At the end, i don't think there is big difference.
>>>  
>>>  
>>>  
>>>  
>>> 
>>> _______________________________________________
>>> users mailing list
>>> users at lists.kolab.org
>>> https://lists.kolab.org/mailman/listinfo/users
>>> 
>>> 
>>> 
>>> 
>>> --
>>> Mihai Badici
>> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20150921/be8c0e09/attachment.html>


More information about the users mailing list