Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

cPanel with sendmail

Discussion in 'E-mail Discussion' started by Doggy, Mar 2, 2004.

  1. Doggy

    Doggy Member

    Joined:
    Feb 7, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    151
    Hello ,

    Can anyone tell me how to use sendmail instead of exim because all my forms don't work with exim.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    22
    Trophy Points:
    463
    Location:
    Go on, have a guess
    AFAIK, cPanel does not support sendmail.

    The only reason I can think that your form to email script would not work, is because EXIM correctly interprets the -t command line switch, where sendmail is more "liberal".

    If this is your problem, then you need to modify the form to email script and remove any email address after -t on the line that pipes to sendmail mail, e.g.:

    Change
    Code:
    open (MAILFILE, "|/usr/sbin/sendmail -t [email]bob\@mydomain.com[/email]");
    print MAILFILE "blah blah...."
    
    to:
    Code:
    open (MAILFILE, "|/usr/sbin/sendmail -t");
    print MAILFILE "blah blah...."
    
    If that's not the problem, post here what is and someone may be able to help.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice