Re[2]: AW: Access to mails with delimiter "+"

2016-08-21 Thread André Peters
Hi, Yes, this worked! Though I still need to know the tags my users are using and assigning them these addresses. Can this be done by automatically? Like assigning user+whate...@domain.tld automatically to u...@domain.tld? Another idea to fix this is to extend the PCRE pattern to add a X-E

Re: AW: Access to mails with delimiter "+"

2016-08-21 Thread Janos SUTO
Hello, On 2016-08-21 14:52, André Peters wrote: A delimited address like me+t...@domain.tld is now shown as "t...@domain.tld". I need to add "t...@domain.tld" to show delimited mails in the search panel. Anyways it shows the address correctly in the bottom panel. Screenshots always help, I gue

AW: Access to mails with delimiter "+"

2016-08-21 Thread André Peters
Hi, wow, that was frustrating ... I forgot to add the "$session->set("auth_data", $data);" part in the new function. But that did not completely fix the issue: A delimited address like me+t...@domain.tld is now shown as "t...@domain.tld". I need to add "t...@domain.tld" to show delimited mails

Re: Access to mails with delimiter "+"

2016-08-21 Thread Janos SUTO
Hello, try adding the following to config-site.php: $config['CUSTOM_EMAIL_QUERY_FUNCTION'] = ''; function ($username = '') { $session = Registry::get('session'); $data = $session->get("auth_data"); if($username == 'myn...@example.org') { array_push($data['emails'], "myna

Access to mails with delimiter "+"

2016-08-21 Thread André Peters
Hi, Any idea how I can give access to mails with a delimiter? Like in myname+appen...@example.org . I wrote a function to include these aliases in the $data[‘emails’] array when logging in, but I cannot see them anyway. Any ideas? André smime.p7s