ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Maildrop filtering
@ 2003-05-14  6:01 Прокопьев Евгений
  2003-05-14 22:01 ` Dmitry Lebkov
  0 siblings, 1 reply; 9+ messages in thread
From: Прокопьев Евгений @ 2003-05-14  6:01 UTC (permalink / raw)
  To: community

Здравствуйте!

В /etc/courier-imap/maildroprc у меня написано:

if (/^To: .*notes@myserver.ru*./)
{
   cc "/var/spool/mail/alex"
   to "/var/spool/mail/public/.Development"
}

После echo test | mail -s Test notes@myserver.ru в /var/log/mail/all вижу:

May 14 09:32:42 myserver postfix/pickup[14082]: 0F6521AE3: uid=0 from=<root>
May 14 09:32:42 myserver postfix/cleanup[14589]: 0F6521AE3: 
message-id=<20030514053242.0F6521AE3@myserver.ru>
May 14 09:32:42 myserver postfix/qmgr[1539]: 0F6521AE3: 
from=<root@myserver.ru>, size=291, nrcpt=1 (queue active)
May 14 09:32:42 myserver maildrop[14598]: Unable to open mailbox.
May 14 09:32:42 myserver postfix/local[14590]: 0F6521AE3: 
to=<john@myserver.ru>, relay=local, delay=0, status=deferred (temporary 
failure. Command output: /usr/bin/maildrop-userdb: Unable to open mailbox. )

Если дело в праваx, то вот:

ls -l /var/spool/mail/alex/
total 14
-rw-r--r--    1 alex     mail           12 Apr 27 13:13 
courierimapsubscribed
-rw-r--r--    1 alex     mail           15 Apr 27 13:13 courierimapuiddb
drwxrwx---    2 alex     mail           48 Apr 26 16:22 cur
drwxrwx---    2 alex     mail           48 Apr 26 16:22 new
drwx------    3 alex     mail           72 Apr 27 13:19 shared-folders
-rw-r--r--    1 alex     mail           58 Apr 26 19:54 shared-maildirs
drwxrwx---    2 alex     mail           48 Apr 27 13:13 tmp

ls -l /var/spool/mail/
total 4
drwxrwx---    7 alex     mail          280 Apr 27 13:16 alex

Под какой учетной записью исполняется maildrop и чего ему надо?

-- 
С уважением, Прокопьев Евгений



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-05-19 10:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-14  6:01 [Comm] Maildrop filtering Прокопьев Евгений
2003-05-14 22:01 ` Dmitry Lebkov
2003-05-15  4:47   ` Прокопьев Евгений
2003-05-15  6:37     ` Dmitry Lebkov
2003-05-15  9:35       ` Прокопьев Евгений
2003-05-15 12:37         ` Dmitry Lebkov
2003-05-16  9:23           ` Прокопьев Евгений
2003-05-16 16:56             ` Dmitry Lebkov
2003-05-19 10:11               ` Mike Lykov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git