No I resolved it now.
It turns out, that even tough I added the www-data user to dovecot group, it would only have an effect when running as www-data in sudo. The web server wouldn't honor the group membership of www-data user.
So had to tell Apache2 to specifically run as group dovecot, so it gets access to dovecot resources.
Now it FINALLY works!
-----Ursprungligt meddelande----- Från: Benny Pedersen via dovecot <dovecot@dovecot.org> Skickat: den 31 oktober 2024 19:45 Till: dovecot@dovecot.org Ämne: Re: Sv: dovecot-lda from www-data - doesnt work
Sebastian Nielsen via dovecot skrev den 2024-10-31 19:15:
No errors in logs either.
maybe your perl need to make the sasl auth to postfix ?
or simply just setup phpmailer with proper sasl auth
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org