Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop drivers dvd email error excel excel 2003 firefox hard drive hardware hdmi hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor recovery router safe mode screen slow sound spyware tdlwsp.dll trojan video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Using sendmail behind a Cisco firewall

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
TheOnlyGonzo's Avatar
Senior Member with 202 posts.
 
Join Date: Apr 2007
Experience: Intermediate
19-Aug-2008, 05:50 PM #1
Using sendmail behind a Cisco firewall
Ok i have been looking into this for quite some time now, and still can not come to a solution. I have a configured a webserver using Ubuntu 8.04 Hardy using sendmail (8.14.2.2)for a form on the webiste.
The only purpose for sendmail is to email information that is entered into a form on the website to an internal email. My mail server is configured on another server.
Right now I can submit info on the website and have it sent to the email account I have specified, and the webserver sends a reply mail to the sender informing them that their email has been sent.
Now the problem is no matter where this email is sent from (internal or external to the LAN), it will get stuck in the queue to be sent to the mailbox for the specified email account. The system log shows that the sending of the info from the website form, has timed out during the sending. It also shows me the IP address it tries to send to, which is the public address for my mailserver.
To my knowledge, I have never been able to get to my mailservers public address. This is because my ASA5520 does not allow traffic from internal (private address) to get to a destination on the DMZ (public) address. I can only get to my mailserver thru the private address.
So my question is this: Is there a way in sendmail to configure it to send to a private address instead of the public address it is trying currently? If there is, then I should be able to get the info being sent from my website to the desired mailbox. If not, then does anyone have any suggestions as to another email service to use in Ubuntu other than sendmail?
TheOnlyGonzo's Avatar
Senior Member with 202 posts.
 
Join Date: Apr 2007
Experience: Intermediate
20-Aug-2008, 05:32 PM #2
Anyone??
briealeida's Avatar
Computer Specs
Senior Member with 660 posts.
 
Join Date: Jun 2007
Location: US and A
Experience: Ninja
25-Aug-2008, 09:13 AM #3
If the two servers are on different LANs, you have to use the public address. Private addresses (like 192.168.0.0 or 10.100.0.0) are non-routable by definition. Is your mail server true DMZ?

Have you looked at the ASA configuration? I have a similar Cisco ASA and there are lots of configuration options.
__________________
--
Brie Aleida
http://areyououtofyourvulcanmind.com
TheOnlyGonzo's Avatar
Senior Member with 202 posts.
 
Join Date: Apr 2007
Experience: Intermediate
26-Aug-2008, 02:16 PM #4
They are not on different LAN's. The private address for webserver is 192.168.0.201 and the mailserver is 192.168.0.9. What sendmail is trying to do is send to the public address of my mailserver which is on a true dmz.

What I have learned from Cisco, is that the firewall by default will not allow you to go from inside (private ip) to the outside (public address) and then try to come back in to the dmz. This is a security risk if you allow it. Cisco states that it is a potential for spoofed addresses to gain access inside. So the only way for me to get to my mailserver is by private IP, which is configured in the firewall to allow access from inside to dmz.(192.168.1.xxx has access to 192.168.0.9).
So my thinking would be to configure, if possible, sendmail to send to the private address instead of the public one.

Any ideas??
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 08:20 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.