Hi josephgodwinke
OK, I got it working but it required some changes to the blog details when installing on Ubunutu 20.04.
To answer your questions:
-
“What errors do you get? Saying its not working is vague”. The main error I got was that "
/usr/libexec/dovecot/deliver
" did not exist. This was due to the “Added lines to /etc/postfix/master.cf and restarted postfix.” being incorrect. -
“Do you have a domain?” Yes, I just blanked it out for security reasons.
-
Yes I clicked on the Sieve test button and got a green, once I had corrected the postfix/master.cf.
So I got it working by changing the following two parts of the blog post:
a) " Step 2 : Configuring Sieve"
nano /etc/dovecot/dovecot.conf
Append “sieve” after ‘lmtp’ in protocols
on the first line:
lmtp was not present so I needed to add that as well giving the line below:
protocols = imap pop3 lmtp sieve
b) " Step 4 : Setting up Postfix Delivery"
nano /etc/postfix/master.cf
dovecot unix - n n - - pipe
flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${recipient}
This threw an error in the mail log of /usr/libexec/dovecot/deliver not found. So I corrected it to:
dovecot unix - n n - - pipe
flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient}
After this sieve worked OK.
Also worth noting that as mentioned yesterday, when enabling Sieve in Snappymail domain, there is only one option shown to tick not the two as shown in the blog. The missing one appears to be a more user friendy gui for creating rules. Any idea how this can be installed?
Blog:
Actual:
Cheers guys