ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Sergey Alembekov <rt@altlinux.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] dovecot-sieve
Date: Fri, 1 Aug 2008 13:37:06 +0400
Message-ID: <200808011337.06921.rt@altlinux.ru> (raw)
In-Reply-To: <4880261C.6070205@reutman.ru>

В сообщении от Friday 18 July 2008 09:11:56 Alexey Sidorov написал(а):
> Здравствуйте.
> Не пойму как раскладывать письма по папкам IMAP на сервере.
> Поставил dovecot-sieve, в dovecot.conf дописал (согласно
> http://wiki.dovecot.org/LDA/Sieve):
> protocol lda {
>   ....
>   mail_plugins = cmusieve
> }
> ......
> plugin {
> ........
>   sieve = .sieve
> }
>
> в файл ~/.sieve забил правила:
> require ["fileinto"];
> if header :contains "List-Id" "devel.lists.altlinux.org"
>         {
>         fileinto "ALT_devel";
>         }
> elsif header :contains "List-Id" "sisyphus.lists.altlinux.org"
>         {
>         fileinto "ALT_sisyphus";
>         }
>
> Не работает. Нужно что-то ещё сделать?

Надо сказать постфиксу,  что бы отдавал письма delivery-agent. В 
etc/postfix/master.cf примено так:
dovecot   unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f $sender -d 
$recipient

-- 
Regards, Sergey Alembekov
ALTLinux Team
xmpp: rt at jabber.ru

  parent reply	other threads:[~2008-08-01  9:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-18  5:11 Alexey Sidorov
2008-07-22 15:13 ` seriv
2008-08-01  9:37 ` Sergey Alembekov [this message]
2008-08-01  9:22   ` Alexey Sidorov
2008-08-01  9:43     ` Alexey Shabalin

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=200808011337.06921.rt@altlinux.ru \
    --to=rt@altlinux.ru \
    --cc=sisyphus@lists.altlinux.org \
    /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