ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] dovecot-sieve
@ 2008-07-18  5:11 Alexey Sidorov
  2008-07-22 15:13 ` seriv
  2008-08-01  9:37 ` Sergey Alembekov
  0 siblings, 2 replies; 5+ messages in thread
From: Alexey Sidorov @ 2008-07-18  5:11 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Здравствуйте.
Не пойму как раскладывать письма по папкам 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";
        }

Не работает. Нужно что-то ещё сделать?

-- 
Alexey Sidorov
	mailto:alex@reutman.ru
	JID: alex@reutman.ru
	ICQ: 5052225



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

* Re: [sisyphus] dovecot-sieve
  2008-07-18  5:11 [sisyphus] dovecot-sieve Alexey Sidorov
@ 2008-07-22 15:13 ` seriv
  2008-08-01  9:37 ` Sergey Alembekov
  1 sibling, 0 replies; 5+ messages in thread
From: seriv @ 2008-07-22 15:13 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

Обычно всё становится понятно если запросить debug logging в dovecot.conf, и определить куда он пишет info messages.
Я бы так сходу стал проверять, кто вызывает dovecot delivery, какие права у этого процесса, - типа может ли он читать этот ~/.sieve и писать туда ~/.sievec.
Кстати, чтобы заполучить логи от dovecot delivery agent, ему надо дать права писать в эти логи. 

--
  Сергей Иванов.


----- Original Message -----
From: "Alexey Sidorov" <alex@reutman.ru>
To: "ALT Linux Sisyphus discussion list" <sisyphus@lists.altlinux.org>
Sent: Friday, July 18, 2008 1:11:56 AM GMT -05:00 US/Canada Eastern
Subject: [sisyphus] dovecot-sieve

Здравствуйте.
Не пойму как раскладывать письма по папкам 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";
        }

Не работает. Нужно что-то ещё сделать?

-- 
Alexey Sidorov
	mailto:alex@reutman.ru
	JID: alex@reutman.ru
	ICQ: 5052225

_______________________________________________
Sisyphus mailing list
Sisyphus@lists.altlinux.org
https://lists.altlinux.org/mailman/listinfo/sisyphus


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

* Re: [sisyphus] dovecot-sieve
  2008-08-01  9:37 ` Sergey Alembekov
@ 2008-08-01  9:22   ` Alexey Sidorov
  2008-08-01  9:43     ` Alexey Shabalin
  0 siblings, 1 reply; 5+ messages in thread
From: Alexey Sidorov @ 2008-08-01  9:22 UTC (permalink / raw)
  To: rt, ALT Linux Sisyphus discussions

Sergey Alembekov пишет:
> 
> Надо сказать постфиксу,  что бы отдавал письма 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
> 

Дада, с этим разобрался уже.
Вот ещё хотелось-бы sieve-server поставить какой-нибудь, что-бы фильтрами из почтовых клиентов рулить.
С наскоку как-то не получилось. после отпуска займусь.

-- 
Alexey Sidorov
	mailto:alex@reutman.ru
	JID: alex@reutman.ru
	ICQ: 5052225


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

* Re: [sisyphus] dovecot-sieve
  2008-07-18  5:11 [sisyphus] dovecot-sieve Alexey Sidorov
  2008-07-22 15:13 ` seriv
@ 2008-08-01  9:37 ` Sergey Alembekov
  2008-08-01  9:22   ` Alexey Sidorov
  1 sibling, 1 reply; 5+ messages in thread
From: Sergey Alembekov @ 2008-08-01  9:37 UTC (permalink / raw)
  To: sisyphus

В сообщении от 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

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

* Re: [sisyphus] dovecot-sieve
  2008-08-01  9:22   ` Alexey Sidorov
@ 2008-08-01  9:43     ` Alexey Shabalin
  0 siblings, 0 replies; 5+ messages in thread
From: Alexey Shabalin @ 2008-08-01  9:43 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

1 августа 2008 г. 13:22 пользователь Alexey Sidorov написал:
> Sergey Alembekov пишет:
>>
>> Надо сказать постфиксу,  что бы отдавал письма 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
>>
>
> Дада, с этим разобрался уже.
> Вот ещё хотелось-бы sieve-server поставить какой-нибудь, что-бы фильтрами из
> почтовых клиентов рулить.
> С наскоку как-то не получилось. после отпуска займусь.

https://bugzilla.altlinux.org/show_bug.cgi?id=12533

Я у себя так и пользуюсь pysieved (на branch-4.0)

-- 
Alexey Shabalin

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

end of thread, other threads:[~2008-08-01  9:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-18  5:11 [sisyphus] dovecot-sieve Alexey Sidorov
2008-07-22 15:13 ` seriv
2008-08-01  9:37 ` Sergey Alembekov
2008-08-01  9:22   ` Alexey Sidorov
2008-08-01  9:43     ` Alexey Shabalin

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