Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Relaying Denied 550 5.7.1

17 views
Skip to first unread message

mdudl...@gmail.com

unread,
Mar 1, 2017, 1:54:04 PM3/1/17
to
I have a server with a number of domains being hosted. They all use LOCK-NET.COM as their dns and mx nameserver. I just added another domain registered with godaddy, and with it I am using the godaddy nameserver.

All email works with all domains and users except for the one using the godaddy dns and mx nameserver. If emails are sent to any user via that domain I get the relaying denied message.

I have checked and cannot find the problem. Here is the log entries for the failure for an email sent to sccn...@septicchecker.com:


Mar 1 11:19:03 king-cart sm-mta[34129]: v21GJ3As034129: ruleset=check_rcpt, arg1=<scco...@septicchecker.com>, relay=s2.neomailbox.net [5.148.176.60], reject=550 5.7.1 <scco...@septicchecker.com>... Relaying denied
Mar 1 11:19:03 king-cart sm-mta[34129]: v21GJ3As034129: from=<mdu...@king-cart.com>, size=1642, class=0, nrcpts=0, proto=ESMTP, daemon=IPv4, relay=s2.neomailbox.net [5.148.176.60]
Mar 1 11:19:05 king-cart sm-mta[35323]: v21GJ5YE035323: from=<>, size=1456, class=0, nrcpts=1, msgid=<E1cj6xz-...@s2.neomailbox.net>, proto=ESMTP, daemon=IPv4, relay=s2.neomailbox.net [5.148.176.60]

But if I send an email to another domain on the same server to the same user it goes through fine, such as scco...@byterunner.com

Mar 1 13:51:06 king-cart sm-mta[22563]: v21Ip5fV022563: from=<mdu...@king-cart.com>, size=281, class=0, nrcpts=1, msgid=<58B71810...@king-cart.com>, proto=ESMTP, daemon=IPv4, relay=s2.neomailbox.net [5.148.176.60]
Mar 1 13:51:06 king-cart sm-mta[22564]: v21Ip5fV022563: to=<scco...@byterunner.com>, ctladdr=<mdu...@king-cart.com> (1006/1006), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30556, relay=local, dsn=2.0.0, stat=Sent


Any assistance or suggestions would be greatly appredciated.

Thanks,

Marshall

Claus Aßmann

unread,
Mar 1, 2017, 8:55:45 PM3/1/17
to
Marshall wrote:

> All email works with all domains and users except for the one using the godaddy dns and mx
> nameserver. If emails are sent to any user via that domain I get the relaying denied
> message.

Did you check the FAQ? This was one the most frequently asked questions...

> Mar 1 11:19:03 king-cart sm-mta[34129]: v21GJ3As034129: ruleset=check_rcpt,
> arg1=<scco...@septicchecker.com>, relay=s2.neomailbox.net [5.148.176.60], reject=550 5.7.1
> <scco...@septicchecker.com>... Relaying denied

If you want local delivery make sure you told sendmail:
echo '$=w' | sendmail -bt

See cf/README:

+-----------------------------------+
| ACCEPTING MAIL FOR MULTIPLE NAMES |
+-----------------------------------+

If your host is known by several different names, you need to augment
class {w}. This is a list of names by which your host is known, and
[[...]]


> fine, such as scco...@byterunner.com

septicchecker.com. 3600 IN MX 10 septicchecker.com.
septicchecker.com. 600 IN A 208.82.180.188

king-cart.com. 600 IN MX 100 mail.king-cart.com.
mail.king-cart.com. 600 IN A 208.82.180.182

Those are different IPs -- are those different servers?

--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.

mdudl...@gmail.com

unread,
Mar 8, 2017, 11:39:15 AM3/8/17
to
Thanks, I got it working. I had created and put the domain in the local-host-names file, but did not realize I had to restart sendmail for it to read it.

Marshall
0 new messages