LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-14-2013, 03:15 AM   #1
Treikayan
Member
 
Registered: Oct 2008
Location: Albany Park, Chicago IL
Distribution: RHEL 5.1 i386
Posts: 75

Rep: Reputation: 15
Sendmail to use Exchange 2003 (smart host) to relay mail


Hello,

1. How would I set up sendmail client to use my Exchange 2003 server to route e-mail? One problem I'm having is sending to a distribution list on the domain where there is a user account that is not on the windows domain. I get bounced with a "5.5.0 smtp;550 Sender verify failed" error for the user not on the windows domain. The windows domain user delivers fine (probably since the mailbox is local).

Example:
Distribution List (something@localdomain.local)
user1@localdomain.local (user on windows domain)
user2@outsidedomain.com (user outside local domain)

Here is another problem. When I send to user2@outsidedomain.com alone, it routes but it doesn't relay through Exchange Server.

2. There is no open relay on the Exchange server so any user would have to have relay permissions from a domain user account. How would I tell sendmail to use that account in its settings?

3. How can I get root@localhost.localdomain look like a regular e-mail address like name@domain.net?

I followed the steps in this link to no avail:
http://www.dnsexit.com/support/mailrelay/sendmail.html

I also tried setting up a /etc/mail/aliases file (and running "newaliases") to no avail.

Thank you for any assistance.

Last edited by Treikayan; 07-14-2013 at 03:18 AM.
 
Old 07-14-2013, 08:44 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 2,448

Rep: Reputation: Disabled
Quote:
Originally Posted by Treikayan View Post
1. How would I set up sendmail client to use my Exchange 2003 server to route e-mail? One problem I'm having is sending to a distribution list on the domain where there is a user account that is not on the windows domain. I get bounced with a "5.5.0 smtp;550 Sender verify failed" error for the user not on the windows domain.
You're not getting this error because the list includes a non-local user, you're getting it because the sender address and/or domain is invalid.

Quote:
Originally Posted by Treikayan View Post
Here is another problem. When I send to user2@outsidedomain.com alone, it routes but it doesn't relay through Exchange Server.

2. There is no open relay on the Exchange server so any user would have to have relay permissions from a domain user account. How would I tell sendmail to use that account in its settings?
I'm assuming the server running sendmail have a static IP address? Perhaps it's even on the same internal network as the Exchange server? In that case, you don't have to mess with authentication settings in sendmail, just add the IP address to the "Relay" list in Exchange System Manager. It's a button on the "Access" tab in the properties dialog of the SMTP virtual server; you'll find it under Servers > "server name" > Protocols > SMTP.

Quote:
Originally Posted by Treikayan View Post
3. How can I get root@localhost.localdomain look like a regular e-mail address like name@domain.net?

I followed the steps in this link to no avail:
http://www.dnsexit.com/support/mailrelay/sendmail.html

I also tried setting up a /etc/mail/aliases file (and running "newaliases") to no avail.
I believe this may be what you're looking for.
 
  


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
[SOLVED] How to set up sendmail to use Exchange server with auth NTLM as smart relay? lrtward Linux - Newbie 4 06-21-2012 11:41 AM
exim4 freezing all mail using as relay to smart host kellogs87 Linux - Server 2 03-04-2012 09:34 PM
Sendmail to relay domain specific mail to internal MS Exchange 2003??? Wolfy Linux - Networking 4 06-22-2007 10:23 PM
howto relay sendmail with exchange 2003 ioio Linux - General 1 10-25-2006 11:03 PM
Sending mail from linux using MS Exchange relay host a2k2 Linux - General 0 08-16-2004 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration