Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Feb 03, 2014 2:17 pm 
Offline
Senior Member

Joined: Wed Oct 20, 2010 12:35 pm
Posts: 111
Location: United Kingdom
I currently use Google Apps for Business for one of my domains. I'd like to keep using it for staff email addresses such as:

my.name@domain.com

but I'd like to use my own SMTP / IMAP servers for company wide email addresses such as

sales@domain.com
support@domain.com

does anyone know if this is possible at all?


Top
   
PostPosted: Mon Feb 03, 2014 4:51 pm 
Offline
Senior Member
User avatar

Joined: Sun Dec 27, 2009 11:12 pm
Posts: 1038
Location: Colorado, USA
In theory you can "sort" email with a SMTP Proxy server.

Might be easier just to use two domains.
joe.staff@bc-online.com
sales@BigCompany.com

You keep your outside face aligned with your branding, and use a internal/intranet domain for all the staff traffic.

_________________
Either provide enough details for people to help, or sit back and listen to the crickets chirp.
Security thru obscurity is a myth - and really really annoying.


Top
   
PostPosted: Tue Feb 04, 2014 10:53 am 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
Postfix will do it with a virtual alias and a transport map sending selected addresses to a second server.

virtual_alias_map:
Code:
sales@domain.com  sales@server2.domain.com
support@domain.com support@server2.domain.com


transport_map:
Code:
server2.domain.com smtp:server2


Alternatively you could use simple aliasing which would work in postfix and sendmail to send the mail to server2:
/etc/aliases:
Code:
sales@domain.com  sales@server2.domain.com
support@domain.com support@server2.domain.com


Either way you can't tell the world to send mail to different servers based on username alone. The mail has to go to one server where some of it is filtered and resent.


If at all possible don't do this. Do as vonskippy's suggests and use two domains. It makes the configuration so much simpler and complexity causes failures. One domain could be a subdomain of the other. E.g. sales@mycompany.com, my.name@people.mycompany.com.


Top
   
PostPosted: Tue Feb 04, 2014 2:06 pm 
Offline
Senior Member

Joined: Wed Oct 20, 2010 12:35 pm
Posts: 111
Location: United Kingdom
Thanks for the information. I wish I had thought about this a bit more before I initially set up my email infrastructure. Using a sub-domain for staff email addresses would have made perfect sense.

I'll have to have a bit of a think regarding this since I already have personal email addresses configured and in use.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group