Operating System - HP-UX
1833706 Members
2492 Online
110063 Solutions
New Discussion

inbound mail relaying denied

 
Bob Manocchia
Regular Advisor

inbound mail relaying denied

I'm have a problem with inbound mail to an HPUX 11.11 system. I try to send mail to root@mars.namerica.idexxi.com. The mail gets rejected and I see the following message in mail.log:

Nov 3 09:57:11 mars sendmail[10336]: JAA10336: ruleset=check_rcpt, arg1=, relay=mail1.network.idexxi.com [172.31.10.38], reject=550 s.namerica.idexxi.com>... Relaying denied
Nov 3 09:57:11 mars sendmail[10336]: JAA10336: from=, size=2413, class=0, pri=0, nrcpts=0, proto=ESMTP, relay=mail1.network.idexxi.com [172.31.1
0.38]

I've pinged mail1.network.idexxi.com and it responds from this server (mars). The /etc/resolv.conf file have network.idexxi.com in it's search order.

Any ideas??
4 REPLIES 4
Coolmar
Esteemed Contributor

Re: inbound mail relaying denied

I found this....hope it helps:

Q3.27 -- How do I prevent Relaying Denied errors for my clients?

Date: April 12, 1998
Last updated: June 19, 2000

You need to add the fully-qualified host name and/or IP address of
each client to class R, the set of relay-allowed domains. For version
8.8.X, this is typically defined by the file /etc/sendmail.cR ; for
8.9.X, it is typically /etc/mail/relay-domains . Note: if your DNS is
problematic, you should list the IP address (e.g., 1.2.3.4); in
general, however, this should not be necessary.

Once you've updated the appropriate file, SIGHUP your sendmail daemon
and you should be OK.
Bob Manocchia
Regular Advisor

Re: inbound mail relaying denied

I have sendmail 8.9.x and I don't see the file /etc/mail/relay-domains. I also have other servers using the same version of sendmail which do not have this problem. They don't have a file named /etc/mail/relay-domains.

Do you know the format of this file or could you send me an example.
Keith Johnson
Valued Contributor

Re: inbound mail relaying denied

It looks like your server can't resolve either your mail relay or the box from which you are sending the mail. Suggest you add entries for those two servers to your /etc/hosts file and try to send the mail again.
No matter where you go...there you are.
Bob Manocchia
Regular Advisor

Re: inbound mail relaying denied

The mail relay is not the problem. I can ping it and it's name resolved through dns. I'll check the email server where the mail originates.