How to relay subdomain but deliver local mail?

2014-06-03 Thread Andrew Stuart
I want mail to example.org to be delivered to the local virtual mailboxes. I want mail to in.example.org to be relayed to mail.power.com. The configuration below is relaying all mail to mail.power.com. Can someone please suggest what I need to do to fix? thanks # See /usr/share/postf

Re: How to relay subdomain but deliver local mail?

2014-06-03 Thread Andrew Stuart
virtual_gid_maps = static:5000 virtual_mailbox_base = /home/vmail virtual_mailbox_maps = hash:/etc/postfix/vmaps virtual_minimum_uid = 100 virtual_uid_maps = static:5000 On 04/06/2014, at 11:49 AM, Viktor Dukhovni wrote: On Wed, Jun 04, 2014 at 11:39:56AM +1000, Andrew Stuart wrote: I want mail to

Re: How to relay subdomain but deliver local mail?

2014-06-03 Thread Andrew Stuart
transport file contains: * smtp:mail.power.com On 04/06/2014, at 11:59 AM, Viktor Dukhovni wrote: On Wed, Jun 04, 2014 at 11:52:59AM +1000, Andrew Stuart wrote: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases home_mailbox = Maildir/ Only applicable with local

Re: How to relay subdomain but deliver local mail?

2014-06-03 Thread Andrew Stuart
Not since you pointed it out. Thanks Viktor works fine now. On 04/06/2014, at 12:17 PM, Viktor Dukhovni wrote: On Wed, Jun 04, 2014 at 12:16:08PM +1000, Andrew Stuart wrote: transport file contains: * smtp:mail.power.com And you're surprised why everything is going via