1

Topic: Migrating from Dovecot deliver (LDA) to Dovecot LMTP

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.8.4 (newest one)
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: Debian 13
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- Web server (Apache or Nginx): Ngiinx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hey there,

after Upgrading to Trixie I have issues with the personal sieve filters (all mails appear in the inbox than in the designated folders). Due to the issues I checked my whole configs and saw that I still use LDA instead of the modern LMPT approach.

My iRedMail-installation is now 6 years old and I am really satisfied with it (Thank at the great team). I made all updates as described in the tutorials/relase notes.

have I missed something in case of LMTP. Is there any guide to migrate to LMTP?

Greets mike

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Migrating from Dovecot deliver (LDA) to Dovecot LMTP

This issue has been fixed recently:
https://github.com/iredmail/iRedMail/co … 3dedd2f347

3 (edited by mike175de Yesterday 19:28:41)

Re: Migrating from Dovecot deliver (LDA) to Dovecot LMTP

Ths for your reply.

I already upgraded to 1.8.4 and the mentioned changes https://github.com/iredmail/iRedMail/co … dd2f347are are in the config file(s) as well.

I deleted the "report_ham.sieve  report_ham.svbin  report_spam.sieve  report_spam.svbin" files as described here https://forum.iredmail.org/post92148.html#p92148  I hope that the filters will work after that again - but I has to wait for my routine jobs to check that.

On the other hand could you please answer also my important question "have I missed something in case of LMTP. Is there any guide to migrate to LMTP?"

Thx

4

Re: Migrating from Dovecot deliver (LDA) to Dovecot LMTP

I don't understand why you deleted  the "report_ham.sieve  report_ham.svbin  report_spam.sieve  report_spam.svbin" files ... btw, it's ok to remove ".svbin" files since Dovecot will create them based on ".sieve" files automatically next time.

Dovecot is configured to listen on port 24 for lmtp service, you just need to replace transport "dovecot" by "lmtp:127.0.0.1:24" directly.

5

Re: Migrating from Dovecot deliver (LDA) to Dovecot LMTP

You mean the virtual_transport part in the main.cf of postfix

# Dovecot SASL support.
#
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/dovecot-auth
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1

to
virtual_transport = lmtp:127.0.0.1:24

Or is that wrong?

Thx again

6

Re: Migrating from Dovecot deliver (LDA) to Dovecot LMTP

The one stored in SQL database "vmail", column "domain.transport" (per-domain transport) or "mailbox.transport" (per-user one).