Michael Kaufmann
c0e89bbd05
refactor UI functions
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2018-12-21 11:22:03 +01:00
Michael Kaufmann
b0df4e46d6
convert validate/check functions
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2018-12-20 21:00:39 +01:00
Michael Kaufmann
8e84a4ff44
correct use of Database use
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2018-12-19 16:57:03 +01:00
Michael Kaufmann
6329042d40
use namespaces in modules
...
Signed-off-by: Michael Kaufmann <d00p@froxlor.org >
2018-12-18 13:45:05 +01:00
Michael Kaufmann (d00p)
fa7bb53d58
added EmailAccounts-ApiCommand
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2018-03-12 14:13:35 +01:00
Michael Kaufmann (d00p)
6fc8cce8f5
add EmailAccounts.add; added wrapper function ApiCommand.getMailTemplate() to reduce code-duplication
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2018-03-12 13:44:44 +01:00
Michael Kaufmann (d00p)
b205f8ea5d
add EmailFowarders ApiCommand
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2018-03-11 10:24:17 +01:00
Michael Kaufmann (d00p)
164650adc3
added Emails.update() and Emails.delete() commands
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2018-03-08 11:49:28 +01:00
Michael Kaufmann (d00p)
231159a6c6
added first methods of Emails ApiCommand
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2018-03-06 14:02:27 +01:00
Michael Kaufmann (d00p)
dd3e5e9c6b
fix wrong variable name typo, fixes #484
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2017-11-06 07:36:51 +01:00
Michael Kaufmann (d00p)
421c29c491
remove each() keyword as it is deprecated as of php-7.2, fixes #479
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2017-10-31 13:03:06 +01:00
Michael Kaufmann (d00p)
47cd30a45e
use correct logging-level in customer_mail, thx to priority
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2017-07-19 12:06:36 +02:00
Michael Kaufmann (d00p)
d994379130
do not idna-encode already encoded domain when addin a new email address (only an issue when using >=php-5.6
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-08-06 07:41:06 +02:00
Michael Kaufmann (d00p)
526eb84b71
Remove superfluous exit-statement
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-08-01 15:05:58 +02:00
Michael Wyraz
e3587fb346
If a customer's page is hidden from menu via settings, redirect the user if he tries to access the page
2016-07-27 13:45:54 +02:00
Michael Kaufmann (d00p)
f9740ff545
check whether an email account is to be deleted when re-adding an email account with the same name, fixes #1519
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2016-03-10 10:54:32 +01:00
Florian Aders
deb19f2625
Removed unnecessary exit - calls
...
Signed-off-by: Florian Aders <eleras@froxlor.org >
2016-02-22 12:10:18 +01:00
Michael Kaufmann (d00p)
77ae3aa387
generate only password that match our complexity-settings in customer_email.php; don't use md5() for the admin password in the installation process
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2015-02-01 13:57:06 +01:00
Michael Kaufmann (d00p)
41f971a4d5
also, fight stupidity in development, my bad :P
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2014-05-18 11:20:22 +02:00
Michael Kaufmann (d00p)
3c8bf348d1
fight stupidity - teach your customers not to use password == username
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2014-05-18 11:16:35 +02:00
Michael Kaufmann (d00p)
6a8cd15456
Merge remote-tracking branch 'origin/0.9.31'
2013-12-16 13:37:01 +01:00
Michael Kaufmann (d00p)
5be5787afd
fix wrong Database method-usage when toggling catchall for e-mail address
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-12-16 13:28:03 +01:00
Roman Schmerold (BNoiZe)
eb33493c79
implemented new Setting-class, refs #1325
...
Signed-off-by: Roman Schmerold (BNoiZe) <bnoize@froxlor.org >
2013-12-15 12:24:32 +01:00
Michael Kaufmann (d00p)
f8e7f1a975
remove not-functional method 'maildirExists' as maildirs have chmod 700, show 'remove files' on overview-delete if mail-address is an account, fixes #1275
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-11-30 16:40:27 +01:00
Michael Kaufmann (d00p)
f278b42353
fix wrong parameter-name in admin-customers; check for disabled imap/pop3 when adding mail-accounts as customer, fixes #1298
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-11-30 16:07:23 +01:00
BNoiZe
7731d69929
Updated to reflect 1024 size calculation systemwide, refs #1277
...
Fixed decimal places in customer_mysql.php
2013-11-29 18:03:02 +01:00
BNoiZe
74faad408e
Fixed a typo refs #1287
2013-11-19 12:44:32 +01:00
Michael Kaufmann (d00p)
0db0b3bd88
require is a statement and not a function
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-11-18 12:53:33 +01:00
BNoiZe
3527177ea9
Removed $db from customer paging #refs 1287
2013-11-18 09:10:18 +01:00
BNoiZe
c6c87fe55a
Fixed a typo, small improvements
2013-11-17 21:51:32 +01:00
BNoiZe
38ebfa364f
Migrated customer_email to PDO database class, refs #1287
2013-11-17 21:40:50 +01:00
Michael Kaufmann (d00p)
1edb3c7874
also, select field 'mboxsize' in customer_email because we want to show it to the user :P, thx Sephi...again...
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-09-23 17:36:17 +02:00
Michael Kaufmann (d00p)
2a396ffb31
enhance master-cronjob parameter usage, you can now use --force-[cronname] to force any cronjob you like; now show mailbox sizes of emial accounts in the customers email overview, fixes #1007
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-09-23 16:58:27 +02:00
Michael Kaufmann (d00p)
fb045c3fe1
let admin chose what password-hash-algorithm is to be used to crypt() passwords; fixes #852
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-04-14 18:41:21 +02:00
Michael Kaufmann (d00p)
271e4a660b
don't db->escape the password for makeCryptPassword as its result is being db->escaped anyway; refs #852
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-04-14 11:56:01 +02:00
Michael Kaufmann (d00p)
d3e902ac63
when a new e-mail address is created, don't use the the customers name, as it might confuse the owner of the account, fixes #1127
...
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org >
2013-03-15 17:13:50 +01:00
Arnold Bechtoldt
78f286cbda
Implement *deactivate-catchall*-feature, refs #fixes 1114
...
Signed-off-by: Arnold Bechtoldt <mail@arnoldbechtoldt.com >
2012-08-21 20:08:20 +02:00
Andreas Burchert (scarya)
5b15de8e9a
Merged upstream/master to encrypted passwords, refs #852
...
Signed-off-by: Andreas Burchert (scarya) <scarya@froxlor.org >
2012-07-25 09:01:52 +02:00
Andreas Burchert
68d4264d84
Merge pull request #4 from bechtoldt/ticket1021
...
Make check of creating e-mail addresses case-insensitive, thanks to d4f, fixes #1021
2012-07-20 04:11:41 -07:00
Andreas Burchert (scarya)
46e788f875
Added support for encrypted passwords, refs #852
...
Thanks to sardyna12
Signed-off-by: Andreas Burchert (scarya) <scarya@froxlor.org >
2012-07-20 11:35:33 +02:00
Andreas Burchert
288d29de7a
Merge pull request #28 from avengerx/new_maildir_structure
...
New maildir structure fixes #1103
Thanks to avengerx
2012-07-18 03:35:03 -07:00
Fabrício Zimmerer Murta
432e898318
Additional modifications to domain/user/Maildir email file structure
...
- Added email settings' option to specify Maildir directory (depending
on postfix version this is ./Maildir/, .maildir/ or, optionally, one
can choose to leave Maildir file structure directly on user's
directory.
- Fixed database 'insert' command to describe the new structure using
specified Maildir directory into new accounts.
- Fixed maildirExists function to the new file structure
- Fixed older bug that email exclusions that were scheduled (task 7)
were not being displayed on overview.
- Added entries on 'english' language file for the new entries on panel
- Changed task id 6 (delete customer) behavior on scrips/jobs/cron_tasks.php
to assure email account is owned to mail uid/gid and the target is an
actual directory before zapping it.
- Fixed task id 7 (delete customer mail data) behavior on script above
to correctly fill and find Maildir and also do additional paranoid
checks before zapping the mail account directory. Notice this is not
the same from above directory-wise: here we erase a single account's
data, while in task id a entire customer set of accounts and domains
are eliminated.
2012-07-09 23:46:51 -03:00
root
f7754e2845
Change how email folders are created.
...
Before it was: customer_dir/mail/customer_login/user@domain/
Now it is: customer_dir/mail/customer_login/domain/user/Maildir/
2012-07-09 23:43:59 -03:00
Michael Kaufmann (d00p)
d89856fac0
fix some possible undefined indexes due to the change from yesno-selectbox to a checkbox, refs #645 fixes #1105
2012-06-25 09:27:39 +02:00
Arnold Bechtoldt
f957a0a04e
email address validation: using strtolower() with equal-operator to check if address is not already in use, instead of comparing with LIKE-operator, fixes #1021
...
Signed-off-by: Arnold Bechtoldt <mail@arnoldbechtoldt.com >
2012-05-29 10:21:58 +02:00
Arnold Bechtoldt
aa22d5c594
Make check of creating e-mail addresses case-insensitive, thanks to d4f, fixes #1021
2012-03-08 17:02:57 +01:00
Andreas Burchert (scarya)
51a83d8b09
Removed @version in file header. This isn't used by git.
2011-05-04 11:59:20 +02:00
Andreas Burchert (scarya)
630e2966e2
Removed unused makeyesno functions, refs #645 @1h0m
2011-03-30 14:52:59 +02:00
Michael Kaufmann (d00p)
9ddd3a2a58
fix typo
2011-02-12 17:42:02 +01:00
Michael Kaufmann (d00p)
a807ffd918
fix more customer_email formfiled usage
2011-02-12 17:24:07 +01:00