Difficulty configuring sieve/auto reponse.

Hi,

I’ve been using Nextcloud ( currently 31.0.3) and the Mail app for a long time, but only recently required an auto response ability. I’m running Postfix 3.5.25/Dovecot 2.3.16 on a separate box and managed to get the Mail app talking via manage-sieve, whereby it creates a nextcloud.sieve file in the virtual users directory when saving the desired auto response.

Although it works this far, it does not auto-reply as hoped and I’m unable to see any errors in any logs I’ve looked through.

I appreciate there are a few moving parts here that aren’t Nextcloud/Mail related, but is there documentation for configuring the back end specifically for Nextcloud? I couldn’t find any, in what is otherwise excellent documentation.

Thanks,

J

Hi,

if you have multiple email addresses / aliases for your account, please make sure those are also added in Mail because the sieve script will listen them.

Does sieve work in general? It’s been a while for me since i’ve configured it but recall that mange-sieve is only the protocol to manage it and the sieve plugins needs also be enabled itself in dovecot.

After a session of going everything from first principle I discovered I hadn’t changed the transport protocol between postfix and dovecot. It needed to be LMTP for everything to magically start working as apparantly I’d done everything else BUT that.

Once this was enabled, the Mail created sieve rules were correctly picked up, converted to a bin and the autoresponder is working as intended :grinning:

It seems I spent so much time ensuring sieve was externally available and working, I missed an important step.