Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

php mail() problems , AGAIN ...

Discussion in 'E-mail Discussion' started by Radio_Head, Oct 20, 2004.

  1. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    343
    I don't want talk about the problem sending email to hotmail, Yahoo, and do on ..

    From yesterday , on 2 boxes , I cannot use php mail() to send messages myself (to my domain name!!!) The messages disappear in a black hole !


    I am not using phpsuexec
    " Track the origin of messages sent though the mail server by adding the X-Source headers (exim 4.34+ required)" is NOT enabled

    "Prevent the user 'nobody' from sending out mail to remote addresses " is NOT enabled.

    Why ,please ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    343
    on exim_mainlog I found this

    /dev/null <info@mydomain.com> R=central_filter T=**bypassed**

    what the system is bypassing and why my email are going on /dev/null ?!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jamesbond

    jamesbond Well-Known Member

    Joined:
    Oct 9, 2002
    Messages:
    738
    Likes Received:
    1
    Trophy Points:
    168
    I saw a few of these 'bypassed' entries all belonging to 1 domain.
    I'm not sure what causes this or if this is related to mail() at all.

    The owner of this domain has set up mail filters in his cpanel, did you check for that?
     
  4. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    343
    I deleted /etc/vfilters/mydomain and it fixed the problem .
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. jamesbond

    jamesbond Well-Known Member

    Joined:
    Oct 9, 2002
    Messages:
    738
    Likes Received:
    1
    Trophy Points:
    168
    I'm glad you solved the problem. So it was filter related and not mail() related after all :)
     
  6. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    343
    yes however on my filters I hadn't nothing to do with the messages I was sending ..
    I had "viagra" and similar keywords .. however I removed it and now works :)

    At least I learned that

    /dev/null <info@mydomain.com> R=central_filter T=**bypassed**

    means that the message has been rejected by filters...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Atlanta, GA
    It's not being rejected, but rather being piped to /dev/null (which is probably what you had configured in your filter itself).
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice