----- Original Message ----- From: "Noel Jones" <njo...@megan.vbhcs.org> To: "Eric Parker" <epar...@scoe.org> Cc: postfix-us...@cloud9.net Sent: Friday, September 4, 2009 1:16:50 PM GMT -08:00 US/Canada Pacific Subject: Re: postfix local account delivery problem
On 9/4/2009 1:22 PM, Eric Parker wrote: > Hello. > > I have a server running postfix 2.3.3 > > It handles mail for somedomain.com > > in main.cf I have specified "fallback_transport = smtp:smtp.somedomain.com" > which works great. The problem I'm running into is I have two local accounts > (have linux user accounts) so the mail is being delivered locally rather > being sent to the fallback_transport. > > Is there a way I can specify us...@somedomain be delivered at > smtp.somedomain.com rather than being delivered locally? > > Hopefully I was clear. > > Thank you for any help you can provide. > > Eric You can use transport_maps to define where mail for a specific user should go, but it sounds as if you are misusing the fallback_relay feature. Domains that are relayed to another host should be listed in relay_domains, and not listed in mydestination. Valid recipients for those domains should be listed in relay_recipient_maps. http://www.postfix.org/ADDRESS_CLASS_README.html http://www.postfix.org/STANDARD_CONFIGURATION_README.html -- Noel Jones Thank you for the information. Using transport_maps to specify where specific users email should go did the trick. Thank you. Eric ------------------------------------ Notice to Recipient: Information contained in this message may be privileged, confidential and protected from disclosure. If you are not an intended recipient, it is strictly prohibited to use, disseminate or copy this communication. If you have received this in error, please reply to the sender and then delete the message. Thank you.