We help IT Professionals succeed at work.

Need to configure relay mailboxes under Sendmail

agubaira
agubaira asked
on
Medium Priority
523 Views
Last Modified: 2010-04-20
Hello Experts !

I have the following configuration:

1- RH Linux server configured with Sendmail to host email accounts from the company's foreign domain.
2- Fetchmail as POP3 client to download messages from the company's foreign domain into the local Sendmail (Linux) accounts.
3- Sendmail as MTA to send messages inside the local network and to the internet as well.

What happens ? Everything works fine: messages are downloaded and distributed to the Linux accounts. Users interact with internal Linux server to download or send email from their mail client. Messages to outside domains are queued and sent by Sendmail. The problem is that some mailboxes are for the company's remote users that do not have a Linux account. Those messages bounce back when an internal user sends it with an unknown mailbox message. Of course, this happens because the account does not exist on the Linux server.

Question is, how can I configure relaying mailboxes to forward those messages to an external MTA so they can reach the server hosting the company's domain ? I tried using Smart host bit it didn't work.
Comment
Watch Question

You could set up mailboxes for the remote users on the RH box and use .forward files to send them on to their remote accounts.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Top Expert 2006
Commented:
You can set up a virtual domain for those individuals that are not on the host in question:

http://www.sendmail.org/virtual-hosting.html

or another alternative that is really quick and easy to set up is Xmail:

www.xmailserver.org

For this you would set up the server so that all email accounts are 'virtual'. You can have multiple virtual domains with this server very easily as part of the basic install - its main strength. After that, all users would 'fetchmail' their mail from the Xmail server.

Author

Commented:
I will be trying both solutions next week. Sorry for the delay.
Commented:
Use Postfix and save yourself the headaches.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*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.