I'm trying to migrate my dovecot config from Fedora 42's 
dovecot-2.3.21.1-5.fc42.x86_64
to Fedora 43's dovecot-2.4.1-6.fc43.x86_64.

I use this command to run the LDA via deliver.sh:

----
#!/bin/sh
exec /usr/libexec/dovecot/deliver -c 
$HOME/fetchmail/[email protected]/dovecot-deliver-rc -e "$@"
----

It's called from a procmail script like this:

----
LDA="$HOME/fetchmail/$MAILACCOUNT/deliver.sh"

:0
* ^List-Id:.*<dovecot.dovecot.org>
| $LDA -m "Others.Dovecot"
----

The dovecot-deliver-rc that I use for 2.3 is
----
log_path = /home/barry-mail/fetchmail/[email protected]/logs/deliver.log

protocol lda {
    postmaster_address = [email protected]
    mail_location = maildir:~/Maildir
    lda_mailbox_autocreate = yes
}
----

But for 2.4 that config is invalid.
For 2.4 I iterated to this:
----
dovecot_config_version = 2.4.0
dovecot_storage_version = 2.4.0

protocol lda {
    postmaster_address = [email protected]
    lda_mailbox_autocreate = yes
    log_path = 
/home/barry-mail/fetchmail/[email protected]/logs/deliver.log
    mail_driver = maildir
    mail_home = /home/barry-mail
    mail_path = /home/barry-mail/Maildir
}
----

But that crashed /usr/libexec/dovecot/deliver

----
Panic: file mailbox-list.c: line 1163: unreached
Error: Raw backtrace:
libdovecot.so.0(backtrace_append+0x40) [0x7efe1a0f8320]
libdovecot.so.0(backtrace_get+0x2f) [0x7efe1a0f846f]
libdovecot.so.0(+0x101322) [0x7efe1a101322]
libdovecot.so.0(+0x101365) [0x7efe1a101365]
libdovecot.so.0(+0x2ad0f) [0x7efe1a02ad0f]
libdovecot.so.0(+0x2b062) [0x7efe1a02b062]
libdovecot-storage.so.0(+0x13dd5) [0x7efe1a28cdd5]
libdovecot-storage.so.0(+0x6bfcc) [0x7efe1a2e4fcc]
libdovecot-storage.so.0(mail_storage_create+0x504) [0x7efe1a2b56b4]
libdovecot-storage.so.0(raw_storage_create_from_set+0x1ab) [0x7efe1a31672b]
deliver(main+0x800) [0x557e6bbab6a0]
libc.so.6(+0x35b5) [0x7efe19e0f5b5]
libc.so.6(__libc_start_main+0x88) [0x7efe19e0f668]
deliver(_start+0x25) [0x557e6bbac0e5]
----

Is the config for 2.4 in principle correct?
Where do I report the crash?

Barry



_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to