I've been a member on StackOverflow for a while, but this is my first post to ServerFault, so if I'm doing something wrong in this post, feel free to call me out on it.
TL;DR: Using Cyrus and sendmail. We have emails like firstname.lastname@ourdomain
but sieveInstall -i <user> <compiled_sieve>
only permits alphanumerics. I do not know how to work around this.
My company uses Cyrus (v2.3.16-Fedora-RPM-2.3.16-6.9.amzn1) and sendmail on an AWS EC2 Linux server.
Historically, we've used firstname@ourdomain
email addresses because we were very small. However, we're growing and have started using firstname.lastname@ourdomain
for all new employees.
To do server-side mail filtering, we use sieves. We take a list of filter rules the user has defined, create a sieve from those rules, compile it using sievec
, and install it using sieveInstall -i <user> <compiled_sieve>
. This is all automated by Perl scripts.
The issue I'm running into is that sieveInstall
does not work with emails that have non-alphanumeric characters in them (such as a dot), so newer employees are not able to use our server-side filtering because of this. This worked beautifully for our older, firstname@ourdomain emails.
Documentation on sieveInstall
seems non-existent and there is no man page for it.
Does anyone know how I might accomplish this?
I've also briefly looked into sieveshell
but for some reason it cannot connect to localhost, maybe because the port isn't open.