Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Aug 2001
    Location
    Vancouver, BC, Canada
    Posts
    31

    Default Help with Exim

    This may seem like a stupid question but how can I set exim to allow email from PHP scripts running as nobody.

    I have a custom built script that is using the PHP mail function.

    I never get the emails if the "To:" field is set outside the domain that the script is running on..

    There is nothing but the default security set on Exim. I know that using Perl scripts you could never send outside the domain running the script, but until now I have had no problems with PHP scripts. Good SPAM preventer but not good for our forum verification emails or my custom script.

    Any one know a solution?

    Preferrably one that I can set this open relay function for our domain only.

    We are running RH Ent with CPanel 9.5.0 C-31

  2. #2
    OCX
    OCX is offline
    Member
    Join Date
    Sep 2003
    Posts
    246

    Default

    in WHM go to Tweak settings

    uncheck this box
    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.)

    scroll down..save..

  3. #3
    Registered User
    Join Date
    Aug 2001
    Location
    Vancouver, BC, Canada
    Posts
    31

    Default

    It was never checked to begin with I have already looked at every setting I know of.

  4. #4
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Do you get errors in /var/log/exim_mainlog when you attempt to send the email from the script? Those would help.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. exim won't restart via cpanel, major exim problems
    By amaltemara in forum E-mail Discussions
    Replies: 3
    Last Post: 06-10-2009, 10:46 AM
  2. Problem with exim, exim cannot load modules located in /etc/exim.pl ?
    By Port80Hosting in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 06-14-2005, 09:53 AM
  3. Exim, Exim-26, Eximstats, and full-email login problems
    By SubFreeze in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-20-2004, 03:16 AM
  4. exim failed !! in big mess !! Error:package exim is not installed
    By atul in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 07-15-2004, 11:37 AM
  5. re-exec of exim (/usr/sbin/exim) with -Mc failed: Permission denied
    By 65535 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-15-2004, 05:01 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube