Commit Graph

129 Commits

Author SHA1 Message Date
Kienan Stewart 2a07927acc
Order enumerated mails for a domain by ascending alphabetic order
Fixes #341

When applying LIMIT X, Y the ordering before the limit and offset do
not seem to be guaranteed. For example, if you have a large number of
e-mail addresses, and you page between the same e-mail address can appear twice.

The case where this was happening there were 2-3 mail boxes and ~90 aliases.

I'm not sure if this tied somehow to the database version used, but making the
desired ordering explicit ensures that all mails will eventually be shown and
shouldn't be shown twice.
2019-03-15 15:44:36 -04:00
Benjamin Sonntag 03e1786159 [fix] fix dmarc and spf not working 2018-10-25 17:33:21 +02:00
Benjamin Sonntag 27f907ee99 [fix] (for 3.5) delete ALSO autoconf / autodiscover in cascade when del_mx_domain 2018-10-23 19:27:54 +02:00
Benjamin Sonntag ad6bb372ea [fix] (for 3.5) delete DMARC and SPF and DKIM in cascade when del_mx_domain 2018-10-23 19:23:14 +02:00
Benjamin Sonntag b50f028e0e [fix] (for 3.5) delete DMARC and SPF and DKIM in cascade when del_mx_domain 2018-10-23 19:21:22 +02:00
Benjamin Sonntag e118f31397 [fix] opendkim add and del are now idempotent 2018-07-18 11:02:50 +02:00
Benjamin Sonntag 291812cead fixing dkim get entry function 2018-07-17 17:48:15 +02:00
Benjamin Sonntag e3d2b84418 [fix] reading multiline dkim key + fixing autodiscover zone having NULL name 2018-07-17 17:39:14 +02:00
Benjamin Sonntag cdf07913da [fix] misc bugs in update_domaines.php, 2018-07-17 16:59:54 +02:00
Benjamin Sonntag 9b7332f354 [enh] adding DKIM and AUTODISCOVER management in SUB_DOMAINES, finishing BIND update_domains.php 2018-07-08 22:03:27 +02:00
Benjamin Sonntag dbb41924bd [enh] add a debug() method to messages, and set this instead of LOG() for most api calls => only api calls that CHANGES something are now calling log() (which logs) and others are calling debug() which logs nothing by default. A variable allow for debugging 2018-06-28 00:27:10 +02:00
Benjamin Sonntag 7945034004 [fix] name of variable + fix of upgrade script 2018-06-24 19:05:59 +02:00
Benjamin Sonntag 8dc5c20fa5 [fix] remove now unused ico for menu icons (in css) 2018-06-23 11:49:49 +02:00
Benjamin Sonntag 5079aa2e03 [enh] change the name of some variables 2018-06-22 17:37:04 +02:00
Kienan Stewart 00c1d55406 Generate SHA512-CRYPT hashes for e-mail addresses 2018-04-16 21:02:45 -04:00
Benjamin Sonntag 5b7622ce90 [cosm] many cosmetic comment fixes, + ensure license and copyright everywhere 2017-10-08 19:31:34 +02:00
Benjamin Sonntag ca6b1cf4d9 [enh] removing the unmaintained upnp package 2017-10-07 15:12:18 +02:00
Benjamin Sonntag 3de55aca37 [cosm] reindent, check language of comments, ensure /** phpdoc style comments, simplify file header (license only) etc. 2017-10-06 23:42:39 +02:00
Benjamin Sonntag 33f8e78885 [fix] class m_messages fixed to use 'level' instead of 'type' or 'cat' + force CAP on levels + merge OK and INFO 2017-10-06 18:04:36 +02:00
quenenni f6f5a15ded le mdp des comptes mails étaient changés dans certains cas où il ne fallait pas 2017-09-12 14:49:33 +02:00
quenenni 7dce491b10 petite correction d'affichage de msgs 2017-08-21 17:50:57 +02:00
quenenni f92f92d34e suppresion des textes 'à traduire' + corr de 2 bugs 2017-08-18 15:32:16 +02:00
quenenni 5e0d4e8dc7 système de quota - quota Vs du.pl + affichage des quotas pour les utilisateurs 2017-08-17 21:32:21 +02:00
quenenni 0d5caada2f class mail & roundcube + fichiers admins associés 2017-08-15 16:11:57 +02:00
Benjamin Sonntag 53eec68f08 removing defmx/defmx2 when we say 'don't host email here', fixes #175 2017-08-12 16:31:46 +02:00
Remi 4a2d1dcbdf bug fix undelete mail 2017-01-24 18:29:13 +01:00
Remi 20dab5677a bug fixes variable $dom_id et non $domain_id 2017-01-24 17:52:29 +01:00
Benjamin Sonntag 1d9e478f2e [FIX] Undefined variable: res at upgrade time 2016-08-26 15:51:01 +02:00
Benjamin Sonntag 7b1e5bba94 [wip] m_mail LIMIT shall not be quoted 2016-05-18 18:41:27 +02:00
Emmanuel Monbroussou 4e558e5e7c [wip] Passing mysql request params into array arguments for the query method (part 4) 2016-05-18 12:51:03 +02:00
Emmanuel Monbroussou 3665aabc96 [wip] Passing mysql request params into array arguments for the query method (part 2) 2016-05-17 18:57:01 +02:00
Remi 9ec0668da5 bug fix: mailman wrappers were not added if mail quota was over 2016-03-03 11:28:26 +01:00
Remi 1fe966f5d8 bug fixes: spf and dmarc record weren't updated for every domain due to loss in mysql result query buffer 2016-03-02 14:17:32 +01:00
Benjamin Sonntag 6c6013e147 spit out a Warning when editing a mailbox without POP OR RECIPIENTS. Fixes #18 2016-01-15 15:13:12 +01:00
Benjamin Sonntag d3ab589e56 REFACTORING: code formatting of the panel + braces on if/while/for + fixe some missing or too many Globals in functions 2015-09-25 17:42:00 +02:00
Benjamin Sonntag b71619c6f5 fixing some missing GLOBAL + issue with variables_set 2015-09-02 11:30:40 +02:00
Benjamin Sonntag 5a108d67b9 fixing dmarc subdomain 2015-07-31 11:57:29 +02:00
Benjamin Sonntag b0b0fa408e adding experimental DMARC (relax) and SPF (relax) default support 2015-06-17 19:56:51 +02:00
Benjamin Sonntag 45094e2a5d fixing alias change not working in some case (no endline) 2015-04-28 16:49:59 +02:00
Benjamin Sonntag f01accd4c2 fix catchall crappy & with bugguy error messages 2015-04-22 17:32:40 +02:00
Benjamin Sonntag 6b7b5ee2ba [fix] replacing %%FQDN%% in variables by , if not some things will not work (like shell scripts using mailname_bounce) 2014-11-27 16:15:18 +01:00
Antoine Beaupr�� 8113d2b866 disable help texts if empty, partly (missing IMAP/POP) 2014-06-18 18:55:00 +00:00
Alan Garcia d2e69b4975 Corrige des variables 2014-03-28 11:37:36 +00:00
Alan Garcia 62981ecfa5 Some cosmetics 2014-03-28 09:14:53 +00:00
Alan Garcia 93a4123489 Fix #1580 2014-03-27 09:23:39 +00:00
fufroma 0bcc31be45 Suggested cosmetic 2014-03-26 16:05:05 +01:00
Alan Garcia 62dde928c5 Cosmetic 2014-03-26 15:04:12 +00:00
fufroma 92bee77f40 Suggested changes 2014-03-26 15:09:43 +01:00
fufroma 7cd158c45c Suggested comments 2014-03-26 14:59:41 +01:00
Alan Garcia 0bf6596466 Cosmetic, again 2014-03-26 13:31:06 +00:00