Is it possible to create a global filter, that would work on the whole server, and could ignore periods in e-mail address? Just like Gmail is doing for @gmail.com accounts?
I need to solve the issue where I don’t use periods in e-mail like: for example: jsmith@contoso.com but people are sending messages for j.smith@contoso.com - I want to receive all messages in jsmith@contoso.com account even if someone is sending the message to j.s.m.i.t.h.@contoso.com. I don’t want to create an alias for every account.
There’s a script on which addresses this issue:
require ["variables", "envelope", "regex"];
if allof( envelope :localpart :contains "to" ".",
envelope :regex "to" "(.+)@(.+)$") {
set :replace "." "" "to" "${1}";
set "envelope.to" "${to}@${2}";
}
However, mailcow cannot parse it. Is there any other solution for what I’m trying to do?
Thanks!