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.INI Alternation and Exim Problems

Discussion in 'General Discussion' started by Elikster, Jul 13, 2003.

  1. Elikster

    Elikster Well-Known Member

    Joined:
    Feb 8, 2003
    Messages:
    119
    Likes Received:
    1
    Trophy Points:
    18
    Okay...this is very important since it is done by CPanel who this time have majority screwed up big time.

    If you noticed there is a major problems as far the PHP scripts for sending emails, blame it on Cpanel this time. I noticed that over 189 boxes, all the php.ini files got changed to this line in the php.ini file:

    sendmail_path = exim -t -i

    That is a major NO NO! It just make all scripts fail because it cannot find it. It need explict path to it like this:

    sendmail_path = /usr/sbin/exim -t -i

    or this:

    sendmail_path = /usr/lib/sendmail -t -i

    or this:

    sendmail_path = /usr/sbin/sendmail -t -i

    I hope you better issue a new patch to fix this problem since it is not very enjoyable going though all servers to fix that path problem for sendmail because of this.

    Reason I am upset is that I got calls from all 5 webhosting companies who complained that the mail from php scripts is no longer working because of that alternation and that covers over 193 servers that I manage. Damn bloody Sunday!

    cPanel.net Support Ticket Number:
     
  2. howard

    howard Well-Known Member

    Joined:
    Apr 20, 2003
    Messages:
    233
    Likes Received:
    0
    Trophy Points:
    16
    I belive this maybe the reason for the sticky in the General section? or is this meant to fix a differnt problem?

    cPanel.net Support Ticket Number:
     
  3. sky

    sky Well-Known Member

    Joined:
    Nov 24, 2002
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    0
    weird .... did not happen on my end ..... the upgrade did not remove the path for my server .....

    it is : sendmail_path = /usr/sbin/sendmail -t -i


    actually, i have almost ZERO problems with upgrading cpanels and updates up till now. so either I am extremely lucky or something else :P

    cPanel.net Support Ticket Number:
     
  4. tAzMaNiAc

    tAzMaNiAc Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sachse, TX
    I have 0 problems too, so it's not just you :)

    cPanel.net Support Ticket Number:
     
  5. Elikster

    Elikster Well-Known Member

    Joined:
    Feb 8, 2003
    Messages:
    119
    Likes Received:
    1
    Trophy Points:
    18
    php.ini Problem

    It was altered if it have /usr/sbin/sendmail -t -i in it originally. About 1/2 of them so far seems to have that altered and other half isn't. But what I find odd is that all of them happened last night after the update, since the date on them is around 1am to 4am on all servers, depending on what you set in the cronjob for upcp script.

    cPanel.net Support Ticket Number:
     
  6. sky

    sky Well-Known Member

    Joined:
    Nov 24, 2002
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    0
    tAzMaNiAc: i think i have heard alot of people complaining about the inadequacy of CPANEL. The problems with CPANEL and such. I mean I don't wish to dash hopes of anyone but CPANEL is not a product that will REMOVE all aspects of system administrations and such. It is just for automation :P So welcome to the club!

    Elikster: Hmm I updated my cpanel quite late. I always update packages and other security related items on my server always (daily) but where cpanel upgrades is concerned, I always do it 1 day later (or more) maybe there was a slight change of codes ?

    cPanel.net Support Ticket Number:
     
  7. mmkassem

    mmkassem Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    390
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Egypt
    It was altered to
    sendmail_path = exim -t -i
    then to:
    sendmail_path = /usr/sbin/sendmail -t -i

    I saw the php.ini with exim -t -i
    but now it is correct.

    cPanel.net Support Ticket Number:
     
  8. Elikster

    Elikster Well-Known Member

    Joined:
    Feb 8, 2003
    Messages:
    119
    Likes Received:
    1
    Trophy Points:
    18
    ROFL

    Now that is getting funnier. Seems they noticed the mistake and switched it. :)

    cPanel.net Support Ticket Number:
     
  9. djstudio

    djstudio Well-Known Member

    Joined:
    Oct 23, 2002
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    i changed it to sendmail but it still aint working~
    must i start sendmail?

    dumb question but ?? :confused: :eek:
     
  10. mmkassem

    mmkassem Well-Known Member

    Joined:
    Oct 21, 2002
    Messages:
    390
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Egypt
    djstudio, This is a very old problem and it was fixed later which means if you are having any problem then it is not related to this topic case.

    If you are having problems with exim try reinstalling it:
    /scripts/updatenow
    /scripts/exim4

    if it's a problem with php.ini : there is a command that reconfigure the php.ini but I can not remember it currently check the /scripts folder.

    for starting sendmail : cpanel does not use sendmail, it is here as an alias only (it uses exim). So you should not have sendmail.
     
    #10 mmkassem, Jan 5, 2004
    Last edited: Jan 5, 2004
  11. djstudio

    djstudio Well-Known Member

    Joined:
    Oct 23, 2002
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    it seems so in the first place.

    but now i have fixed the problem. sometimes suexec and phpsuexec do collide. and spam assasin blocks out html mail that u send with php mail();:p
     
Loading...

Share This Page