1831664 Members
2096 Online
110029 Solutions
New Discussion

SMTP Gateway on HPUX

 
Russell Gann_2
Occasional Contributor

SMTP Gateway on HPUX

I have an HPUX sendmail instance and a workstation running Microsoft 2000 Server. I would like any mail on the Microsoft 2000 Server to be forward through the HPUX sendmail instance and out to the world (and back only to sendmail). Can someone explain how to do this?

Thanks,

Russ
4 REPLIES 4
James Specht
Trusted Contributor

Re: SMTP Gateway on HPUX

On your MS 2000 Server you need to set your hpux box up as the "smart relay". How, I don't know. Next you have to set up your HPUX box to relay for the MS 2000 Server. This can be done many ways but the easiest is to have an entry in /etc/mail/access for that server that looks like servera.mydomain RELAY.

--Jim
"Everyone can be taught to sculpt: Michelangelo would have had to be taught how not to. So it is with the great programmers."
Michael Steele_2
Honored Contributor

Re: SMTP Gateway on HPUX

I believe you want to modify the m4 macros in sendmail.cf. Try:

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90110/B2355-90110_top.html&con=/hpux/onlinedocs/B2355-90110/00/00/47-con.html&toc=/hpux/onlinedocs/B2355-90110/00/00/47-toc.html&searchterms=forward%7csendmail&queryid=2003987-131146

Or, create a UNIX account and add a .forward file in it's $HOME dir.
Support Fatherhood - Stop Family Law
Steven E. Protter
Exalted Contributor

Re: SMTP Gateway on HPUX

There is a file called /etc/mail/accesss

You must authorize mail relay on the HP box with the following entry.

IP_of_microsoft_server RELAY

This is a tab delimited file.

On HP-UX there is a program called gen_cf that will use that configuration to generate the necessary databases.

The Microsoft Server will need to be configured to forward all its outbound mail, which I do not know how to do.

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
Russell Gann_2
Occasional Contributor

Re: SMTP Gateway on HPUX

Thanks all for the great advice. I'm having problems just telneting to port 25 on the UNIX device. Here's what happens:

I enter
HELO me
The server responds with 250 OK and identify my IP address and validates my identity and domain name.

I enter
MAIL FROM: me@mydomain.com
With the proper domain name, it again, responds with 250 OK.

Enter
RCPT TO: nobody@hotmail.com
The server will respond with 550 Relaying Denied.

I want to eliminate the 'Relaying Denied' portion of this. I've tried the gen_cf to generate a new sendmail.cf and moved it to the /etc/mail directory. Started and stopped sendmail. Still denies the relaying.

Please help!