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 10-22-2010, 11:33 AM   #1
gymiv@aol.com
Member
 
Registered: Oct 2010
Location: linwood, KS
Distribution: CentOS
Posts: 59

Rep: Reputation: 0
Sendmail DMZ Exchange 2007 internal


I am using sendmail in my DMZ and exchange 2007 for my internal mail server. This was configured before I started here and is not likely to change soon. The problem I inherited is this When a client goes to our web page and puts in contact info. 2 emails are sent. 1 internally to our sales dept. and 1 to the client with an attachment. The internal email is recieved fine. The external email always fails nomatter who it is, with error (#5.1.2 SMTP; 550 Host unknown> #SMTP#)
It says the generating server is the sendmail server in the DMZ, not the exchange server, on the NDR report i recieve. The exchange logs do not show any errors for these emails. As a matter of fact i cannot find them at all.
The autoreply process:
When a visitor to our website submits a form, the application attempts to send 2 messages. One to us, which is the content that the web visitor submits, and the other as an "auto-responder" which thanks the visitor for their request. The first email gets delivered fine
The application that is attempting to send the email is a Perl Form processor. It sends to the default location of the SMTP server configured on the web server. This in turn is forwarded to the exchange server via an alias that's configured on the web server. this alias is internalmail.server.com, which the web server is assuming has SMTP service available.
Please help me solve this issue,
Thanks
 
Old 12-20-2010, 10:03 PM   #2
Linux_Revolution
LQ Newbie
 
Registered: Nov 2010
Location: Milwuakee, WI
Distribution: BackTrack - Ubuntu
Posts: 29

Rep: Reputation: 2
You get this figured out yet?

If not, some questions for you:
Sounds like the sendmail is set up to use itself as the Mail server. Is the firewall blocking port 25 from the DMZ to external?

If the sendmail is using the Exchange 2007, Is this program authenticating into the SMTP server, or is the IP address allowed to relay?
Sounds like it may have right to relay internally, but not externally.
It may be the sending email address, I have seen some servers block relay if the email address does not match the account it authenticates with (Especially with Exchange 2007)

I would run Wireshark on the server in the DMZ and the SMTP server while sending a test to see what the error is.
 
1 members found this post helpful.
  


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] SendMail exterior Exchange Internal gymiv@aol.com Slackware 2 10-22-2010 11:27 AM
Sendmail to relay domain specific mail to internal MS Exchange 2003??? Wolfy Linux - Networking 4 06-22-2007 10:23 PM
Sendmail as SmartHost to route MS exchange 2003 Internal mail cksoo Linux - Enterprise 4 01-15-2007 10:34 AM
Surefirewall internal to dmz connection. rizwanrafique SUSE / openSUSE 1 07-28-2006 11:20 PM
exchange server 5.5 in DMZ tatkins Linux - Networking 2 01-03-2003 02:58 PM


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