From: Dmitry Lebkov <dima@sakhalin.ru> To: sisyphus@altlinux.ru Subject: Re: [sisyphus] Maildrop+userdb Date: Tue, 19 Nov 2002 00:25:49 +1000 Message-ID: <20021119002549.2e8fbea6.dima@sakhalin.ru> (raw) In-Reply-To: <3DD8F148.50402@rmts.donpac.ru> On Mon, 18 Nov 2002 16:55:20 +0300 Прокопьев Евгений <john@rmts.donpac.ru> wrote: > > ls -al /etc/courier-imap/userdb.db что выдает? Скорее > > всего - ничего. Вот одного таракана и отловили ... [skip] > Нет там таких строчек И все-таки баг в скриптах из maildrop-utils был. Исправленный пакет отпрален в Incoming. > > Переименуй /etc/courier-imap/*.dat в *.db и пулемет > > застрочит ... ;) > > Да на месте эти файлы :( Ну, тогда начнем пляски с бубном - скопируй .db в .dat и попробуй. :) Вот что получается у меня ... При точно таком же раскладе, как и у тебя - но maildrop-userdb нормально все доставляет. # [root@dvl /]# rpm -qa|grep maildrop maildrop-common-1.5.0-alt1 maildrop-utils-1.5.0-alt1 maildrop-userdb-1.5.0-alt1 [root@dvl /]# ls -al /etc/courier-imap total 100 [skip] -rw------- 1 root root 265 Ноя 18 21:11 userdb -rw-r--r-- 1 root root 12288 Ноя 19 00:03 userdb.dat -rw-r--r-- 1 root root 12288 Ноя 19 00:03 userdb.db -rw------- 1 root root 12288 Ноя 19 00:03 userdbshadow.dat [root@dvl /]# cat /etc/courier-imap/userdb # see makeuserdb(8) for format of this file # this file must be owned by root and readable/writable only by root dima@dvl.localhost home=/home/dima|mail=/var/spool/mail/dima|gid=500|uid=500 dvl@dvl.localhost home=/home/dima|mail=/var/spool/mail/dvl|gid=500|uid=500 [root@dvl /]# id dima uid=500(dima) gid=500(dima) groups=500(dima),502(cdwriters) [root@dvl /]# id dvl id: dvl: No such user [root@dvl /]# maildirmake /var/spool/mail/dima [root@dvl /]# cp -r /var/spool/mail/dima /var/spool/mail/dvl [root@dvl /]# ls -lR /var/spool/mail /var/spool/mail: total 8 drwx--S--- 5 dima dima 4096 Ноя 18 21:07 dima drwx--S--- 5 dima dima 4096 Ноя 18 21:07 dvl /var/spool/mail/dima: total 12 drwx--S--- 2 dima dima 4096 Ноя 18 21:07 cur drwx--S--- 2 dima dima 4096 Ноя 19 00:04 new drwx--S--- 2 dima dima 4096 Ноя 19 00:04 tmp /var/spool/mail/dima/cur: total 0 /var/spool/mail/dima/new: total 0 /var/spool/mail/dima/tmp: total 0 /var/spool/mail/dvl: total 12 drwx--S--- 2 dima dima 4096 Ноя 18 21:07 cur drwx--S--- 2 dima dima 4096 Ноя 19 00:04 new drwx--S--- 2 dima dima 4096 Ноя 18 21:12 tmp /var/spool/mail/dvl/cur: total 0 /var/spool/mail/dvl/new: total 0 /var/spool/mail/dvl/tmp: total 0 [root@dvl /]# cat /etc/courier-imap/userdb | maildrop-userdb -d dima@dvl.localhost [root@dvl /]# cat /etc/courier-imap/userdb | maildrop-userdb -d dvl@dvl.localhost [root@dvl /]# ls -lR /var/spool/mail /var/spool/mail: total 8 drwx--S--- 5 dima dima 4096 Ноя 18 21:07 dima drwx--S--- 5 dima dima 4096 Ноя 18 21:07 dvl /var/spool/mail/dima: total 12 drwx--S--- 2 dima dima 4096 Ноя 18 21:07 cur drwx--S--- 2 dima dima 4096 Ноя 19 00:15 new drwx--S--- 2 dima dima 4096 Ноя 19 00:15 tmp /var/spool/mail/dima/cur: total 0 /var/spool/mail/dima/new: total 4 -rw------- 1 dima dima 265 Ноя 19 00:15 1037628978.30588_0.dvl.sakhalin.ru,S=265 /var/spool/mail/dima/tmp: total 0 /var/spool/mail/dvl: total 12 drwx--S--- 2 dima dima 4096 Ноя 18 21:07 cur drwx--S--- 2 dima dima 4096 Ноя 19 00:16 new drwx--S--- 2 dima dima 4096 Ноя 19 00:16 tmp /var/spool/mail/dvl/cur: total 0 /var/spool/mail/dvl/new: total 4 -rw------- 1 dima dima 265 Ноя 19 00:16 1037628994.30590_0.dvl.sakhalin.ru,S=265 /var/spool/mail/dvl/tmp: total 0 Вот такие дела ... WBR, Dmitry Lebkov
next prev parent reply other threads:[~2002-11-18 14:25 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-11-18 13:55 Прокопьев Евгений 2002-11-18 14:25 ` Dmitry Lebkov [this message] 2002-11-19 5:54 ` [sisyphus] Maildrop+userdb+shared folders Прокопьев Евгений 2002-11-19 8:16 ` Dmitry Lebkov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20021119002549.2e8fbea6.dima@sakhalin.ru \ --to=dima@sakhalin.ru \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git