Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
General
cancel
Showing results for 
Search instead for 
Did you mean: 

Sendmail on HP11.23 -- no outbound

SOLVED
Go to solution
Joe Bozen
Advisor

Sendmail on HP11.23 -- no outbound

We've been running sendmail on our HPUX 11.23 for a couple of months. All of the emails have been processing because they are a part of our domain. We are now attempting to send emails to people who are not a part of our domain (someone@hotmail.com) All of those email end up as being deferred on the mailq. I am using the basic sendmail and have not really touched anything so I'm pretty sure that I just don't have anything really setup. I guessing my UNIX server has to pass this on to some other mail exchange to process, right? Maybe our groupwise service?
MAILQ EXAMPLE
# mailq
/var/spool/mqueue (4 requests)
----Q-ID---- --Size-- -----Q-Time----- ------------Sender/Recipient------------
iB7KjBh24377* 102034 Tue Dec 7 14:45
(Deferred: Connection timed out with mailin-02.mx.aol.com.)


5 REPLIES
Geoff Wild
Honored Contributor
Solution

Re: Sendmail on HP11.23 -- no outbound

If you want to pass on to the Groupwise server, then you need to set the DS macro in sendmail.cf to that server:

DSgroupserver.yourdomain.com

You may also have to set masquerading:

DMyourdomain.com

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Joe Bozen
Advisor

Re: Sendmail on HP11.23 -- no outbound

I tried the DS... but I got this error:

>>> RCPT To:
550 Relaying denied

The inhouse email still works. I used the server name (ie myservername.my.domain) as the DS host that was reported back from my successful sendmail -v command.

250-myservername.my.domain
250-8BITMIME
250-SIZE
250-DSN
250-AUTH LOGIN
250 AUTH=LOGIN

Sanjay_6
Honored Contributor

Re: Sendmail on HP11.23 -- no outbound

Hi,

Looks like your relay server is denying to relay email from within the domain to the outside world. Check with the mail admins or the primary admins who manage the mail relay server.

Hope this helps.

Regds
Steven E. Protter
Exalted Contributor

Re: Sendmail on HP11.23 -- no outbound

Several ways to solve this:

1) Make sure your machine can resolve outside hostnames. That means setting up /etc/resolv.conf to point to dns nameservers that can actually get you the ip address of servers such as mailin-02.mx.aol.com

2) Set up relay to a valid server that will handle your mail. This should be an internal machine that is explicitly allows the hp 11.23 machine to relay mail. The directive DShostname_of_relay must be set up.

Example:

DSmailrelay.your.net

or

DS
[192.168.0.4]
# ip address of the relay server.

Save the /etc/mail/sendmail.cf file

/sbin/intit.d/sendmail stop
/sbin/intit.d/sendmail start

Diagnostics:

sendmail -v -d8.99 -d38.99 Gina8184@aol.com

type some text

.


# this gives full diagnostics.

also:

sendmail -v -q

Same basic function.

Remember if you choose DS relay you must explicitly set up the relay server to allow relay from your internal hp-ux 11.23 machine.

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
Patrick Wallek
Honored Contributor

Re: Sendmail on HP11.23 -- no outbound

Your Groupwise admin should be able to configure Groupwise so that it will accept and relay mail from your HP-UX host. Our Groupwise is configured that way so it can be done.