Operating System - HP-UX
1833322 Members
2808 Online
110051 Solutions
New Discussion

Relaying Denied sendmail error after reboots

 
Ken Penland_1
Trusted Contributor

Relaying Denied sendmail error after reboots

Ok folks, I am stumped...

We have an HPUX 11.00 system, whenever it reboots, sendmail starts up, stays running, but no longer accepts email. we get errors in the log that look like:

Apr 13 08:03:36 myhp sendmail[24057]: i3DC3a024057: ruleset=check_rcpt, arg1=, relay=myntserver.foo.bar [127.0.99.33], reject=550 5.7.1 ... Relaying denied

to fix this, all it takes is a simple:

/sbin/init.d/sendmail stop and then start

Now, I checked the startup scripts:

# ll /sbin/rc2.d/S540sendmail
lrwxr-xr-x 1 root root 21 Oct 31 2002 /sbin/rc2.d/S540sendmail -> /sbin/init.d/sendmail

# ll /sbin/init.d/sendmail
lrwxr-xr-x 1 root sys 42 Jun 24 2003 /sbin/init.d/sendmail -> /usr/contrib/sendmail/sbin/init.d/sendmail

which is the same as all our other systems that dont have a problem...

any ideas on what I should check next?
'
3 REPLIES 3
harry d brown jr
Honored Contributor

Re: Relaying Denied sendmail error after reboots

It sounds like a timing issue between when sendmail starts and when some of your other network services start (or simply a sendmail.cf config?). Check the configuration of this server with your others for how DNS is configured. Also compare the other network services with the other servers. Also check your sendmail.cf files. This might also help (http://216.239.57.104/search?q=cache:ABMwOGIDBtoJ:www.tek-tips.com/gpviewthread.cfm/qid/622621/pid/14/lev2/3/lev3/15+%2B%22reject%3D550+%22+%2Bsendmail+%2Breboot&hl=en&ie=UTF-8)


live free or die
harry
Live Free or Die
jpcast_real
Regular Advisor

Re: Relaying Denied sendmail error after reboots

I agree with Harry . It seems that any other network service has had some problems during the startup and sendmail has not been able to startup correctly . Sendmail has some Macros which gets automatically from the system . If one of the services is not up , sendmail probably can not qualify correctly its system Macros.. To test sendmail Macros this is an example:

Dartanan:/var/adm/syslog> sendmail -bt C21.12
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter

> $j
dartanan.nat.com
> $w
Dartanan
>

You can find more information in www.sendmail.org
Here rests one who was not what he wanted and didn't want what he was
Sanjay_6
Honored Contributor

Re: Relaying Denied sendmail error after reboots