LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 10-18-2008, 09:51 AM   #1
goldwing
LQ Newbie
 
Registered: Jan 2007
Location: Vilvoorde - Belgium
Distribution: Ubuntu
Posts: 13

Rep: Reputation: 0
configure sendmail to relay mail to exchange server


Hi,


I have a redhat application server, I need to able to send mails from there. As relay I should use my exchange.
I have another application Jira (on another server) that uses this IP as mailrelay and it works fine immediatelly: 172.18.20.2
I can telnet to that server to port 25 and it works fine.
I have changed this line in sendmail.cf : "DS172.18.20.2" and restarted the sendmail service.
This does not work.
What did I forget ?


G.
 
Old 10-18-2008, 01:05 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,976

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Since you're using the ip address of the smarthost instead of the fqdn, you should enclose it in square brackets: DS[172.18.20.2].

Regards
 
Old 10-18-2008, 02:38 PM   #3
goldwing
LQ Newbie
 
Registered: Jan 2007
Location: Vilvoorde - Belgium
Distribution: Ubuntu
Posts: 13

Original Poster
Rep: Reputation: 0
Question

I tried this, but still the same.
Can I debug the mailflow in some kind of way ?
 
Old 10-18-2008, 05:07 PM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,976

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Take a look at /var/log/maillog or whatever logfile Redhat uses.
Perhaps you should configure Exchange to accept mail from your box.
 
  


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
Relay mail to exchange with Sendmail slow keysorsoze Linux - Software 0 07-17-2007 08:00 PM
Sendmail to relay domain specific mail to internal MS Exchange 2003??? Wolfy Linux - Networking 4 06-22-2007 11:23 PM
Using Sendmail to relay all mail to my Exchange Server TimothyBoggess Linux - Newbie 7 05-01-2007 04:32 AM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 05:54 PM
sendmail configure relay for specific e-mail addresses LeovanBussel Linux - Newbie 1 07-29-2003 04:08 AM


All times are GMT -5. The time now is 07:41 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration