Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Dec 2001
    Location
    Long Beach, NY
    Posts
    220

    Default scripts not sending mail after update?

    Hi -

    It seems that sendmail is not sending mail from scripts after upgrading from 10.8.2 release to 10.9.0 Current-12 (and beyond.)

    phpbb mail is no longer getting sent, and I'm no longer receiving nightly Fantastico notifications.

    The path to sendmail appears correct in my php.ini.

    I'm not sure how to troubleshoot this issue.

    Any advice would be appreciated.

    Thanks.

    Mike
    Get your hosting business listed on www.HostPremiums.com.
    Visit www.decomodo.com for cool stuff you can't live without.

  2. #2
    Member
    Join Date
    Nov 2005
    Posts
    83

    Question Are you sure ?

    Are you sure it's sendmail and not exim ?

    If it's exim... try:
    # tail -f /var/log/exim_mainlog | grep tester@domain.com
    - send an email from/to your server from a tester@domain.com account

    to see what errors you receive when you send/receive emails. If those errors doesn't help you, maybe you can post them here...
    Please let me know if i can assist you further,
    For more support contact me: designeru {at} gmail {dot} com

  3. #3
    Member
    Join Date
    Dec 2001
    Location
    Long Beach, NY
    Posts
    220

    Default

    Thanks for the info. To be clear - normal email to and from the server works properly.

    The only email that does not work are those that are being sent out by scripts such as phpbb, the fantastico update script and the like. That's it. As such, it wasn't immediately apparent that there even was an issue until I realized I was no longer receiving new user notifications from my phpbb forum as well as nightly fantastico email updates.

    I was under the impression that php uses sendmail to send those emails, but I don't have a full understanding.

    Does that clarify anything?

    Do you still recommend the proposed test?

    Thanks.

    Mike
    Get your hosting business listed on www.HostPremiums.com.
    Visit www.decomodo.com for cool stuff you can't live without.

  4. #4
    Member
    Join Date
    Oct 2006
    Posts
    47

    Default

    goto WHM --> Tweak Settings and make sure you have not ticked the following 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.)

    If it is ticked, untick and save.

    Also as said
    open your shell
    type
    tail -f /var/log/exim_mainlog

    and keeping it open try sending a mail from your phpbb forum or any script, right after the mail is sent check your shell window. it should show you any error or mail conversation. If any errors it will be thrown in that shell window
    .-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
    Level Support - Technical Support for WebHosts

  5. #5
    Member
    Join Date
    Jul 2004
    Posts
    496

    Default

    Just a thought ...........
    We had a simular problem after upgrading cpanel, most email to root got delivered but some cron jobs like /scripts/upcp failed to email root. The answer for us was to reinstall MailScanner which was causing the problem.

Similar Threads & Tags
Similar threads

  1. see which php scripts are sending mail?
    By alexmack in forum Security
    Replies: 5
    Last Post: 08-26-2010, 11:23 PM
  2. Daily reports on web scripts sending mail
    By alex@itomic in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-01-2008, 08:12 PM
  3. how to find nobody scripts sending mail
    By salvatore333 in forum cPanel and WHM Discussions
    Replies: 25
    Last Post: 11-15-2006, 01:59 AM
  4. Problems Sending Mail From Scripts
    By a1022 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 04-24-2002, 09:39 PM
  5. Problems Sending Mail From Scripts
    By a1022 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-15-2001, 09:29 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube