Ask a Question Sign up for Free 130 Experts currently online. Ask Questions for Free!

"Relaying denied. IP name lookup failed" - SendMail

Hi everyone, I've added "10.0.0 RELAY" to my access table (and made it into a map), but when i try to relay from 10.0.0.2, I get the following message in my client. "Relaying denied. IP name lookup failed [10.0.0.2]" I then tried adding a /etc/hosts entry and then adding that ...

Results 1 to 5 of 5

  1. #1

    "Relaying denied. IP name lookup failed"

    Hi everyone,

    I've added "10.0.0 RELAY" to my access table (and made it into a map), but
    when i try to relay from 10.0.0.2, I get the following message in my
    client.

    "Relaying denied. IP name lookup failed [10.0.0.2]"

    I then tried adding a /etc/hosts entry and then adding that host to the
    access table. No luck. I just got a "Relaying denied" error.

    Whats the best way to fix this problem? I'm guessing i need a way for
    sendmail to not care about reverse dns on that IP range working...

    Any help would be appreciated,
    Alan
    Alan
  2. #2

    Re: "Relaying denied. IP name lookup failed"

    Alan wrote: 

    Check out the FAQ item addressing "Relaying denied" I this is number 2
    onthe Top 5 - the "most frequently asked questions about sendmail" list,

    G.
  3. #3

    Re: "Relaying denied. IP name lookup failed"

    Alan wrote:
     
     

    What's the output of

    echo '/map access 10.0.0' | sendmail -bt

    You can test your configuration as explained as

    http://www.sendmail.org/~ca/email/chk-dbg.html
    --
    A: Maybe because some people are too annoyed by top-posting.
    Q: Why do I not get an answer to my question(s)?
    A: Because it messes up the order in which people normally read text.
    Q: Why is top-posting such a bad thing?
    Claus
  4. #4

    Re: "Relaying denied. IP name lookup failed"

    Hi again,

    This is what I found in the sendmail FAQ regarding my problem. I'll be
    quite honest, I dont understand.

    Well, it seems I need to add something to /etc/mail/relay-domains. But I want to
    allow a IP range to relay, not a domain, maybe the name is just misleading
    me. There will be no working reverse DNS for the IP range i want to allow.
    What must I do? A quick example would be fine, I've strugled to find any
    good information on relay-domains through google.

    <snip>
    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.
    <snip>

    Thanks for your patience,
    Alan
    Alan
  5. #5

    Re: "Relaying denied. IP name lookup failed"

    Alan wrote:
     

    Did you check cf/README?

    You can allow certain domains to relay through your server by adding
    their domain name or IP address to class {R} using RELAY_DOMAIN()
    and RELAY_DOMAIN_FILE() or via the access database (described below).
    Note that IPv6 addresses must be prefaced with "IPv6:". The file
    consists (like any other file based class) of entries listed on
    separate lines, e.g.,

    sendmail.org
    128.32
    IPv6:2002:c0a8:02c7
    IPv6:2002:c0a8:51d2::23f4
    host.mydomain.com
    [UNIX:localhost]


    The second line in the example should answer your question.
    --
    A: Maybe because some people are too annoyed by top-posting.
    Q: Why do I not get an answer to my question(s)?
    A: Because it messes up the order in which people normally read text.
    Q: Why is top-posting such a bad thing?
    Claus

Similar Threads

  1. Replies: 0
    Last Post: 02-17, 05:46 PM
  2. Editing a "lookup" field in DataSheet view
    By Joel in forum Microsoft SharePoint Workspace
    Replies: 4
    Last Post: 01-13, 05:42 PM
  3. Can't search for values added by "Lookup"
    By Michael in forum Microsoft SharePoint Workspace
    Replies: 2
    Last Post: 12-10, 10:24 PM
  4. Auth and "relaying denied" problem
    By Paul in forum SendMail
    Replies: 2
    Last Post: 07-16, 05:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100