SpeedyCGI Install on Solaris 10 
http://www.daemoninc.com/SpeedyCGI/

Downaload SpeedyCGI 2.22 Source Code

tar -zxvf CGI-SpeedyCGI-2.22.tar.gz
cd CGI-SpeedyCGI-2.22
/usr/perl5/5.8.4/bin/perlgcc Makefile.PL (Answer No)
make (Forget any error message)
make test
make install

cd /usr/bin
ln -s /usr/perl5/5.8.4/bin/speedy
cp /usr/bin/speedy /usr/bin/speedy_suid
chmod 4555 /usr/perl5/5.8.4/bin/speedy


[ 發表回應 ] ( 16預覽 )   |  常註連結  |   ( 3 / 1010 )
檢驗 saslauthd 
檢驗 saslauthd 這支程式是否可行!

# 在 cyrus-sasl 的原始碼裡面提供了一支小程式用來判斷 saslauthd 的認證機制
# 是否成功的啟動了,這個小程式就是 testsaslauthd 囉!在剛剛原始碼目錄下,
# 所以你可以這樣做:
[root@test sasl2]# /usr/local/cyrus-sasl2/sbin/saslauthd -a shadow
# 執行之後, saslauthd 的 PID 會被紀錄到 /var/run/mux.pid 這個檔案!
[root@test sasl2]# cd /usr/local/src/cyrus-sasl-2.1.12/saslauthd/
[root@test saslauthd]# make testsaslauthd
[root@test saslauthd]# ./testsaslauthd -u userID -p 'yours.passwd'
0: OK "Success."

# 若顯示 OK 的話!那麼就是成功啦!

[ 發表回應 ] ( 48預覽 )   |  常註連結  |   ( 2.9 / 842 )
sendmail SASL2 Fixed 
Put in

/usr/local/build/sendmail-8.14.5/devtools/Site/site.config.m4

APPENDDEF(`confENVDEF', `-DSASL=2')
APPENDDEF(`conf_sendmail_LIBS', `-lsasl2')


ReBuild sendmail

cd /usr/local/build/sendmail-8.14.5/sendmail
sh Build -c
sh Build install

cd /usr/local/build/sendmail-8.14.5
sh Build -c
sh Build install

[ 發表回應 ] ( 8預覽 )   |  常註連結  |   ( 3 / 801 )
Cyrus SASL2 
env LIBS="-lsocket -lnsl" LDFLAGS="-R/usr/local/ssl" ./configure --disable-krb4 --disable-gssapi --enable-login --enable-pwcheck --with-saslauthd=/var/run

It's an old problem with solaris+sasl. You need to call configure with
LIBS="-lsocket -lnsl" and perhaps with LDFLAGS="-R/usr/local/ssl" if you
are using shared ssl and the ssl directory isn't in the library search path.


In order to get openssl as shared, you must built it using "./config
shared". It works for me ( solaris9 + gcc ) and you'll avoid many future
problems with sasl and other packages using openssl.


Notice that you are using BDB 4.2. I don't know if it's supported with
sasl 2.1.17.




[ 發表回應 ] ( 8預覽 )   |  常註連結  |   ( 3 / 739 )
Sendmail mc 
divert(-1)
#
# Copyright (c) 1998, 1999, 2001 Sendmail, Inc. and its suppliers.
# All rights reserved.
# Copyright (c) 1983 Eric P. Allman. All rights reserved.
# Copyright (c) 1988, 1993
# The Regents of the University of California. All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the sendmail distribution.
#
#

#
# This is a generic configuration file for SunOS 5.x (a.k.a. Solaris 2.x
# and Solaris 7 through the present version).
#
# It has support for local and SMTP mail only. If you want to
# customize it, copy it to a name appropriate for your environment
# and do the modifications there.
#

divert(0)dnl
VERSIONID(`$Id: generic-solaris.mc,v 8.13 2001/06/27 21:46:30 gshapiro Exp $')
OSTYPE(solaris2)dnl
DOMAIN(generic)dnl
FEATURE(`virtusertable', `dbm /etc/mail/virtusertable')dnl
FEATURE(`use_cw_file')
FEATURE(`access_db', `dbm -T<TMPF> /etc/mail/access')dnl
FEATURE(relay_hosts_only)
define(`confTRY_NULL_MX_LIST',true)
FEATURE(`blacklist_recipients')
FEATURE(dnsbl, `blackholes.mail-abuse.org', `Rejected - see http://www.mail-abuse.org/rbl/')dnl
FEATURE(dnsbl, `dialups.mail-abuse.org', `Dialup - see http://www.mail-abuse.org/dul/')dnl
FEATURE(dnsbl, `relays.mail-abuse.org', `Open spam relay - see http://www.mail-abuse.org/rss/')dnl
FEATURE(`delay_checks')dnl
FEATURE(`accept_unresolvable_domains')dnl
define(`confTO_IDENT',`0s')dnl
define(`confSMTP_LOGIN_MSG', `$j server ready at $b')
TRUST_AUTH_MECH(`LOGIN PLAIN DIGEST-MD5')dnl
define(`confAUTH_MECHANISMS', `LOGIN PLAIN DIGEST-MD5')dnl
dnl define(`confDEF_AUTH_INFO', `/etc/mail/auth/auth-info')
FEATURE(`no_default_msa')dnl
DAEMON_OPTIONS(`Port=25, Name=MTA')dnl
DAEMON_OPTIONS(`Port=587,Name=MSA,M=Ea')dnl
MAILER(local)dnl
MAILER(smtp)dnl

[ 發表回應 ] ( 19預覽 )   |  常註連結  |   ( 3 / 727 )

<< <前一頁 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 下一頁> >>