LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > PHP > PHP mail problem

Reply
 
Thread Tools Display Modes
  #1  
Old 04-12-2008, 07:14 AM
kalaj kalaj is offline
New Member
 
Join Date: Apr 2008
Posts: 2
Default PHP mail problem

My PHP programs like WordPress can't send any mail by LSWS, the error:

Quote:
Apr 11 23:54:30 box2 postfix/sendmail[32684]: fatal: no login name found for user ID 1026
I set sendmail_path = /usr/sbin/sendmail -t -i in php.ini and set the PHP_SuEXEC External App environment:

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

but no helps. Thanks for your help.
Reply With Quote
  #2  
Old 04-12-2008, 12:39 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
http://www.postfix.org/faq.html#whoami

change sendmail_path to

/usr/sbin/sendmail -f user@domain -t -i

should fix you problem.
Reply With Quote
  #3  
Old 04-13-2008, 03:59 AM
kalaj kalaj is offline
New Member
 
Join Date: Apr 2008
Posts: 2
Thank you, the problem gone
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:07 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.