Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to close an open relay on Sendmail?

Posted on 2003-03-03
2
Medium Priority
?
832 Views
Last Modified: 2006-11-17
Hi!  I'm new to Sendmail and have installed version 8.12.5 on a Redhat 8 machine.  It was installed using the RPM that came with RH.  Everything functions fine (as in I send and receive mail) but when I run a test here: http://members.iinet.net.au/~remmie/relay/
it says I have an open relay.  The server I am testing is mail.tmallow.com. My files are as follows:

sendmail.cf
commented out the line the line DaemonPortOptions=Port=127.0.0.1 so that Sendmail would listen on all devices

access
has the line "192.168.0" to allow my network to send mail

relay-domains is empty

local-host-names
has the line "tmallow.com" so that I accept mail for my domain.


As I stated I am new to sendmail so my asumptions about what these files do may be wrong.  Thanks alot.

tmallow
0
Comment
Question by:tmallow
2 Comments
 
LVL 4

Accepted Solution

by:
Jivko earned 200 total points
ID: 8064311
If relay-domains is empty and you have only 192.168.0" you do not have a open relay MTA. Do not trust this http://members.iinet.net.au/~remmie/relay/
0
 

Author Comment

by:tmallow
ID: 8064547
I have since realized that it only allows me to relay if the recipient name is within my domain.  I guess that isn't of much use to a spammer, all they could do is send mail to my domain.  Thanks Jivko, I needed reassurance that my setup was OK.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Suggested Courses

577 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question