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.

websites email issues

Discussion in 'E-mail Discussions' started by web-project, Jun 29, 2009.

  1. web-project

    web-project Member

    Joined:
    Nov 23, 2007
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Dear Sir/Madam,

    I have a problem with php mail, as via website non of emails being sent.

    So far I have tried to disable the firewall, to see if the firewall blocking the port.
    Tried to tweak the cPanel option "Prevent the user "nobody" from sending out mail to remote addresses (PHP and CGI scripts generally run as nobody if you are not using PHPSuexec and Suexec respectively.)".
    But still no luck.

    I can say that via SMTP, POP3 & IMAP services the emails are working without any issues, but via php/CGI/perl based website emails are not getting sent.

    Could you point to right direction, please?

    I hope to hear from you.

    Regards, Alex
     
  2. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    Do you run suphp?

    If not do you have that option for nobody sending email disabled?

    Have you checked the apache error logs as well as exim logs? Those should give some hints on where to look.
     
  3. logicsupport

    logicsupport Well-Known Member

    Joined:
    Jun 5, 2007
    Messages:
    138
    Likes Received:
    0
    Trophy Points:
    16
    Try to disable "SMTP Tweak" in "Security Center"
     
  4. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    Go into "Exim Configuration Editor", and check off the following line:

    "Set the Sender: Header when the mail sender changes the sender (-f flag passed to sendmail). [?]"

    Save your settings and restart your mail service ...

    Unless this line is checked, any SMTP connections or user limitations
    you use will cause your mail to fail if only sending internally using
    SuPHP / SuExec for your mail sending scripts to script owner.
     
Loading...

Share This Page