Installing Qpopper 4.1.0

Moderator: cah

Post Reply
cah
General of the Army / Fleet Admiral / General of the Air Force
General of the Army / Fleet Admiral / General of the Air Force
Posts: 1342
Joined: Sun Aug 17, 2008 5:05 am

Installing Qpopper 4.1.0

Post by cah »

1. Get the source code

Code: Select all

wget ftp://ftp.qualcomm.com/eudora/servers/unix/popper/qpopper4.1.0.tar.gz
2. Configure it with server mode and standalone for performance

Code: Select all

configure --enable-servermode --enable-standalone
3. Compile it

Code: Select all

make
4. Install it

Code: Select all

make install
Error:

Code: Select all

%make install
sh: ./mkdir-sh: not found
*** Error code 1
The following command caused the error:
if [ ! -d /usr/local/share/man ]; then \
        ./mkdir-sh "/usr/local/share/man" "0755" "root" ; \
fi
make: Fatal error: Command failed for target `install'
/export/home/cah/qpopper4.1.0%find . -name mkdir-sh
/export/home/cah/qpopper4.1.0%type mkdir-sh
mkdir-sh not found
Change mkdir-sh back to mkdir and "make install" works.

Code: Select all

%make install
Installed man/popper.8 as /usr/local/share/man/man8/popper.8
Installed man/popauth.8 as /usr/local/share/man/man8/popauth.8
cd ./popper && make install
cd ../mmangle && make all
cd ../common && make all
gcc   pop_dele.o pop_dropcopy.o  pop_get_command.o pop_get_subcommand.o pop_init.o  pop_last.o pop_list.o pop_log.o pop_lower.o  pop_msg.o pop_parse.o pop_pass.o pop_quit.o  pop_rset.o pop_send.o pop_stat.o pop_updt.o  pop_user.o pop_xtnd.o pop_xmit.o popper.o  pop_bull.o xtnd_xlst.o pop_uidl.o  pop_rpop.o pop_apop.o pop_auth.o pop_pope.o  pop_extend.o scram.o hmac.o pop_util.o  get_sub_opt.o msg_ptr.o drac.o pop_config.o pop_tls.o  pop_tls_openssl.o pop_tls_sslplus.o sslplus_utils.o  main.o pop_cache.o genpath.o pop_sasl.o md5.o base64.o -o popper \
        ../mmangle/libmangle.a \
        -I../common ../common/libcommon.a \
        -lnsl -lsocket -lresolv -lmail    -lnsl  -lposix4 -lcrypt 
Installed popper as /usr/local/sbin/popper
/etc/init.d/qpopper (/etc/rc3.d/S81qpopper sym link):

Code: Select all

#!/sbin/sh
#
# QPopper
#

case $1 in 
'start')
        /usr/local/sbin/popper -S -T600 &
        ;;
'stop')
        /usr/bin/pkill popper
        ;;
*)
        echo "Usage: $0 { start | stop }"
        exit 1
        ;;
esac

Code: Select all

%/etc/init.d/qpopper start
%netstat -an | grep  110
      *.110                *.*                0      0 49152      0 LISTEN
%ps -ef | grep popper
    root 16997     1   0 11:31:26 ?           0:00 /usr/local/sbin/popper -S -T600
CAH, The Great
Post Reply