hns - 日記自動生成システム - Version 2.19.9

先月 2004年01月 来月
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2004年01月12日(月) 旧暦 [n年日記]

#1 [Emacs] 21.3.50 をもう一度

ttyp0:makoto@serv  0:10:01/040112(/export)> setenv CVS_RSH ssh
ttyp0:makoto@serv  0:13:09/040112(/export)> cvs -d:ext:anoncvs@subversions.gnu.org:/cvs-latest/emacs co emacs
cvs server: Updating emacs
 U emacs/.cvsignore
 U emacs/AUTHORS
..

find emacs -name regex.\* -ls
(20分) まだなさそう。 を見ていたり。 こっちで試して見る (11分)
ttyp0:makoto@quick  0:34:21/040112(/export)> cvs -d :ext:anoncvs@savannah.gnu.org:/cvsroot/emacs checkout -P emacs
The authenticity of host 'savannah.gnu.org (199.232.41.3)' can't be established.
 RSA key fingerprint is 80:5a:b0:0c:ec:93:66:29:49:7e:04:2b:fd:ba:2c:d5.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'savannah.gnu.org' (RSA) to the list of known hosts.
cvs server: Updating emacs
 U emacs/.cvsignore
 U emacs/AUTHORS
こちらにはありそう。
make bootstrap 完了。

ひらがな入力:

すごくつまらないことを思い着いた。T-code のかな配列で Tamago を使う。 its/hira.el を変えれば出来る ? 結構打てないかながあったりして。

#2 [Network][Mail] Cyrus Imapd を入れて見る

/usr/pkgsrc/mail/cyrus-imapd で make install

cyrus-sasl-1.5.27nb5:

===========================================================================

The following files should be created for cyrus-sasl-1.5.27nb5:

        /etc/rc.d/sasl_pwcheck (m=0755)
        /etc/rc.d/saslauthd (m=0755)

===========================================================================
===> [Automatic ELF shared object handling]
===> Registering installation for cyrus-sasl-1.5.27nb5
cyrus-sasl-1.5.27nb5 requires installed package openssl-0.9.6l
===> Returning to build of cyrus-imapd-2.0.17nb2
===> Required installed package openssl>=0.9.6l: openssl-0.9.6l found
===> Required installed package autoconf213>=2.13: autoconf213-2.13 found
==========================================================================
The following variables will affect the build process of this package,
cyrus-imapd-2.0.17nb2.  Their current value is shown below:

        * CYRUS_GROUP = mail
        * CYRUS_USER = cyrus
        * SSLBASE = /usr/pkg
        * SSLCERTS = /etc/openssl/certs

