Operating System - HP-UX
1748265 Members
3616 Online
108760 Solutions
New Discussion юеВ

Re: sendmail 8.13.3 problem with relaying

 
TOM BROCCOLETTI
Occasional Advisor

sendmail 8.13.3 problem with relaying

I am working on setting up sendmail version 8.13.3 with STARTTLS support. I am using 2 HPUX servers using 11.11 and I have setup one server as the sending mail client and the other as a replay. I am using an access database method for spam and I have RELAY to the client server and I am getting the error msg Relaying denied. Proper authentication required. the next line says 5.0.0 Need RCPT (recipient)
any ideas ?
Thanks
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: sendmail 8.13.3 problem with relaying

Shalom Tom,

In order to load the access database for sendmail, you should use a utility to build the sendmail.cf file off the macro file.


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

Worked with the previous version of hpux sendmail.

I have a feeling though you have other configuration errors that might be brought to light by my script.

HAve you generated a proper ssl certificate for sendmail? This needs to be done as well.

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
TOM BROCCOLETTI
Occasional Advisor

Re: sendmail 8.13.3 problem with relaying

I have created the current sendmail.cf
via the gen_cf command and I have used the access database with lower versions of sendmail, version 8.9.3, in production.

I have also went through the steps to create a CA cert, a csr, and signing the csr.



Steven E. Protter
Exalted Contributor

Re: sendmail 8.13.3 problem with relaying

Shalom Tom,

I do not believe the sendmail release is broken, though I am willing to test that for you here in Israel.

If you could provide the procedure for generating and placing the certificates on HP-UX, I will install sendmail and run the tests.

Bump your sendmail logging up to 16 in sendmail.cf or your .mc file on both servers. Restart sendmail and try the mail transfer again.

I'd like to see the log output.

Also, here is a test.

Please hit enter after every line.
telnet secondhost 25
helo domain.com
mail from:from@domain.com
rcpt to:recipient@domain.com
data
type some text
.

The response is interesting to me and potentially useful to you.

SEP

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
TOM BROCCOLETTI
Occasional Advisor

Re: sendmail 8.13.3 problem with relaying

Hi

This is what I used to setup all the TLS stuff including all the cert setups...

Thanks for your help




TOM BROCCOLETTI
Occasional Advisor

Re: sendmail 8.13.3 problem with relaying

Hi

Were you able to get far with this ?
Steven E. Protter
Exalted Contributor

Re: sendmail 8.13.3 problem with relaying

Shalom again Tom,

I'm sorry I missed your April 27 response.

Its late an my HP-UX servers are shut because they eat a lot of power. I will endeavor to get to this and try it out. Then I'll report back.

Due to personal circumstances I can not promise a date, but this is of great interest to me and I will try the doc and test it out.

Thanks for your patience.

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