Computing.Net > Forums > Linux > telnet to sendmail on port 25

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

telnet to sendmail on port 25

Reply to Message Icon

Name: ronen
Date: January 29, 2004 at 09:56:59 Pacific
OS: linux 7.3-9
CPU/Ram: mmx 200
Comment:

hello all,
there is something that bothering me like telneting to my sendmail server on port 25. people i do not know can send this way mail through my server. i want to block that. whatever menipulation on the fw didn't help neither stopping telnet service
i would be gratefull for help, tnx
ronen




Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: January 30, 2004 at 03:38:27 Pacific
Reply:

Stopping the telnet service on your machine will not affect anyone trying to telnet into port 25 as telnet runs on port 23. You want to prohibit relaying of messages. You should be able to fine trusted domains allowed to use your sendmail config files. Depending on your version of sendmail I think the file you want to edit is /etc/mail/relay-domains.

How have you tested this? Have you actually tried telnetting in yourself from outside your local network?


0

Response Number 2
Name: ronen
Date: January 30, 2004 at 09:20:27 Pacific
Reply:

helo 3Dave,
i tried it from outside the sendmail server.
i wonder if the 'relay-domains' option tells the server who can telnet to it or what domain should it send mails.
if its the second option haw can u guess to what domains u will send mails, there are thousands of them...
tnx
ronen


0

Response Number 3
Name: 3Dave
Date: February 2, 2004 at 00:58:21 Pacific
Reply:

The relay-domains file should contain a list of domains that you wish to be able to send mail through your server. This should generally only contain your local network, you will have to add the IP/domain to someone outside of the network to allow them access. An example file would be:
192.168.0 RELAY
foo.org RELAY
bar.com RELAY
This would allow for the local machines on the 192.168.0.XXX network as well as ones in the foo.org and bar.com domains to send mail.


0

Response Number 4
Name: ronen
Date: February 7, 2004 at 05:56:47 Pacific
Reply:

tnx 3DAVE


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: telnet to sendmail on port 25

How to telnet to a specific port? www.computing.net/answers/linux/how-to-telnet-to-a-specific-port/29858.html

sendmail and port 25 www.computing.net/answers/linux/sendmail-and-port-25/26308.html

Can't get FTP working on RedHat 7.2 www.computing.net/answers/linux/cant-get-ftp-working-on-redhat-72/7389.html