# 2.3.11.3 (502c39af9): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.5.11 (6c69c917)
# OS: Linux 4.18.0-193.14.2.el8_2.x86_64 x86_64 CentOS Linux release 8.2.2004 (Core)  
# Hostname: mail.myfqdn.com
auth_mechanisms = plain login
auth_username_format = %Ln
first_valid_uid = 1000
mail_home = /var/vmail/%d/%n
mail_location = maildir:~/Maildir
mail_privileged_group = mail
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 extracttext
mbox_write_locks = fcntl
namespace inbox {
  inbox = yes
  location =
  mailbox Drafts {
    auto = create
    special_use = \Drafts
  }
  mailbox Junk {
    auto = create
    special_use = \Junk
  }
  mailbox Sent {
    auto = create
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    auto = create
    special_use = \Sent
  }
  mailbox Trash {
    auto = create
    special_use = \Trash
  }
  prefix =
}
passdb {
  driver = pam
}
plugin {
  sieve = file:~/sieve;active=~/.dovecot.sieve
  sieve_before = /var/mail/SpamToJunk.sieve
}
protocols = imap lmtp
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0660
    user = postfix
  }
}
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0600
    user = postfix
  }
}
ssl = required
ssl_cert = </etc/letsencrypt/live/mail.myfqdn.com/fullchain.pem
ssl_cipher_list = PROFILE=SYSTEM
ssl_dh = # hidden, use -P to show it
ssl_key = # hidden, use -P to show it
ssl_min_protocol = TLSv1.2
ssl_prefer_server_ciphers = yes
userdb {
  driver = passwd
}
protocol lmtp {
  mail_plugins = quota sieve
}
protocol lda {
  mail_plugins = " sieve"
}


How do I get a  LMTP protocol log? 

On Fri, Sep 11, 2020 at 1:59 PM Stephan Bosch <stephan@rename-it.nl> wrote:


On 11/09/2020 18:30, bobby wrote:
> I am now running 2.3.11.3 (502c39af9), and am still getting these
> messages.

OK, good.

What is your current version and configuration (output from `dovecot -n`)

Anything interesting in the logs? Any idea which deliveries are causing
this? Can you obtain an LMTP protocol log for such deliveries?

Regards,

Stephan.


> On Fri, Sep 11, 2020 at 10:52 AM Stephan Bosch <stephan@rename-it.nl
> <mailto:stephan@rename-it.nl>> wrote:
>
>
>
>     Op 11-9-2020 om 16:05 schreef bobby:
>     > Is this an affected version of the bug?
>     >
>     >     2.3.8 (9df20d2db)
>     >
>
>     That is pretty old. Chances are that this problem is already
>     solved in a
>     more recent release.
>
>     Regards,
>
>     Stephan.
>
>     >
>     >     On Tue, Sep 8, 2020 at 12:42 PM Stephan Bosch
>     >     <stephan@rename-it.nl <mailto:stephan@rename-it.nl>
>     <mailto:stephan@rename-it.nl <mailto:stephan@rename-it.nl>>> wrote:
>     >
>     >
>     >
>     >         On 08/09/2020 18:01, bobby wrote:
>     >         > I am going through my maillog file, and noticed these
>     events:
>     >         >
>     >         > Sep  8 15:56:17 mail dovecot[294462]: lmtp(391257):
>     Warning:
>     >         Event
>     >         > 0x55db5bc41200 leaked (parent=0x55db5bc3b830):
>     >         mail-storage-service.c:1325
>     >         > Sep  8 15:56:17 mail dovecot[294462]: lmtp(391257):
>     Warning:
>     >         Event
>     >         > 0x55db5bc3b830 leaked (parent=0x55db5bc34450):
>     >         smtp-server-recipient.c:38
>     >         > Sep  8 15:56:17 mail dovecot[294462]: lmtp(391257):
>     Warning:
>     >         Event
>     >         > 0x55db5bc34450 leaked (parent=0x55db5bc34130):
>     connection.c:523
>     >         > Sep  8 15:56:17 mail dovecot[294462]: lmtp(391257):
>     Warning:
>     >         Event
>     >         > 0x55db5bc34130 leaked (parent=0x55db5bc20ce0):
>     >         > smtp-server-connection.c:773
>     >         > Sep  8 15:56:17 mail dovecot[294462]: lmtp(391257):
>     Warning:
>     >         Event
>     >         > 0x55db5bc20ce0 leaked (parent=(nil)): lmtp-client.c:164
>     >         >
>     >         > Is this something to be concerned about?
>     >
>     >         Usually, not.
>     >
>     >         But, it is a bug. What version is this?
>     >
>     >         Regards,
>     >
>     >         Stephan.
>     >
>