# svcadm disable smtp:sendmail
# cd /lib/svc/method
# cp smtp-sendmail smtp-sendmail.orig
# {Editor} smtp-sendmail <- use your Editor Program.
----------------
Find
----------------
$SENDMAIL $MODE -q$QUEUEOPTION$QUEUEINTERVAL $OPTIONS &
----------------
Modify
----------------
OPTIONS="-OPrivacyOptions=noetrn -ODeliveryMode=queueonly -OQueueDirectory=/var/spool/mqueue.in"
$SENDMAIL $MODE -q$QUEUEOPTION$QUEUEINTERVAL $OPTIONS &
----------------
Save
----------------
# svcadm enable smtp:sendmail
[ 發表回應 ] ( 60預覽 ) | 常註連結 | ( 2.9 / 2090 )
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
[ 發表回應 ] ( 22預覽 ) | 常註連結 | ( 3 / 2179 )
檢驗 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 的話!那麼就是成功啦!
[ 發表回應 ] ( 50預覽 ) | 常註連結 | ( 2.9 / 2019 )
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
[ 發表回應 ] ( 11預覽 ) | 常註連結 | ( 3 / 2027 )
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.
[ 發表回應 ] ( 15預覽 ) | 常註連結 | ( 2.9 / 2003 )