We help IT Professionals succeed at work.

How to forward a group of email address to another server while still having others delivered localy ?

isstar
isstar asked
on
201 Views
Last Modified: 2013-12-17
Hi,

I have to setup a new mail server. I have only one domain and the new server will be the MX for this domain. But I have to deliver some addresses to another  server (Exchange) and others emails addresses are delivered localy. I can't use pop connector from Exchange server because it's to slow (check every 15 min). The domain on the Exchange server is also the same so I can't use standard forwarding.

I can use FreeBSD (preference) or Linux as OS and Exim (preference), Qmail or Postfix as MTA.

I can I do that ?
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2015

Commented:
I'm pretty sure exim, qmail and postfix will do what you need.  I can only speak from Sendmail experience to confirm that a forwarding by user or domain is possible.

If you prefer one MTA over the other, identify it and we can identify the configuration parameters.

Worst case, if you don't know what MTA you want, a '.forward' file in the user's home directory will suffice.
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
I think I can't do that because domain on Exchange and Linux server is the same.

For example on my Linux server I have a domain foo.com and 2 emails bar@foo.com et rab@foo.com. My Exchange server is also configured with foo.com domain but there is only the address bar@foo.com. So the first linux server have to forward bar@foo.com on Exchange server and delivered locally rab@foo.com.
CERTIFIED EXPERT
Most Valuable Expert 2015
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Exactly as Jesper has said, after the @ you just point it towards your exchange server and it will automatically forward the email on without attempting local delivery.

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.