Re: sieve_after seems to not bring any effect to life in dovecot 2.3.13 dovecot-pigeonhole-0.5.13

2021-02-16 Thread Bug Report
main)<36105>: Debug: 
smtp-client: conn 127.0.0.1:25 [1]: transaction: Finished
Feb 16 11:32:29 lda(mymail@mydomain)<36105>: Debug: 
smtp-client: conn 127.0.0.1:25 [1]: transaction: Destroy
Feb 16 11:32:29 lda(mymail@mydomain)<36105>: Debug: 
smtp-client: conn 127.0.0.1:25 [1]: transaction: Abort
Feb 16 11:32:29 lda(mymail@mydomain)<36105>: Debug: 
smtp-client: conn 127.0.0.1:25 [1]: Abort transaction
Feb 16 11:32:29 lda(mymail@mydomain)<36105>: Debug: 
smtp-client: conn 127.0.0.1:25 [1]: command BDAT: Destroy (0 commands pending, 
0 commands queued)
Feb 16 11:32:29 lda(mymail@mydomain)<36105>: Debug: 
smtp-client: conn 127.0.0.1:25 [1]: Disconnected
Feb 16 11:32:29 lda(mymail@mydomain)<36105>: Debug: 
smtp-client: conn 127.0.0.1:25 [1]: Disconnected: Connection closed (fd=13)
Feb 16 11:32:29 lda(mymail@mydomain)<36105>: Debug: 
smtp-client: conn 127.0.0.1:25 [1]: DestroyTemat: Re: sieve_after seems to not 
bring any effect to life in dovecot 2.3.13 dovecot-pigeonhole-0.5.13
Data: 2021-02-16 12:16
Nadawca: "Aki Tuomi" 
Adresat: "Bug Report" ; "dovecot@dovecot.org" ; 

> 
>> 
>> On 16/02/2021 13:00 Bug Report  wrote:
>> 
>>  
>> it looks like sieve_after gets executed only when sending to an address 
>> defined in script failsTemat: Re: sieve_after seems to not bring any effect 
>> to life in dovecot 2.3.13 dovecot-pigeonhole-0.5.13
>> Data: 2021-02-12 10:27
> 
> Did you try mail_debug=yes? Can you share the logs?
> 
> Aki
> 
> 


Re: sieve_after seems to not bring any effect to life in dovecot 2.3.13 dovecot-pigeonhole-0.5.13

2021-02-16 Thread Bug Report
it looks like sieve_after gets executed only when sending to an address defined 
in script failsTemat: Re: sieve_after seems to not bring any effect to life in 
dovecot 2.3.13 dovecot-pigeonhole-0.5.13
Data: 2021-02-12 10:27
Nadawca: "Aki Tuomi" 
Adresat: "Bug Report" ; "dovecot@dovecot.org" ; 

> 
>> Can you try turning on mail_debug=yes and see if it sheds any light why the 
>> script(s) aren't executed?
> 
> Aki
> 
>> Data: 2021-02-11 12:46
>> Nadawca: "Aki Tuomi" 
>> Adresat: "Bug Report" ; dovecot@dovecot.org; 
>> 
>>> 
>>>> 
>>>> On 11/02/2021 13:30 Bug Report  wrote:
>>>> 
>>>>  
>>>> dovecot 2.3.13 (89f716dc2)
>>>> 
>>>> dovecot-pigeonhole-0.5.13
>>>> 
>>>> OS: FreeBSD amd64 12.2-RELEASE 
>>>> 
>>>> After following code
>>>> 
>>>> --
>>>> 
>>>> require ["copy"];
>>>> 
>>>> # rule:[redirect]
>>>> 
>>>> if true
>>>> 
>>>> {
>>>> 
>>>> redirect :copy "m...@mail.com";
>>>> 
>>>> keep;
>>>> 
>>>> }
>>>> 
>>>> --
>>>> 
>>>> (both with keep and without keep) is executed sieve_after seems to not 
>>>> execute at all. 
>>>> 
>>>> Same code together with sieve_after was working as supposed in earlier 
>>>> versions.
>>> 
>>> Please provide output of `doveconf -n`.
>>> 
>>> Aki
>>> 
>>>
> 
> 


