(2004-03の一覧)
01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

2004-03-09 Tue (他の年の同じ日: 2005 2006)

xcopy 使い方 (cmd)
2004-03-09-10 / カテゴリ: [win][command] / [permlink]

xcopy 送り側 受け側 オプション
/M アーカイブ属性のファイルのみをコピーし、アーカイブ属性を解除
/E ディレクトリまたはサブディレクトリが空でもコピー (/S /Eと同じ)
/L コピーされるファイル名を表示(表示するだけ)
/F ファイル名を表示
/H 隠しファイルやシステムファイルもコピー
/R 読み取り専用ファイルを上書き
/K 属性をコピー

# メールデータのバックアップ
xcopy \\Hmiyazaki\EDMAX\Account\Account1 "C:\Program Files\EdMax\Account\Account1" /M /E /F /H /R /K
# 添付ファイルのバックアップ
xcopy \\Hmiyazaki\EDMAX\Attachment "C:\Program Files\EdMax\Attachment" /M /E /F /H /R /K
# さくらメールのエクスポート
xcopy "C:\Program Files\EdMax\Account\Account2" "\\Hmiyazaki\EDMAX\Account\Account2" /M /E /F /H /R /K

tar コマンド(非GNU)での圧縮解凍
2004-03-09-9 / カテゴリ: [unix][command] / [permlink]

% tar cvf - file | compress > file.tar.Z
% zcat file.tar.Z | tar xvf -
http://www.infonets.hiroshima-u.ac.jp/~taoka/tools/node1.html

マイネットワークに最近使った共有を表示させないためには
2004-03-09-8 / カテゴリ: [win] / [permlink]

[スタート]−[ファイル名を指定して実行] で gpedit.msc を起動します。
[ユーザーの構成]\[管理用テンプレート]\[デスクトップ] を開きます。
右側の「マイネットワークに最近使ったファイルの共有を追加しない」をダブルクリックします。
「有効」を選択して「OK」をクリックします。

Changelogmemo キーバインド デフォルト
2004-03-09-7 / カテゴリ: [win][xyzzy] / [permlink]

C-x 4 a: 新規メモ
C-x 4 s: メモ表示
C-x 4 f: メモ検索

Postfix ログ監視(ログのフォーマット)
2004-03-09-6 / カテゴリ: [linux][MTA][メール][Postfix] / [permlink]

postfix の mail.log から、配送量の統計情報をチェックする際のポインタ

######## local to local ########
Jan 11 12:20:45 cheddar postfix/pickup[31737]: 674497D8092: uid=0 from=<root>
Jan 11 12:20:45 cheddar postfix/cleanup[32665]: 674497D8092: message-id=<20040111032042.674497D8092@mail.example.org>
Jan 11 12:20:46 cheddar postfix/qmgr[296]: 674497D8092: from=<root@mail.example.org>, size=311, nrcpt=1 (queue active)
Jan 11 12:20:46 cheddar postfix/local[32667]: 674497D8092: to=<zaki@mail.example.org>, relay=local, delay=4, status=sent ("|procmail -a "$EXTENSION"")
################################

######## remote(ezweb) to local #######
Jan 11 16:11:58 cheddar postfix/smtpd[4378]: connect from im11omta02.ezweb.ne.jp[61.117.2.67]
Jan 11 16:11:58 cheddar postfix/smtpd[4378]: E5E507D8092: client=im11omta02.ezweb.ne.jp[61.117.2.67]
Jan 11 16:11:59 cheddar postfix/cleanup[4379]: E5E507D8092: message-id=<20040111071146.IHO22830@im11imap12-s0.ezweb.ne.jp>
Jan 11 16:11:59 cheddar postfix/qmgr[296]: E5E507D8092: from=<******@ezweb.ne.jp>, size=1173, nrcpt=1 (queue active)
Jan 11 16:11:59 cheddar postfix/smtpd[4378]: disconnect from im11omta02.ezweb.ne.jp[61.117.2.67]
################################

