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

signaldeveloper at gmail.com signaldeveloper at gmail.com
Sun Sep 20 06:51:45 CEST 2015


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/20150920/61bba3df/attachment-0001.html>


More information about the users mailing list