Re: [bug][Pigeonhole 0.4.10] Missing msgid

2015-12-22 Thread Alexander Moisseev

On 22.12.15 2:06, Stephan Bosch wrote:


I am quite confident that this fixes it:
http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/37ddc42c007c

Regards,
Stephan.


Yes, that change fixed the issue. Thanks!


Re: [bug][Pigeonhole 0.4.10] Missing msgid

2015-12-21 Thread Stephan Bosch
Op 12/16/2015 om 11:00 AM schreef Alexander Moisseev:
> On 16.12.15 12:32, Stephan Bosch wrote:
>>
>> That means that LTMP performed that delivery. That would normally only
>> happen when an error occurs.
>>
> No errors. All mail is delivering as expected.
>
>> Do you see anything strange in the user log? Does system log show
>> anything more when mail_debug=yes is active?
>>
>
> There is nothing unusual in the log.
> Dec 16 12:43:29 mx dovecot: lmtp(72024): Connect from local
> Dec 16 12:43:29 mx dovecot: lmtp(use...@example.com):
> bD6dNzIycVZYGQEAPZa6/Q: sieve: stored mail into mailbox 'INBOX'
> Dec 16 12:43:29 mx postfix/lmtp[72023]: 7C9D836:
> to=, relay=mx.mezonplus.ru[private/dovecot-lmtp],
> delay=0.05, delays=0.02/0/0/0.02, dsn=2.0.0, status=sent (250 2.0.0
>  bD6dNzIycVZYGQEAPZa6/Q Saved)
> Dec 16 12:43:29 mx dovecot: lmtp(72024): Disconnect from local:
> Successful quit
> Dec 16 12:43:29 mx postfix/qmgr[70108]: 7C9D836: removed
>
>> What is your configuration?
> Attached.
>

I am quite confident that this fixes it:

http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/37ddc42c007c

Regards,

Stephan.


Re: [bug][Pigeonhole 0.4.10] Missing msgid

2015-12-16 Thread Stephan Bosch



Op 16-12-2015 om 11:00 schreef Alexander Moisseev:



What is your configuration?

Attached.



I can't make much sense of it yet. It probably relates to this change:

http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/d23225e408af

and the fact that you use a sieve_after script.

So, what do your sieve scripts look like? Could you provide an example 
of a sieve_before, sieve_after and a user sieve script (and perhaps an 
example message) that trigger this issue?


Regards,

Stephan.


Re: [bug][Pigeonhole 0.4.10] Missing msgid

2015-12-16 Thread Stephan Bosch
Op 12/16/2015 om 8:31 AM schreef Alexander Moisseev:
> Pigeonhole 0.4.10 doesn't log msgid for some messages.
>
> Dec 16 09:57:57 mx dovecot: lmtp(us...@example.com):
> EbLlL2gLcVYCBgEAPZa6/Q: sieve:
> msgid=<20151216065756.be1df1f...@cp.bitrix24.com>: forwarded to
> 
> Dec 16 09:57:57 mx dovecot: lmtp(us...@example.com):
> EbLlL2gLcVYCBgEAPZa6/Q: sieve: stored mail into mailbox 'INBOX'
> Dec 16 09:57:57 mx dovecot: lmtp(us...@example.com):
> FrLlL2gLcVYCBgEAPZa6/Q: sieve:
> msgid=<20151216065756.c77bb1f...@cp.bitrix24.com>: forwarded to
> 
> Dec 16 09:57:57 mx dovecot: lmtp(us...@example.com):
> FrLlL2gLcVYCBgEAPZa6/Q: sieve:
> msgid=<20151216065756.c77bb1f...@cp.bitrix24.com>: stored mail into
> mailbox 'bitrix'

That means that LTMP performed that delivery. That would normally only
happen when an error occurs.

Do you see anything strange in the user log? Does system log show
anything more when mail_debug=yes is active?

What is your configuration?

Regards,


Stephan.


Re: [bug][Pigeonhole 0.4.10] Missing msgid

2015-12-16 Thread Stephan Bosch
Op 12/16/2015 om 10:32 AM schreef Stephan Bosch:
> Op 12/16/2015 om 8:31 AM schreef Alexander Moisseev:
>> Pigeonhole 0.4.10 doesn't log msgid for some messages.
>>
>> Dec 16 09:57:57 mx dovecot: lmtp(us...@example.com):
>> EbLlL2gLcVYCBgEAPZa6/Q: sieve:
>> msgid=<20151216065756.be1df1f...@cp.bitrix24.com>: forwarded to
>> 
>> Dec 16 09:57:57 mx dovecot: lmtp(us...@example.com):
>> EbLlL2gLcVYCBgEAPZa6/Q: sieve: stored mail into mailbox 'INBOX'
>> Dec 16 09:57:57 mx dovecot: lmtp(us...@example.com):
>> FrLlL2gLcVYCBgEAPZa6/Q: sieve:
>> msgid=<20151216065756.c77bb1f...@cp.bitrix24.com>: forwarded to
>> 
>> Dec 16 09:57:57 mx dovecot: lmtp(us...@example.com):
>> FrLlL2gLcVYCBgEAPZa6/Q: sieve:
>> msgid=<20151216065756.c77bb1f...@cp.bitrix24.com>: stored mail into
>> mailbox 'bitrix'
> That means that LTMP performed that delivery. That would normally only
> happen when an error occurs.

Oh, but it does have a "sieve: " prefix... hmm.

Regards,

Stephan


Re: [bug][Pigeonhole 0.4.10] Missing msgid

2015-12-16 Thread Alexander Moisseev

