Re: Sieve scripts not replicated

2018-10-12 Thread Tony

Hi,

FWIW this was also reported back in August[1] - experienced with 2.3.2.1 
(not sure if earlier 2.3 releases were affected) and currently 
reproducible with latest 2.3.3 stable release.


[1] https://www.dovecot.org/pipermail/dovecot/2018-August/112548.html

Cheers,
Tony


On 2018-10-12 04:26, Pascal wrote:

Hello,

I use dovecot replication and the sieve scripts are not replicated.
Mail replication is working fine.

Log when sieve script (with Rainloop webmail) is created:
Oct 12 12:57:57 srv1 dovecot: managesieve-login: Login:
user=, method=PLAIN, rip=91.67.174.186,
lip=195.201.251.57, mpid=5360, TLS, session=
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: Loading
modules from directory: /usr/local/lib/dovecot
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: Module
loaded: /usr/local/lib/dovecot/lib01_acl_plugin.so
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: Module
loaded: /usr/local/lib/dovecot/lib10_mail_crypt_plugin.so
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: Module
loaded: /usr/local/lib/dovecot/lib10_quota_plugin.so
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: Module
loaded: /usr/local/lib/dovecot/lib15_notify_plugin.so
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: Module
loaded: /usr/local/lib/dovecot/lib20_mail_log_plugin.so
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: Module
loaded: /usr/local/lib/dovecot/lib20_quota_clone_plugin.so
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: Module
loaded: /usr/local/lib/dovecot/lib20_replication_plugin.so
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: Added
userdb setting: plugin/mail_crypt_private_password=
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: Added
userdb setting: plugin/mail_crypt_save_version=0
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: Added
userdb setting: plugin/quota_rule=*:bytes=0
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug:
Effective uid=998, gid=998, home=/srv/mail/example.com/hativ
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: Quota
root: name= backend=count args=
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: Quota
rule: root= mailbox=* bytes=0 messages=0
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: Quota
grace: root= bytes=0 (10%)
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug:
Namespace INBOX: type=private, prefix=, sep=, inbox=yes, hidden=no,
list=yes, subscriptions=yes location=sdbox:~/
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: fs:
root=/srv/mail/example.com/hativ, index=, indexpvt=, control=, inbox=,
alt=
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: acl:
initializing backend with data: vfile
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: acl:
acl username = ha...@example.com
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: acl:
owner = 1
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: acl
vfile: Global ACLs disabled
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug:
Namespace Shared: type=shared, prefix=Shared/%u/, sep=, inbox=no,
hidden=no, list=children, subscriptions=yes
location=sdbox:%h/:INDEXPVT=~/shares/%u
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: shared:
root=/usr/local/var/run/dovecot, index=, indexpvt=, control=, inbox=,
alt=
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: acl:
initializing backend with data: vfile
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: acl:
acl username = ha...@example.com
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: acl:
owner = 0
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: acl
vfile: Global ACLs disabled
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: quota:
quota_over_flag check: quota_over_script unset - skipping
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: sieve:
Pigeonhole version 0.5.3 (f018bbab) initializing
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: sieve:
include: sieve_global is not set; it is currently not possible to
include `:global' scripts.
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: sieve:
Sieve Extprograms plugin for Pigeonhole version 0.5.3 (f018bbab)
loaded
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: sieve:
Sieve imapsieve plugin for Pigeonhole version 0.5.3 (f018bbab) loaded
Oct 12 12:57:57 srv1 dovecot:
managesieve(ha...@example.com)<5360>: Debug: 

Sieve scripts not replicated

2018-10-12 Thread Pascal

Hello,

I use dovecot replication and the sieve scripts are not replicated. Mail 
replication is working fine.


Log when sieve script (with Rainloop webmail) is created:
Oct 12 12:57:57 srv1 dovecot: managesieve-login: Login: 
user=, method=PLAIN, rip=91.67.174.186, 
lip=195.201.251.57, mpid=5360, TLS, session=
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: Loading 
modules from directory: /usr/local/lib/dovecot
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: Module 
loaded: /usr/local/lib/dovecot/lib01_acl_plugin.so
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: Module 
loaded: /usr/local/lib/dovecot/lib10_mail_crypt_plugin.so
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: Module 
loaded: /usr/local/lib/dovecot/lib10_quota_plugin.so
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: Module 
loaded: /usr/local/lib/dovecot/lib15_notify_plugin.so
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: Module 
loaded: /usr/local/lib/dovecot/lib20_mail_log_plugin.so
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: Module 
loaded: /usr/local/lib/dovecot/lib20_quota_clone_plugin.so
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: Module 
loaded: /usr/local/lib/dovecot/lib20_replication_plugin.so
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: Added 
userdb setting: plugin/mail_crypt_private_password=
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: Added 
userdb setting: plugin/mail_crypt_save_version=0
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: Added 
userdb setting: plugin/quota_rule=*:bytes=0
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: Effective 
uid=998, gid=998, home=/srv/mail/example.com/hativ
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: Quota 
root: name= backend=count args=
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: Quota 
rule: root= mailbox=* bytes=0 messages=0
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: Quota 
grace: root= bytes=0 (10%)
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: Namespace 
INBOX: type=private, prefix=, sep=, inbox=yes, hidden=no, list=yes, 
subscriptions=yes location=sdbox:~/
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: fs: 
root=/srv/mail/example.com/hativ, index=, indexpvt=, control=, inbox=, alt=
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: acl: 
initializing backend with data: vfile
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: acl: acl 
username = ha...@example.com
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: acl: 
owner = 1
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: acl 
vfile: Global ACLs disabled
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: Namespace 
Shared: type=shared, prefix=Shared/%u/, sep=, inbox=no, hidden=no, 
list=children, subscriptions=yes location=sdbox:%h/:INDEXPVT=~/shares/%u
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: shared: 
root=/usr/local/var/run/dovecot, index=, indexpvt=, control=, inbox=, alt=
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: acl: 
initializing backend with data: vfile
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: acl: acl 
username = ha...@example.com
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: acl: 
owner = 0
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: acl 
vfile: Global ACLs disabled
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: quota: 
quota_over_flag check: quota_over_script unset - skipping
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: sieve: 
Pigeonhole version 0.5.3 (f018bbab) initializing
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: sieve: 
include: sieve_global is not set; it is currently not possible to 
include `:global' scripts.
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: sieve: 
Sieve Extprograms plugin for Pigeonhole version 0.5.3 (f018bbab) loaded
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: sieve: 
Sieve imapsieve plugin for Pigeonhole version 0.5.3 (f018bbab) loaded
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: sieve: 
file storage: Using active Sieve script path: 
/srv/mail/example.com/hativ/.dovecot.sieve
Oct 12 12:57:57 srv1 dovecot: 
managesieve(ha...@example.com)<5360>: Debug: sieve: 
file storage: Using script storage path: 