Re: sieve_after seems to not bring any effect to life in dovecot 2.3.13 dovecot-pigeonhole-0.5.13

2021-02-12 Thread Bug Report
# 2.3.13 (89f716dc2): /usr/local/etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.13 (cdd19fe3)
# OS: FreeBSD 12.2-RELEASE-p2 amd64  
auth_mechanisms = plain login
debug_log_path = /var/log/dovecot/dovecot-debug.log
default_client_limit = 1400
disable_plaintext_auth = no
first_valid_gid = 6
imap_idle_notify_interval = 1 mins
last_valid_gid = 1000
last_valid_uid = 65532
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
log_path = /var/log/dovecot/dovecot.log
login_trusted_networks = (my ip address)
mail_fsync = never
mail_location = maildir:/usr/local/virtual/trash
mail_plugins = quota
maildir_stat_dirs = yes
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 ihave vacation-seconds
mmap_disable = yes
namespace inbox {
  inbox = yes
  location = 
  mailbox Drafts {
special_use = \Drafts
  }
  mailbox Junk {
auto = subscribe
special_use = \Junk
  }
  mailbox Sent {
auto = subscribe
special_use = \Sent
  }
  mailbox "Sent Messages" {
special_use = \Sent
  }
  mailbox Trash {
auto = subscribe
special_use = \Trash
  }
  prefix = 
}
passdb {
  args = /usr/local/etc/dovecot/dovecot-sql.conf
  driver = sql
}
plugin {
  quota = maildir:User quota
  quota_rule = *:bytes=0
  recipient_delimiter = +
  sieve = file:~/sieve;active=~/.dovecot.sieve
  sieve_after = /usr/local/etc/dovecot/sieve_after
  sieve_extensions = +vacation-seconds
  sieve_max_actions = 50
  sieve_max_redirects = 50
  sieve_max_script_size = 1M
  sieve_redirect_envelope_from = recipient
  sieve_vacation_default_period = 7d
  sieve_vacation_max_period = 0
  sieve_vacation_min_period = 1s
}
protocols = imap pop3 sieve
service auth {
  unix_listener auth-client {
mode = 0660
user = mailnull
  }
  unix_listener auth-userdb {
group = mail
mode = 0660
user = mailnull
  }
}
service imap-login {
  process_limit = 1000
  process_min_avail = 0
}
service imap {
  process_limit = 8192
  vsz_limit = 320 M
}
service managesieve-login {
  inet_listener sieve {
port = 4190
  }
  process_min_avail = 0
  service_count = 1
  vsz_limit = 256 M
}
service pop3 {
  process_limit = 8192
}
ssl_cert =  
>> 
>> On 11/02/2021 13:30 Bug Report  wrote:
>> 
>>  
>> dovecot 2.3.13 (89f716dc2)
>> 
>> dovecot-pigeonhole-0.5.13
>> 
>> OS: FreeBSD amd64 12.2-RELEASE 
>> 
>> After following code
>> 
>> --
>> 
>> require ["copy"];
>> 
>> # rule:[redirect]
>> 
>> if true
>> 
>> {
>> 
>> redirect :copy "m...@mail.com";
>> 
>> keep;
>> 
>> }
>> 
>> --
>> 
>> (both with keep and without keep) is executed sieve_after seems to not 
>> execute at all. 
>> 
>> Same code together with sieve_after was working as supposed in earlier 
>> versions.
> 
> Please provide output of `doveconf -n`.
> 
> Aki
> 
> 


sieve_after seems to not bring any effect to life in dovecot 2.3.13 dovecot-pigeonhole-0.5.13

2021-02-11 Thread Bug Report



dovecot 2.3.13 (89f716dc2)

dovecot-pigeonhole-0.5.13

OS: FreeBSD amd64 12.2-RELEASE 

After following code

--

require ["copy"];

# rule:[redirect]

if true

{

redirect :copy "m...@mail.com";

keep;

}

--

(both with keep and without keep) is executed sieve_after seems to not execute 
at all. 

Same code together with sieve_after was working as supposed in earlier versions.