LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-23-2001, 12:43 PM   #1
tintobg
LQ Newbie
 
Registered: Jun 2001
Posts: 2

Rep: Reputation: 0
Linux e-mail to ms exchange


I've got my linux mail clients talking to the MS Exchange server and sending internal mail and replies. But when I try to send an external e-mail, it complains about error 550 - cannot relay mail.
Is this because my linux box is in the wrong domain? or am I missing something completely?
 
Old 07-23-2001, 02:11 PM   #2
facroft
LQ Newbie
 
Registered: Jul 2001
Distribution: Red Hat
Posts: 5

Rep: Reputation: 0
Both boxes have to be in the same domain, or on your Exchange Server go into the Administrator program. Under configuration, go to Connections. Double click on Internet Mail Service. On the Internet Mail tab, click on E-Mail Domain and add the domain there. Then click on the Routing tab. Choose the second option, Reroute incoming SMTP mail. Click add, and add the other domains. Choose route to inbound.
That is how I set up my server to recognize our different domains. YMMV.
Felicity
 
Old 08-10-2001, 02:11 PM   #3
ca0695
LQ Newbie
 
Registered: Aug 2001
Posts: 9

Rep: Reputation: 0
I am having the exact same problem.

I know this may sound like a silly question (I am still a newb at this) but just because I have my Linux box set up so that I can receive email from Exchange, does that mean it is in the same domain or a different one? How can I tell? I can receive internal and external mail just fine but any outside mail I try to send comes back undeliverable as if the Exchange server were looking for the email address locally (part of the domain). Thanks in advance!
 
Old 08-10-2001, 09:06 PM   #4
facroft
LQ Newbie
 
Registered: Jul 2001
Distribution: Red Hat
Posts: 5

Rep: Reputation: 0
The Exchange server is probably set not to accept email forwards from other domains. This is to prevent spammers from using your Exchange server to forward their spam. What that means is that both the client and the Exchange server need to be on the same domain in order for the client to send Internet emails. So if your server is exchange.yourdomain.com, then your client should be hostname.yourdomain.com. If it is any other domain, the Exchange server will refuse to send the emails. If it is like mine, it will forward refused emails to the administrator. This alerts the administrator to people trying to use the server for spam. To get your client to work, find out the Internet domain name for your Exchange server and change your client domain to match.
 
Old 08-11-2001, 12:38 PM   #5
ca0695
LQ Newbie
 
Registered: Aug 2001
Posts: 9

Rep: Reputation: 0
Thanks. That does make a lot of sense. The only question I guess I have now is how do I make my Linux box part of the NT domain? I have all the IP/Domain info I need but I am not all that familiar with Linux yet. Thanks again!
 
Old 08-13-2001, 12:18 PM   #6
ca0695
LQ Newbie
 
Registered: Aug 2001
Posts: 9

Rep: Reputation: 0
Lightbulb

I finally got it to work by configuring message routing in Exchange. I had to configure Exchange to allow my Linux client the ability to relay email (specified by the Linux box's IP/subnet mask).
I was doing that and still couldn't get it to work until I found M$ knowledge base article Q258140 that said to change the last octet of the client's mask to match the last octet of the client's IP address.
For whatever reason that did the trick and it seems to be working fine! One step closer to shaking my M$ dependency!

Thanks for the help!!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
M$ Exchange compatible mail client for linux? jimieee Linux - Software 2 05-06-2005 06:45 AM
Sending mail from linux using MS Exchange relay host a2k2 Linux - General 0 08-16-2004 01:55 PM
about M$ Exchange protocol & linux mail clients P0w3r3d Programming 2 11-03-2003 02:56 PM
Linux Mail Server and Exchange Mail vvandam Linux - Networking 10 07-11-2003 04:42 PM
Migrating MS Exchange e-mail and addressbooks to linux novalisg Linux - Software 0 01-13-2003 03:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration