/usr/sbin/delegated -P8080 ADMIN=user@example.jp OWNER=delegate +=/home/user/pop.conf
-- Contents of /home/user/pop.conf
MOUNT="* pop://popserver/* charcode=shift_jis"
# popserver を見に行き、出力文字コードは、shift_jis にする。
# MOUNT="/* pop://popserver/* charcode=shift_jis"
# プロトコル仕様上はこちらのほうが問題がない。
MOUNT="/-/builtin/icons/ysato/* file:/home/user/delegate/icons/*"
MOUNT="/-/builtin/mssgs/news/nglist.dhtml file:/home/user/delegate/mssgs/nglist.dhtml"
MOUNT="/-/builtin/mssgs/news/artlist.dhtml file:/home/user/delegate/mssgs/artlist.dhtml"
MOUNT="/-/builtin/mssgs/news/artline.dhtml file:/home/user/delegate/mssgs/artline.dhtml"
# コピーしたファイル達を使えるように MOUNTする。
MIMECONV="shift_jis"
# pop サーバから取ってきた MIMEヘッダをデコードして shift_jis で出力する。
# これがないと、日本語タイトルが化ける。
REACHABLE="popserver"
RELIABLE="192.168.0.0/24,*.docomo.ne.jp"
REMITTABLE="+,file"
# 特に深い意味はない。
CACHEDIR="/home/user/delegate/cache"
DGROOT="/home/user/delegate"
LOGFILE='${LOGDIR}/${PORT}/[date+%Y]-[date+%m].${PROTO}'
ERRORLOG='${LOGDIR}/${PORT}/[date+%Y]-[date+%m].err'
HTTPCONF="ver:1.0"
# 特に深い意味はない!
EXPIRE="60s"
# 特に深い意味はない...
-- End of Contents
|
$ convert -geometry 12x12 -colors 2 delegate/icons/frogHead.gif delegate/icons/frogHead.gifconvert コマンドの詳細は、man convert で見て下さい。
-- Contents of /home/user/delegate/mssgs/artline.dhtml
${art.NewSubj?
---<br>${art.NewSubj}<BR>}
<A HREF=${art.Anum}>${%04art.Anum}</A>-
<I>${art.From}</I>
${art.STime}
${art.Lines?[${art.Lines}]}
<BR>
-- End of Contents
-- Contents of /home/user/delegate/mssgs/artlist.dhtml
<BODY>
${req.search.Form_reply?${art.list}${exit}}
${req.search.Form_list?${art.list}${exit}}
${putmenu?
${num.min<num.anum1?
<A HREF="${ref.purl1}">[<]</A><A HREF="${ref.purlp}">[<<]</A>
:[<][<<]
}
${num.anum2<num.max?
<A HREF="${ref.nurl1}">[>]</A><A HREF="${ref.nurlp}">[>>]</A>
:[>][>>]
}
${0<num.anum1? <A HREF="../${grp.print}?Expire">[Chk]</A> : [Chk]}
}
<HR>
${art.list}
<HR>
${art.emptys?Empty-Articles = ${art.emptys}<HR>}
${putmenu?
${expires?${expires}}
}
</BODY>
<!-- generated by DeleGate/${ver} -->
-- End of Contents
-- Contents of /home/user/delegate/mssgs/nglist.dhtml
<TITLE> Newsgroups ${_grp.real} </TITLE>
<A HREF="./">[Top</A>/<A HREF="${grp.up}"><B>Up</B>]</A>
<B>Newsgroups `${_grp.real}'</B>
${grp.Layered?[Layered]/[<A HREF="${grp.real}?Flat">Flat</A>]
:[Flat]/[<A HREF="${grp.real}?Layered">Layered</A>]} view.
<A HREF=Jump/?Menu>[Jump]</A>
<HR>
${grp.list}
<HR>
${num.article} articles, ${num.match}/${num.all} groups (${num.empty} empty)
<BR>
${expires}
<!-- generated by DeleGate/${ver} -->
-- End of Contents
|