Re: Migration Planning for Dovecot 2.3 to 2.4

Gregory Carter via dovecot <[email protected]> Tue, 5 May 2026 01:12:45 -0700
Newsgroups gmane.mail.imap.dovecot
Message-ID <CAE4jU7hpHDYC4E8-hw3Bvqt5VD2OoZMKK4BeB1PpkmNeCo4rsA@mail.gmail.com>
Build a lab first, lots of things to consider:

1) copy a mailbox from your existing production system and test it against
a client to insure it doesn't screw up peoples folder views.
2) Performance.  Test various things, like indexing, download speed and
connection performance.

These are the two I will be raked over the coals with if I screw it up.

Users are such testy creatures.  :-)

On Mon, May 4, 2026 at 11:53 AM John Stoffel <[email protected]> wrote:

> >>>>> "Aki" == Aki Tuomi <[email protected]> writes:
>
> >> On 04/05/2026 19:53 EEST John Stoffel via dovecot <[email protected]>
> wrote:
> >>
> >>
> >> When I try this in my currently working 2.3 config, I see the
> >> following warnings:
> >>
> >> # Warnings during conversion:
> >> # - <memory>:45: no converter for 'plugin/@1/antispam_backend'
> >> # - <memory>:46: no converter for 'plugin/@1/antispam_debug_target'
> >> # - <memory>:47: no converter for 'plugin/@1/antispam_pipe_program'
> >> # - <memory>:48: no converter for 'plugin/@1/antispam_pipe_program_args'
> >> # - <memory>:49: no converter for
> 'plugin/@1/antispam_pipe_program_notspam_arg'
> >> # - <memory>:50: no converter for
> 'plugin/@1/antispam_pipe_program_spam_arg'
> >> # - <memory>:51: no converter for 'plugin/@1/antispam_pipe_tmpdir'
> >> # - <memory>:52: no converter for 'plugin/@1/antispam_signature'
> >> # - <memory>:53: no converter for 'plugin/@1/antispam_signature_missing'
> >> # - <memory>:54: no converter for 'plugin/@1/antispam_spam'
> >> # - <memory>:55: no converter for 'plugin/@1/antispam_trash'
> >> # - <memory>:62: no converter for 'plugin/@1/sieve_spamtest_max_header'
> >> # - <memory>:63: no converter for
> 'plugin/@1/sieve_spamtest_status_header'
> >> # - <memory>:64: no converter for 'plugin/@1/sieve_spamtest_status_type'
> >>
> >>
> >> And my configuration is this.  My question is how do I replace this
> >> feature moving forward to scan incomming emails with spamassassin
> >> (handled in postfix) but then filed into dovecot so they get put into
> >> the correct folders?
> >>
> >>
> >> plugin {
> >> antispam_backend = pipe
> >> antispam_debug_target = syslog
> >> antispam_pipe_program = /usr/bin/spamc
> >> antispam_pipe_program_args = --username;debian-spamd
> >> antispam_pipe_program_notspam_arg = --learntype=ham
> >> antispam_pipe_program_spam_arg = --learntype=spam
> >> antispam_pipe_tmpdir = /var/tmp
> >> antispam_signature = X-Spam-Flag
> >> antispam_signature_missing = move
> >> antispam_spam = Junk
> >> antispam_trash = Trash
> >> sieve = ~/.dovecot.sieve
> >> sieve_after = /etc/dovecot/sieve-after
> >> sieve_before = /var/lib/dovecot/sieve/before.d
> >> sieve_dir = ~/sieve
> >> sieve_extensions = +spamtest +spamtestplus
> >> sieve_global_dir =
> >> sieve_spamtest_max_header = X-Spamd-Result: default: [[:alnum:]]+
> \[-?[[:digit:]]+\.[[:digit:]]+ / (-?[[:digit:]]+\.[[:digit:]]+)\]
> >> sieve_spamtest_status_header = X-Spamd-Result: default: [[:alnum:]]+
> \[(-?[[:digit:]]+\.[[:digit:]]+) / -?[[:digit:]]+\.[[:digit:]]+\]
> >> sieve_spamtest_status_type = score
> >> }
> >> _______________________________________________
> >> dovecot mailing list -- [email protected]
> >> To unsubscribe send an email to [email protected]
>
> >
> https://doc.dovecot.org/2.4.3/core/config/sieve/extensions/spamtest_virustest.html#sieve_spamtest_score_max_header
>
> > We haven't yet written every possible converter to the tool.
>
> Ok.  It would be nice if the tool instead just said "No converter,
> please read docs for upgrading instructions.
>
> But overall, do you think if these are the only warnings, I should be
> ok to migrate?
>
>
> Thanks,
> John
>
>
>

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