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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > mail headers

Reply
 
Thread Tools Display Modes
  #1  
Old 07-13-2009, 12:11 AM
bhanuprasad1981 bhanuprasad1981 is offline
Senior Member
 
Join Date: Apr 2009
Posts: 160
Cool mail headers

do litespeed supports mail headers patch ? how to enable or compile it ?
Reply With Quote
  #2  
Old 07-13-2009, 12:35 PM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
Yes, login to the litespeed web admin console then go to Actions (on top) -> Compile PHP. There is an option to enable "Mail Header (Identifies Mail Source) as well as "Suhosin (General Hardening)".
Reply With Quote
  #3  
Old 07-13-2009, 05:02 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
If you use cPanel and the mail header patch has been applied to apache PHP, it will be applied to LiteSpeed PHP as well, as the patched source code was copied over.
Reply With Quote
  #4  
Old 07-13-2009, 11:13 PM
bhanuprasad1981 bhanuprasad1981 is offline
Senior Member
 
Join Date: Apr 2009
Posts: 160
actually i have installed one whm plugin which i use to verify email source to find spammers it works well on my server using apache but not on litespeed any work out ? apache has mail headers enabled but still plugin wont work on litespeed
Reply With Quote
  #5  
Old 07-13-2009, 11:21 PM
bhanuprasad1981 bhanuprasad1981 is offline
Senior Member
 
Join Date: Apr 2009
Posts: 160
ok i tried to compile litespeed php 5.2.9 with mail headers patch it failed :-

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

33 3381 33 1143 0 0 1123 0 0:00:03 0:00:01 0:00:02 1123
100 3381 100 3381 0 0 2673 0 0:00:01 0:00:01 --:--:-- 9097
patching file ext/standard/mail.c
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0 25312 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 25312 100 25312 0 0 68950 0 --:--:-- --:--:-- --:--:-- 135k
Forcing buildconf
using default Zend directory
buildconf: checking installation...
buildconf: autoconf version 2.59 (ok)
buildconf: Your version of autoconf likely contains buggy cache code.
Running cvsclean for you.
To avoid this, install autoconf-2.13.
rebuilding configure
aclocal.m4:2147: PHP_PROG_LEX is expanded from...
rebuilding main/php_config.h.in
autoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader: WARNING: `acconfig.h':
autoheader:
autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: [Define if a function `main' is needed.])
autoheader:
autoheader: WARNING: More sophisticated templates can also be produced, see the
autoheader: WARNING: documentation.
aclocal.m4:2147: PHP_PROG_LEX is expanded from...
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
shtool:echo:Warning: unable to determine terminal sequence for bold mode
shtool:echo:Warning: unable to determine terminal sequence for bold mode
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
Reply With Quote
  #6  
Old 07-13-2009, 11:34 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
chmod o+rx /usr/bin/gcc /usr/bin/ld

after build PHP

chmod o-rx ...
Reply With Quote
  #7  
Old 07-16-2009, 08:43 PM
bhanuprasad1981 bhanuprasad1981 is offline
Senior Member
 
Join Date: Apr 2009
Posts: 160
ok i got whole messed so i did an easy apache update from cpanel upgraded php to 5.2.10 tried to litespeed php i got this error at first :-

Found Apache php binary at /usr/local/bin/php. Version is 5.2.10

Found LiteSpeed php binary at /usr/local/lsws/fcgi-bin/lsphp5. Version is 5.2.10

Apache php configuration has more options that are not available or different in lsphp:
--disable-pdo --enable-bcmath --enable-calendar --enable-ftp --enable-gd-native-ttf --enable-libxml --prefix=/usr/local --with-curl=/opt/curlssl/ --with-curlwrappers --with-freetype-dir=/usr --with-gettext --with-imap=/opt/php_with_imap_client/ --with-imap-ssl=/usr --with-jpeg-dir=/usr --with-kerberos --with-libdir=lib64 --with-libxml-dir=/opt/xml2/ --with-mcrypt=/opt/libmcrypt/ --with-mysql=/usr --with-mysql-sock=/var/lib/mysql/mysql.sock --with-mysqli=/usr/bin/mysql_config --with-openssl=/usr --with-openssl-dir=/usr --with-pic --with-png-dir=/usr --with-ttf --with-xpm-dir=/usr --with-zlib-dir=/usr

any how continued , php build ok , sites are running fine but what is that error means ? any thing wrong ?
Reply With Quote
  #8  
Old 07-18-2009, 07:48 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
That's normal. nothing wrong.
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 04:46 PM.



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