1828490 Members
2732 Online
109978 Solutions
New Discussion

Sendmail - Port 25

 
SOLVED
Go to solution
Ryan B
Frequent Advisor

Sendmail - Port 25

When we telnet to port 25 via "telnet 25", we get connected to our system just fine but when we type "rcpt to:" and specifiy one of our internal e-mail addresses, we get the error "550 ...Relaying denied"

Our sendmail.cf file is setup with the Smart relay host and all works well when you type sendmail from the command line, etc...

So, why do we get this error mentioned when we telnet to the port and try to send e-mail?

When you telnet to port 25, are you using senmdamil.cf? If not what needs to be setup to make the telnet work?

Thanks for the help.
Ryan
2 REPLIES 2
Steve-Thompson
Regular Advisor
Solution

Re: Sendmail - Port 25

Hello Ryan

This is a question for the UNIX group, you're on the OpenVMS Forum.

However, with this information, one suggestion would be you need a line in /etc/mail/access file that allows your own net to relay mail.
(As it sendmail works from "localhost" and not from outside)
Dont forget to recreate access.db file after making changes to access.

And/OR

Check out the excellent SENDMAIL help at--

http://www.sendmail.org/tips/relaying.php

Regards
Steven
Ryan B
Frequent Advisor

Re: Sendmail - Port 25

Thanks for pointing out that I was in the incorrect group. I did resolve my issue by adding the relay-domains file. Now I need to understand the risks.

I will check out the docs.

Thanks Again.