From 71402e905163c7b6146c6a5fc98b5c10fa4c8297 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Fri, 26 Apr 2019 11:46:57 +0100 Subject: [PATCH] comment --- model/PFAHandler.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/model/PFAHandler.php b/model/PFAHandler.php index 49da96e2..32c2b2d1 100644 --- a/model/PFAHandler.php +++ b/model/PFAHandler.php @@ -326,6 +326,12 @@ abstract class PFAHandler { * @param string $id */ public function init($id) { + + // postfix treats address lookups (aliases, mailboxes) as if they were lowercase. + // MySQL is normally case insenstive, PostgreSQL is case sensitive. + // http://www.postfix.org/aliases.5.html + // http://www.postfix.org/virtual.8.html + $this->id = strtolower($id); $this->label = $this->id;