The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Identify users sending emails (Was: We need a solution for nobody@ourhostname.com!)

Discussion in 'E-mail Discussions' started by fatboyslim, May 17, 2004.

  1. fatboyslim

    fatboyslim Registered

    Joined:
    Apr 7, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Santa Fe, Argentina
    Ok, the problem with "nobody@ourhostname.com" has been solved, but what's happend if the user sending mail from your script add the "rigth FROM" header in the mail() function (PHP)?

    Let's explain me a little more:

    If I (a user) use the mail() function like this:

    user@INvalid.domain.com, Exim will reject these email..

    but if i use:

    user@VALID.domain.com, Exim will relay the email.. thats ok.. (and Exim log the use for the stats and BW usage)

    BUT

    What's happen if i use this

    user@ANOTHER.LOCAL.AND.VALID.BUT.NOT.MY.domain.com ?

    Exim will count a usage for "ANOTHER.LOCAL.AND.VALID.BUT.NOT.MY.domain.com" and not the real..

    How can i detect this type of abuse?

    Thanks and sorry about my english please!
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Are you sure that it is logged against the wrong user? Have to verified that? It's quite likely that the stats logging does not use the From field.

    In fact, I just checked and it works just fine - I sent an email changing the From address and it still correctly logged the actual sender in the eximstats MySQL database.
     
Loading...

Share This Page