Re: Ask for little change :)

2018-10-12 Thread Teemu Huovila



On 11.10.2018 14:53, Kamil Jońca wrote:
> 
> Is it possible, that dovecot-lmtp, has in inserted "Received:" header
> something about its version ie.
> instead:
> --8<---cut here---start->8---
> Received: from alfa.kjonca by alfa.kjonca with LMTP id
>n1O7D5Q3v1toSQAApvcrCQ (envelope-from )
>for ; Thu, 11 Oct 2018 13:44:20 +0200
> --8<---cut here---end--->8---
> 
> would be:
> --8<---cut here---start->8---
> Received: from alfa.kjonca (Dovecot version) by alfa.kjonca with LMTP
>id n1O7D5Q3v1toSQAApvcrCQ (envelope-from )
>for ; Thu, 11 Oct 2018 13:44:20 +0200
> --8<---cut here---end--->8---
Hello

Even mentioning Dovecot in the Received header was intentionally removed in 
v2.2.31 with the following comment:
---
v2.2.31 2017-06-26  Timo Sirainen 

* LMTP: Removed "(Dovecot)" from added Received headers. Some
  installations want to hide it, and there's not really any good reason
  for anyone to have it.
---

In case you have a good reason for this request, we are eager to hear it and we 
will consider it.
br,
Teemu