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 / 744 )
參考文獻格式 
來源:Derek Study Blog, http://derek0208tw.blogspot.com/2009/06 ... rence.html

參考文獻格式//Format of Reference
一般的參考文獻格式,資訊類及其他技術類多半採用IEEE的通用寫法,在文中引用處採用數字編號;人文社會學科類則多採用Harvard Style或該期刊論文所指定的格式,一般引用處皆為(人名,西元年),但在Reference則有諸多形式,Harvard Style的出版年是置於作者名後,如:Y. K. Chuang(2009)或置於文章最末,英文作者姓名為姓氏,縮寫,如:Chuang, Y. K. 或姓氏在前,如:Y. K. Chuang。 在本文引用處中,一律使用數字編號[##]表示。 More...

[ 發表回應 ] ( 167預覽 )   |  常註連結  |   ( 3.1 / 719 )
Configuring Sendmail on Solaris 10 

Source : http://thegreyblog.blogspot.com/2009/11/configuring-sendmail-on-solaris-10.html

[ 發表回應 ] ( 9預覽 )   |  常註連結  |   ( 3 / 781 )
Bind 9 Logging Setting Sample 
logging {
category lame-servers { null; };
category default { query_logging ; } ;
category queries { query_logging ; } ;
category resolver { query_logging ; } ;
channel query_logging {
file "/var/log/named/bind.log";
print-category yes;
print-severity yes;
print-time yes;
};
};


[ 發表回應 ] ( 11預覽 )   |  常註連結  |   ( 3.4 / 858 )
查詢裝置的 major 與 minor 數值,並且建立到其它目錄中。 
查詢裝置的 major 與 minor 數值

# ls -lL /dev/zero /dev/null /dev/random /dev/poll

crw-rw-rw- 1 root sys 13, 2 May 3 18:05 /dev/null
crw-rw-rw- 1 root sys 135, 0 May 3 17:57 /dev/poll
crw-r--r-- 1 root sys 149, 0 May 3 17:22 /dev/random
crw-rw-rw- 1 root sys 13, 12 May 3 18:11 /dev/zero



建立到 /usr/local/test 中
# mknod /usr/local/test/dev/null c 13 2
# mknod /usr/local/test/dev/poll c 135 0
# mknod /usr/local/test/dev/random c 149 0
# mknod /usr/local/test/dev/zero c 13 12


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

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