######## local to remote(ezweb, t.vodafone) #######
Jan 11 16:11:59 cheddar postfix/smtpd[4378]: connect from localhost[127.0.0.1]
Jan 11 16:11:59 cheddar postfix/smtpd[4378]: E87827D8093: client=localhost[127.0.0.1]
Jan 11 16:12:00 cheddar postfix/cleanup[4379]: E87827D8093: message-id=<20040111071146.IHO22830@im11imap12-s0.ezweb.ne.jp>
Jan 11 16:12:00 cheddar postfix/smtpd[4378]: disconnect from localhost[127.0.0.1]
Jan 11 16:12:00 cheddar postfix/qmgr[296]: E87827D8093: from=<fooML-admin@mail.example.org>, size=2097, nrcpt=4 (queue active)
Jan 11 16:12:00 cheddar postfix/local[4381]: E5E507D8092: to=<fooML@mail.example.org>, relay=local, delay=2, status=sent ("|/usr/share/fml/fml.pl /var/spool/ml/fooML")
Jan 11 16:12:20 cheddar postfix/smtp[4385]: E87827D8093: to=<******@ezweb.ne.jp>, relay=lsean.ezweb.ne.jp[219.125.149.6], delay=21, status=sent (250 Ok: queued as D478683)
Jan 11 16:12:21 cheddar postfix/smtp[4386]: E87827D8093: to=<******@t.vodafone.ne.jp>, relay=mx.t.vodafone.ne.jp[210.175.1.210], delay=22, status=sent (250 Message received: 20040111071220328.EFFS.9955@tgmsbmtk01sc.t.vodafone.ne.jp)
################################
Jan 15 12:02:45 cheddar postfix/smtpd[11399]: connect from mgstc03.t.vodafone.ne.jp[210.151.9.74]
Jan 15 12:02:45 cheddar postfix/smtpd[11399]: 1A2A47D8092: client=mgstc03.t.vodafone.ne.jp[210.151.9.74]
Jan 15 12:02:45 cheddar postfix/cleanup[11400]: 1A2A47D8092: message-id=<200401150302.MAA28281@t.vodafone.ne.jp>
Jan 15 12:02:45 cheddar postfix/qmgr[296]: 1A2A47D8092: from=<******@t.vodafone.ne.jp>, size=764, nrcpt=1 (queue active)
Jan 15 12:02:45 cheddar postfix/smtpd[11399]: disconnect from mgstc03.t.vodafone.ne.jp[210.151.9.74]
Jan 15 12:02:45 cheddar postfix/local[11402]: 1A2A47D8092: to=<zaki@mail.example.org>, relay=local, delay=0, status=sent ("|procmail -a "$EXTENSION"")

結論としては…
receive は "$host postfix/smtpd[xxx]: connect" をカウント
deliver(local) は "$host postfix/local"をカウント
deliver(remote) は "$host postfix/smtp ... status=sent"をカウント
deferred は "$host postfix/smtp ... status=deferred"をカウント

BIND 説明 (UNIX共通)
2004-03-09-5 / カテゴリ: [linux][network][bind] / [permlink]

ゾーンサーバ
自身が所有するドメイン名をインターネットに広報するために必要なサービス。
自ドメインに対する外部からの問い合わせに対して応答する。

キャッシュサーバ
キャッシュサーバはクライアントから来る名前解決要求にこたえるもので、
目的のドメインをリゾルブできるまで、外部のDNSをドメインツリーをたどって再帰検索します。

iso ファイルをファイルシステムとしてマウント
2004-03-09-4 / カテゴリ: [linux][command] / [permlink]

mount -t iso9660 -o loop debian-30r2-i386-binary-1.iso /share/images/debian

debian postfix-tls 設定(sid)
2004-03-09-3 / カテゴリ: [linux][MTA][Postfix] / [permlink]

# apt-get install postfix-tls
# apt-get install sasl2-bin libsasl2-modules libsasl7

TeraTerm のログ内の制御コードを削除 (cygwin)
2004-03-09-2 / カテゴリ: [win][cygwin][linux][command] / [permlink]

col コマンドを使用
$ col -xbf < teraterm.log > result.log
ただ、日本語がつぶれる。。。

xyzzy 起動時に cangelog-mode
2004-03-09-1 / カテゴリ: [win][xyzzy] / [permlink]

xyzzy -f changelogmemo-add
にて、追記状態で起動
前の日 / 次の日 / 最新 / 2004-03

2013 : 01 02 03 04 05 06 07 08 09 10 11 12
2012 : 01 02 03 04 05 06 07 08 09 10 11 12
2011 : 01 02 03 04 05 06 07 08 09 10 11 12
2010 : 01 02 03 04 05 06 07 08 09 10 11 12
2009 : 01 02 03 04 05 06 07 08 09 10 11 12
2008 : 01 02 03 04 05 06 07 08 09 10 11 12
2007 : 01 02 03 04 05 06 07 08 09 10 11 12
2006 : 01 02 03 04 05 06 07 08 09 10 11 12
2005 : 01 02 03 04 05 06 07 08 09 10 11 12
2004 : 01 02 03 04 05 06 07 08 09 10 11 12

最終更新時間: 2013-05-02 16:12