You may want to abort the process now with CTRL+C and change their value
before continuing.  Be sure to run `make clean' after the changes.
==========================================================================

cyrus-imapd-2.0.17nb2::

Installing configuration files for cyrus-imapd-2.0.17nb2:

    /usr/pkg/etc/imapd.conf
    /usr/pkg/etc/cyrus.conf
===========================================================================

The following files should be created for cyrus-imapd-2.0.17nb2:

        /etc/rc.d/cyrus (m=0755)

===========================================================================

===========================================================================
You may wish to customize the following files for cyrus-imapd-2.0.17nb2:

        /usr/pkg/etc/imapd.conf
        /usr/pkg/etc/cyrus.conf
===========================================================================
===========================================================================
Please also refer to:

        /usr/pkg/share/doc/html/cyrus-imapd/install.html

for more detailed instructions on setting up the environment before
starting the Cyrus IMAP server.  In particular, several services will
probably need to be added to /etc/services.
===========================================================================
===> Registering installation for cyrus-imapd-2.0.17nb2
cyrus-imapd-2.0.17nb2 requires installed package cyrus-sasl-1.5.27nb5
cyrus-imapd-2.0.17nb2 requires installed package db3-3.11.2nb1
cyrus-imapd-2.0.17nb2 requires installed package openssl-0.9.6l
cyrus-imapd-2.0.17nb2 requires installed package perl-5.6.1nb7
ttyp3:makoto@harry  DING!/040112(...mail/cyrus-imapd)> 
w3m /usr/pkg/share/doc/html/cyrus-imapd/install.html
何だか emacs-w3m で wheel-mouse-mode が変。どちらに回しても上に行く。

mkimap が見つからなくて、見つかったら間違えた:

ttypa:root@harry  9:19:53/040112(/var/spool)# /usr/pkg/cyrus/bin/mkimap 
reading configure file...
i will configure directory /var/imap.
i saw partition /var/spool/imap.
you are storing sieve scripts in user's home directories.
done
creating /var/imap...
creating /var/spool/imap...
done
ttypa:root@harry  9:20:07/040112(/var/spool)# ls /var/spool/imap/
stage.
ttypa:root@harry  9:20:21/040112(/var/spool)# rm -rf  /var/spool/imap

mkimap やり直し:

ttypa:root@harry  9:20:29/040112(/var/spool)# mkdir mkdir /var/spool/imap
ttypa:root@harry  9:20:37/040112(/var/spool)# chown cyrus /var/spool/imap
ttypa:root@harry  9:20:52/040112(/var/spool)# chgrp mail /var/spool/imap
ttypa:root@harry  9:20:58/040112(/var/spool)# chmod 750 /var/spool/imap
ttypa:root@harry  9:21:02/040112(/var/spool)# su cyrus
$  /usr/pkg/cyrus/bin/mkimap 
reading configure file...
i will configure directory /var/imap.
i saw partition /var/spool/imap.
you are storing sieve scripts in user's home directories.
done
creating /var/imap...
creating /var/spool/imap...
done
$ 

/usr/cyrus/bin/master -> /usr/pkg/cyrus/bin/master:

/var/log/message を見る
Jan 12 09:28:47 harry master[151]: process started
Jan 12 09:28:47 harry ctl_mboxlist[23970]: running mboxlist recovery
Jan 12 09:28:47 harry ctl_mboxlist[23970]: DBERROR db3: /var/imap/db/__db.001: Permission denied
Jan 12 09:28:47 harry ctl_mboxlist[23970]: DBERROR: dbenv->open '/var/imap/db' failed: Permission denied
Jan 12 09:28:47 harry master[151]: process 23970 exited, status 75 
Jan 12 09:28:47 harry ctl_deliver[29910]: DBERROR: dbenv->open failed: Permission denied
Jan 12 09:28:47 harry master[151]: process 29910 exited, status 1 
Jan 12 09:28:47 harry master[151]: no service 'sieve' in /etc/services, disabling sieve
Jan 12 09:28:47 harry master[151]: ready for work
Jan 12 09:28:47 harry ctl_mboxlist[5016]: checkpointing mboxlist
Jan 12 09:28:47 harry ctl_deliver[29152]: DBERROR: dbenv->open failed: Permission denied
Jan 12 09:28:47 harry ctl_mboxlist[5016]: DBERROR db3: /var/imap/db/__db.001: Permission denied
Jan 12 09:28:47 harry ctl_mboxlist[5016]: DBERROR: dbenv->open '/var/imap/db' failed: Permission denied
やり直し。
ttypa:root@harry  9:36:05/040112(/var)# rm -rf  spool/imap imap
ttypa:root@harry  9:36:12/040112(/var)# mkdir spool/imap imap
ttypa:root@harry  9:36:20/040112(/var)# chown cyrus spool/imap imap
ttypa:root@harry  9:36:31/040112(/var)# chgrp mail  spool/imap imap
ttypa:root@harry  9:36:38/040112(/var)# chmod 750 spool/imap imap
ttypa:root@harry  9:36:46/040112(/var)# su cyrus
$ /usr/pkg/cyrus/bin/mkimap
reading configure file...
i will configure directory /var/imap.
i saw partition /var/spool/imap.
you are storing sieve scripts in user's home directories.
done
creating /var/imap...
creating /var/spool/imap...
done
$ exit
ttypa:root@harry  9:37:40/040112(/var)#
前は /var/spool/imap の下が正しくなかった。

sendmail-8.12.10:

cd pkgsrc/mail/sendmail
make 
/etc/rc.d/sendmail stop
make update
すると work が消えてしまった...
netbsd-proto.mc
ってどこにあったかな。
/usr/src/gnu/usr.sbin/sendmail/cf/cf/netbsd-proto.mc

ttypa:makoto@harry  9:53:27/040112(...cf/cf)> cp -p netbsd-proto.mc  netbsd-proto.mc-original
ttypa:makoto@harry  9:53:42/040112(...cf/cf)> emacs netbsd-proto.mc

Suspended
ttypa:makoto@harry  9:55:54/040112(...cf/cf)> ./Build netbsd-proto.cf
Using M4=/usr/pkg/bin/gm4
rm -f netbsd-proto.cf
/usr/pkg/bin/gm4 ../m4/cf.m4 netbsd-proto.mc > netbsd-proto.cf || ( rm -f netbsd-proto.cf && exit 1 )
chmod 444 netbsd-proto.cf
ttypa:makoto@harry  9:56:05/040112(...cf/cf)> 
ttypa:root@harry 9:57:00/040112(...cf/cf)# mv /etc/mail/sendmail.cf /etc/mail/sendmail.cf-harry
ttypa:root@harry 9:57:13/040112(...cf/cf)# cp netbsd-proto.cf /etc/mail/netbsd-proto-cyrus.cf
ttypa:root@harry 9:57:28/040112(...cf/cf)# cp netbsd-proto.mc /etc/mail/netbsd-proto-cyrus.mc
ttypa:root@harry 9:57:34/040112(...cf/cf)# pushd /etc/mail
/etc/mail /export/pkgsrc/mail/sendmail/work/sendmail-8.12.10/cf/cf
ttypa:root@harry 9:57:42/040112(/etc/mail)# ls -l sendmail*
-r--r--r-- 1 root wheel 46758 Mar 17 2003 sendmail.cf-8.11.6
-r--r--r-- 2 makoto wheel 57684 Nov 25 14:42 sendmail.cf-harry
-r--r--r-- 1 makoto wheel 57808 Mar 19 2003 sendmail.cf-o
ttypa:root@harry 9:57:49/040112(/etc/mail)# ln -s netbsd-proto-cyrus.cf sendmail.cf
ttypa:root@harry 9:58:13/040112(/etc/mail)# /etc/rc.d/sendmail start
ttypa:root@harry 9:58:21/040112(/etc/mail)# tail -f /var/log/maillog
Jan 12 03:15:01 harry sendmail[18289]: dangerous permissions=40775 on queue directory /var/spool/clientmqueue/
Jan 12 03:23:39 harry sendmail[29347]: dangerous permissions=40775 on queue directory /var/spool/clientmqueue/
Jan 12 03:23:39 harry sendmail[29347]: i0BINdmH029347: from=root, size=2281, class=0, nrcpts=1, msgid=<200401111823.i0BINdmH029347@example.com>, relay=root@localhost
Jan 12 03:23:39 harry sm-mta[3581]: i0BINdR6003581: from=<root@example.com>, size=2478, class=0, nrcpts=1, msgid=<200401111823.i0BINdmH029347@example.com>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 12 03:23:39 harry sendmail[29347]: i0BINdmH029347: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30082, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (i0BINdR6003581 Message accepted for delivery)
Jan 12 03:23:39 harry sendmail[18289]: i0BIF19l018289: from=root, size=2733, class=0, nrcpts=1, msgid=<200401111815.i0BIF19l018289@example.com>, relay=root@localhost
Jan 12 03:23:39 harry sm-mta[20179]: i0BINdR6020179: from=<root@example.com>, size=2930, class=0, nrcpts=1, msgid=<200401111815.i0BIF19l018289@example.com>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Jan 12 03:23:40 harry sendmail[18289]: i0BIF19l018289: to=root, ctladdr=root (0/0), delay=00:08:39, xdelay=00:00:01, mailer=relay, pri=30071, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (i0BINdR6020179 Message accepted for delivery)
Jan 12 03:23:40 harry sm-mta[20447]: i0BINdR6003581: to=<root@example.com>, ctladdr=<root@example.com> (0/0), delay=00:00:01, xdelay=00:00:01, mailer=local, pri=32566, dsn=2.0.0, stat=Sent
Jan 12 03:23:40 harry sm-mta[3864]: i0BINdR6020179: to=<root@example.com>, ctladdr=<root@example.com> (0/0), delay=00:00:01, xdelay=00:00:00, mailer=local, pri=33018, dsn=2.0.0, stat=Sent
古い方が動いている ?
ttypa:root@harry 10:07:33/040112(/usr/pkg)# /usr/sbin/sendmail -bd -q30m 554 5.0.0 /etc/mail/sendmail.cf: line 1030: invalid rewrite line "Rbb + `+ < @ `=w . > `#cyrus `: + `1" (tab expected)
該当の行を画面の切貼でなく、生で取込んだら、大丈夫。

/etc/rc.d/sendmail stop:

これって効いていない

unknown user:

メールを送ると、 といわれたので F海さんに教わって
passwd -l cyrus 
saslauthd -a getpwent
imtest -m login -a cyrus localhost
-> L01 OK User logged in 
cyradm -user cyrus localhost
localhost> createmailbox user.makoto
としたら、メールが送られるようになった。
何故か man saslauthd は表示が乱れているので、 で代用。



最近の日記
2021年07月04日
mame mame-0.233 took 10.5 hours to package
math/R-RcppArmadillo
2021年07月03日
ghostscript
2021年07月02日
double-byte-char width issue
2021年06月08日
Let's note certificate updated
2021年06月02日
check the expiration date of certificate
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)