Operating System - HP-UX
1822505 Members
2499 Online
109642 Solutions
New Discussion юеВ

Re: sendmail 554 No SMTP Service here

 
SOLVED
Go to solution
Adam Noble
Super Advisor

sendmail 554 No SMTP Service here

Me again!!!

Ok I am trying to configure sendmail on a unix server to mail via a smtp server (windows sorry) running mail marshal!!

Anway I just want somebody to clarify this is an issue with the mail server rather than the unix server. I already have a unix server which is using the mail server to route mails. When I do a telnet
then type Helo the mail server is happy and says hello back.

When I do the same on my new unix server it connects and I type Helo and it fails with the error:-

554 No SMTP Service here.

I'm assuming the mail server needs to be configured to allow mails from this host.....do people agree with this.

Thanks
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: sendmail 554 No SMTP Service here

Shalom,

This is not the lack of a mail server or your connection would fail.

The access file on the system does not configure by default any other system other than localhost to send mail.

If you do this:
telnet localhost 25

and continue your testing, this is permitted by default.

If you do this to the unix server from the remote server you should by default get a relaying denied message.

Why?
Spam.

Spammers often try to get unsuspecting servers to relay their mail, thereby masking the source.

So senmdmail was modified to stop this.

To get the specific error you are getting requries configuration in the access file.

ipaddress REJECT 554 No SMTP service here

Must have been addeded to the access file and the m4 utility used to compile the access database into access.db

What is clear is that sendmail is running on the Unix server and can accept connections. It is apparent that its not accepting connections the way you'd wish.

To use the m4 utility on HP-UX requires special scripting. Here is a link to show you process, you'll need to change it to make changes to your access file.

For normal mail configuration on a Linux host, http://www.sendmail.org is sufficient.

http://www.hpux.ws/buildmail.hpux.text

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Adam Noble
Super Advisor

Re: sendmail 554 No SMTP Service here

I'm not sure I've made myself clear. I am establishing a telnet connection on port 25 to a windows machine running mail marshal. This windows machine I believe is rejecting the request. I have 2 unix servers trying to send via this mail server. 1 works one does not. The 1st one when I do a Helo is succesful the 2nd one is not. It errors with No SMTP server here and says connection was reset by mailserver
spex
Honored Contributor
Solution

Re: sendmail 554 No SMTP Service here

Adam,

I agree with your assessment--the problem lies with the mail relay. You must (#1) make sure that your server is authorized to access the relay, and (#2) that the relay can do a valid reverse DNS lookup on the server.

PCS
Steven E. Protter
Exalted Contributor

Re: sendmail 554 No SMTP Service here

Oh yes its a mail relay problem.

My earlier post, thanks for the points was useless as it dealt with Unix hosts.

This windows product is misconfigured and not permitting mail relay. It will have to be configured to accept relay from selected outside hosts, perhaps even from itself.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com