On 16.12.15 12:32, Stephan Bosch wrote:


That means that LTMP performed that delivery. That would normally only
happen when an error occurs.


No errors. All mail is delivering as expected.


Do you see anything strange in the user log? Does system log show
anything more when mail_debug=yes is active?



There is nothing unusual in the log.
Dec 16 12:43:29 mx dovecot: lmtp(72024): Connect from local
Dec 16 12:43:29 mx dovecot: lmtp(use...@example.com): bD6dNzIycVZYGQEAPZa6/Q: 
sieve: stored mail into mailbox 'INBOX'
Dec 16 12:43:29 mx postfix/lmtp[72023]: 7C9D836: to=, 
relay=mx.mezonplus.ru[private/dovecot-lmtp], delay=0.05, delays=0.02/0/0/0.02, dsn=2.0.0, 
status=sent (250 2.0.0  bD6dNzIycVZYGQEAPZa6/Q Saved)
Dec 16 12:43:29 mx dovecot: lmtp(72024): Disconnect from local: Successful quit
Dec 16 12:43:29 mx postfix/qmgr[70108]: 7C9D836: removed


What is your configuration?

Attached.

mx# doveadm config -n
# 2.2.21 (5345f22): /usr/local/etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.10 (d61ff8a5af9e+)
# OS: FreeBSD 10.2-RELEASE i386
auth_default_realm = mezonplus.ru
auth_mechanisms = digest-md5 cram-md5 plain apop
doveadm_password =  # hidden, use -P to show it
first_valid_gid = 1000
first_valid_uid = 1000
lda_mailbox_autosubscribe = yes
listen = *
mail_attachment_dir = /vmail/attachments
mail_gid = vmail
mail_home = /vmail/%d/%n
mail_location = mdbox:~/mdbox
mail_plugins = quota zlib acl
mail_shared_explicit_inbox = yes
mail_uid = vmail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character 
vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy 
include variables body enotify environment mailbox date index ihave duplicate 
mime foreverypart
namespace {
  list = children
  location = mdbox:%%h/mdbox:INDEXPVT=~/mdbox/shared/%%u
  prefix = shared/%%u/
  separator = /
  subscriptions = no
  type = shared
}
namespace inbox {
  inbox = yes
  location =
  mailbox Archives {
special_use = \Archive
  }
  mailbox Drafts {
special_use = \Drafts
  }
  mailbox Junk {
auto = subscribe
special_use = \Junk
  }
  mailbox Sent {
special_use = \Sent
  }
  mailbox Trash {
special_use = \Trash
  }
  prefix =
  separator = /
}
passdb {
  args = scheme=plain username_format=%n 
/usr/local/etc/dovecot/dovecot.auth/%d.passwd
  driver = passwd-file
}
plugin {
  acl = vfile
  acl_shared_dict = file:/vmail/shared-mailboxes.db
  antispam_backend = spool2dir
  antispam_spam = Junk
  antispam_spool2dir_notspam = /tmp/spamspool/%%020lu-%u-%%05luh
  antispam_spool2dir_spam = /tmp/spamspool/%%020lu-%u-%%05lus
  antispam_trash = Trash;train_ham;train_prob;train_spam
  quota = dict:User quota::file:%h/dovecot-quota
  quota_rule = *:storage=2G
  quota_rule2 = Trash:storage=+10%%
  quota_rule3 = Spam:storage=+20%%
  quota_status_nouser = DUNNO
  quota_status_success = DUNNO
  sieve_after = /usr/local/etc/dovecot/sieve/sieve.after
  sieve_before = /usr/local/etc/dovecot/sieve/sieve.before
  sieve_vacation_min_period = 0
  zlib_save = gz
  zlib_save_level = 3
}
postmaster_address = postmas...@mezonplus.ru
protocols = imap lmtp sieve pop3
quota_full_tempfail = yes
service auth {
  unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
  }
  unix_listener auth-userdb {
user = vmail
  }
}
service config {
  unix_listener config {
mode = 0600
user = vmail
  }
}
service imap-login {
  inet_listener imaps {
port = 0
  }
  process_limit = 200
}
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0660
user = postfix
  }
  user = vmail
}
service pop3-login {
  inet_listener pop3s {
port = 0
  }
}
service quota-status {
  client_limit = 1
  executable = quota-status -p postfix
  unix_listener /var/spool/postfix/private/quota-status {
user = postfix
  }
}
ssl_cert = 

[bug][Pigeonhole 0.4.10] Missing msgid

2015-12-15 Thread Alexander Moisseev

Pigeonhole 0.4.10 doesn't log msgid for some messages.

Dec 16 09:57:57 mx dovecot: lmtp(us...@example.com): EbLlL2gLcVYCBgEAPZa6/Q: sieve: 
msgid=<20151216065756.be1df1f...@cp.bitrix24.com>: forwarded to 

Dec 16 09:57:57 mx dovecot: lmtp(us...@example.com): EbLlL2gLcVYCBgEAPZa6/Q: 
sieve: stored mail into mailbox 'INBOX'
Dec 16 09:57:57 mx dovecot: lmtp(us...@example.com): FrLlL2gLcVYCBgEAPZa6/Q: sieve: 
msgid=<20151216065756.c77bb1f...@cp.bitrix24.com>: forwarded to 

Dec 16 09:57:57 mx dovecot: lmtp(us...@example.com): FrLlL2gLcVYCBgEAPZa6/Q: sieve: 
msgid=<20151216065756.c77bb1f...@cp.bitrix24.com>: stored mail into mailbox 
'bitrix'