Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help with sendmail behind firewall without open relay

Status
Not open for further replies.

mindgrep

Programmer
Mar 7, 2003
1
US
I have a mail server running sendmail behind the company firewall.
The firewall forwards packets destined for our mail server's external
ip using NAT to the internal mail server machine. I have
configured sendmail to only relay to and from our domain.
However, all email sent via our mail server appears to
come from the firewall, rather than from the external source.
This effectively results in open relay.

Is there a way to keep this configuration and stop open relay?
Any suggestions will be appreciated.

Thanx in advance.
 
Sorry, I do not quite understand your problem. Ensure that the mail server allows only your users to send through. Then ensure that the mail server only accepts mail for your domain. Then If you sendmail from your user to another user (mail via the mail server), then it will accept it without forwarding out. If any mail comes from outside, it will have to be for your domain for the server to accept it, else, it is rejected.

Does that help?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top