Re: Upgrade 2.3 to 2.4 - virtual mail - dovecot-lda flags ignored
On 2025-05-21 14:11, Odhiambo Washington wrote:
Hi Cam,
I suffered something similar during my migration and an old post somewhere saved the day for me: https://skeletor.org.ua/?p=2497 I hope it helps you too.
It was worth a try, and at least has changed the focus to Exim from Dovecot: the existing lookups for identifying user@domain in Exim are not working. What he has is not significantly different from my own setup.
Thank you for the link
Cam
On 2025-05-21 16:22, Cam Ellison via dovecot wrote:
On 2025-05-21 14:11, Odhiambo Washington wrote:
Hi Cam,
I suffered something similar during my migration and an old post somewhere saved the day for me: https://skeletor.org.ua/?p=2497 I hope it helps you too.
It was worth a try, and at least has changed the focus to Exim from Dovecot: the existing lookups for identifying user@domain in Exim are not working. What he has is not significantly different from my own setup.
Thank you for the link
As it turned out, the problem lay partly with both. For some reason, Dovecot 2.3 would accept and properly deliver an email when /usr/lib/dovecot/deliver had no flags set. Dovecot 2.4 does not seem to like that. The problem then became how to properly express $localpart and $domain, since they need to be de-tainted. The solution comes from this URL: https://jimbobmcgee.wordpress.com/2020/07/29/de-tainting-exim-configuration-.... Setting up macros and using them to generate the appropriate variables did the trick.
Thanks to JimBob McGee
Cam
participants (1)
-
Cam Ellison