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.

php mail() problems , AGAIN ...

Discussion in 'E-mail Discussions' 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:
    38
    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 ?
     
  2. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    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 ?!
     
  3. jamesbond

    jamesbond Well-Known Member

    Joined:
    Oct 9, 2002
    Messages:
    738
    Likes Received:
    1
    Trophy Points:
    18
    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:
    38
    I deleted /etc/vfilters/mydomain and it fixed the problem .
     
  5. jamesbond

    jamesbond Well-Known Member

    Joined:
    Oct 9, 2002
    Messages:
    738
    Likes Received:
    1
    Trophy Points:
    18
    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:
    38
    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...
     
  7. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    16
    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