Commit Graph
122 Commits
Author SHA1 Message Date
David Goodwin 52e0d3e4b0 work around nano highlighting - see https://github.com/postfixadmin/postfixadmin/issues/320 2019-12-27 19:42:34 +00:00
David Goodwin 87824ef970 psalm fixes/workarounds; require PHP 5.6+ 2019-10-19 20:51:05 +01:00
gotty 13549cea0f Favicon config and ru_lang:
1. Favicon configuration of the project:
  a. Fixed incorrect link to favicon from the subfolder /users/
  b. Added ability to set favicon via config
2. Completed translation of all string constants into Russian language.
2019-10-19 18:33:18 +03:00
David Goodwin 758ccb9a19 add note in config for mailbox subdir creation requiring imap extension 2019-09-05 18:12:10 +01:00
Felix Ableitner a46245eecc Add config option for TLS 2019-07-17 11:44:04 +02:00
Felix Ableitner 600248e955 Add option to use smtp password when sending admin emails (fixes #272) 2019-07-02 13:41:58 +02:00
Sven Strickroth 56395709f3 Make quota levels configurable
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2019-03-16 16:06:58 +01:00
David Goodwin cdacb5697f improve formatting of error message; remove use of db_array (to be removed). 2019-01-01 19:24:04 +00:00
David Goodwin 20b1eb842e fix sqlite display of password expired check for mailboxes 2018-12-28 19:57:21 +00:00
David Goodwin 766c947190 fix case of $conf; improve comments 2018-12-28 19:14:26 +00:00
David Goodwin 74002bbf57 psalm fixes 2018-12-27 21:43:11 +00:00
Damien Martins 12ce418f79 No need to have password expiration value in config file 2018-08-21 16:09:39 +02:00
Damien Martins 84533224ba Adds colored indicators for password expired, account disabled and vacation enabled accounts 2018-08-21 16:04:28 +02:00
Damien Martins b33d79125c Merge branch 'master' of github.com:doktoil-makresh/postfixadmin 2018-08-21 16:02:02 +02:00
Damien Martins d809e0fbf7 Adds colored indicators for password expired, account disabled and vacation enabled accounts 2018-08-21 15:57:06 +02:00
Damien Martins 72dddbc93b Adds colored indicators for password expired, account disabled and vacation enabled accounts 2018-08-21 15:49:40 +02:00
Damien Martins e786609aa9 Adding support for password expiration. Please read README.password_expiration for more details 2018-08-17 16:07:14 +02:00
David Goodwin ba14535489 Merge pull request #172 from abonanni/bootstrap
Bootstrap Integration
2018-07-10 10:29:13 +01:00
Aleksi Kinnunen 48c19a1cbd Combine encrypt CONF-keys
Went through the old PR #25, updated the encrypt rounds/cost setting to be in the encrypt -configuration key as per suggestion from @cboltz
2018-05-29 02:36:08 +02:00
Aleksi Kinnunen 7b16e8a1c2 Add info about php_crypt and encrypt_difficulty to sample config 2018-05-29 01:27:55 +02:00
root fb3e968cfc Bootstrap template integration 2018-05-04 13:25:34 +02:00
David Goodwin f7ba904800 see #171 2018-04-29 21:58:57 +01:00
Christian Boltz 7c38bdd871 add a big notice about using config.local.php 2018-04-27 22:38:38 +02:00
Christian Boltz 3f1866d041 display phone number field only if $CONF[sms_send_function] is set
Without a way to send a SMS, asking users for their mobile number is
pointless.
2018-04-22 22:55:55 +02:00
Lee Clemens ebbd9025e4 Add support for MySQL connections over SSL 2017-11-14 19:53:59 -05:00
Sylvain Tissot ffb84283c2 Harden password reset process
The improvements are:

- Die with an explicit message when a user is trying to reset his lost password and the option is disabled in config
- Redirect user to main page after password change using relative URL
- Don't leak info whether user exists or has recovery info defined
- Throttle password reset requests to prevent brute force attacks
- Show phone/alt email fields in mailbox/admin edit form only when the password reset option is enabled
- Make database upgrade code compatible with other databases types
- Use the existing password generator to generate OTP. It is now stored in database, unique to each user, valid only for 1 hour and can only by used once.
2017-10-09 11:45:51 +09:00
David Goodwin 4b999b3f6b improve mysqli connection settings - see https://github.com/postfixadmin/postfixadmin/issues/73 2017-09-05 10:09:36 +01:00
Christian Boltz 2251c00fb8 disable password reset until it is secure
For some unknown reason, the insecure version of pull request 18 (which
uses easily guessable reset codes) was merged. This commit disables the
password reset until someone makes it secure.

See the comments in https://github.com/postfixadmin/postfixadmin/pull/18
for details.
2017-08-22 14:35:40 +02:00
Sylvain Tissot 9c9ba64a7f Allows a user or admin to reset his/her forgotten password with a code sent by email/SMS #18 2017-08-21 13:05:25 +02:00
Christian Boltz f18f16c004 move $CONF['edit_alias'] next to $CONF['alias_control'] 2017-07-09 14:33:44 +02:00
Christian Boltz 4d9a0717d0 Merge pull request #26 from medarion/master
added config option to disable "edit_alias" function for users
2017-07-09 14:32:09 +02:00
David Goodwin 0951629a48 config.inc.php: debian has doveadm in /usr/bin not /usr/sbin 2017-06-25 18:49:32 +01:00
Christian Boltz 8aecf3eae3 Merge branch 'master' into broadcast_improvements 2017-04-17 13:22:16 +02:00
Christian Boltz f7f3781770 Fix default for $CONF[create_mailbox_subdirs_hostoptions]
array('') means to include an empty item, and that results in an invalid
remote specification with a trailing "/"

Using an empty array() fixes this.

Reported by oftc_ftw on IRC.
2017-03-22 22:08:53 +01:00
Martin Oemus 9aba43ee48 added config option to disable "edit_alias" function for users 2017-02-14 20:18:31 +01:00
Jan-Frederik Rieckers 3c360f646f Switch config item for broadcast.
The new config item is now `sendmail_all_admins`
2017-02-12 20:39:37 +01:00
Jan-Frederik Rieckers 3c3d844130 Improve the broadcast message tool
* Make it possible by config option that non global admins can send
  broadcast messages to their domains.
* Allow the sender to select the domains the broadcast message should be
  delivered to
* Allow the sender to decide if the broadcast message should just be
  delivered to mailboxes
2017-02-11 23:16:43 +01:00
David Goodwin 491df198cc Merge remote-tracking branch 'svnexport/master' 2016-12-21 10:29:02 +00:00
Christian Boltz 4c2ff84d52 upate wiki links
mediawiki -> SF wiki


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1876 a1433add-5e2c-0410-b055-b7f2511e0802
2016-10-20 21:26:13 +00:00
David Goodwin 17d1cce041 Merge remote-tracking branch 'svnexport/master' 2016-10-20 09:27:09 +01:00
Christian Boltz 62b872491f config.inc.php: add pointers between $CONF[encrypt] = 'authlib' and $CONF[authlib_default_flavor]
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1874 a1433add-5e2c-0410-b055-b7f2511e0802
2016-10-18 19:49:13 +00:00
David Goodwin 6bc747ba9b Merge remote-tracking branch 'svnexport/master' 2016-05-20 20:21:24 +01:00
Christian Boltz a46720c8c8 config.inc.php:
- add more detailed notes about unsupported dovecot:* encryption types
  (after hunting them down with r00t^2 on IRC)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1833 a1433add-5e2c-0410-b055-b7f2511e0802
2016-04-11 23:54:34 +00:00
David Goodwin d3ca74af0d merge github pull request into svn manually - https://github.com/postfixadmin/postfixadmin/commit/3e62d3975ab78eee565b484b1f0fa3c29e0909fb - adding configurable smtp helo (CONF["smtp_client"])
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1832 a1433add-5e2c-0410-b055-b7f2511e0802
2016-03-28 18:28:40 +00:00
Christian Boltz 6ee6574076 include_once(config.local.php) instead of include()ing it
This should avoid problems with endless include loops like in
https://sourceforge.net/p/postfixadmin/bugs/367/


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1830 a1433add-5e2c-0410-b055-b7f2511e0802
2016-03-21 22:14:29 +00:00
CaptainArk 21c4ec0dd8 smtp_client variable empty by default 2016-03-09 19:57:23 +01:00
CaptainArk 7778c0b9c6 Adding an option to configure the hostname in HELO when sending emails from Postfix Admin 2016-03-08 20:21:56 +01:00
Christian Boltz b261db86c7 Merge pull request #9 from phyrog/master
Add sqlite backend option (thank you @phyrog for doing this)

(imported from github)


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1824 a1433add-5e2c-0410-b055-b7f2511e0802
2016-02-04 22:30:06 +00:00
Tom Gehrke 92f1dbdf39 Add sqlite backend option 2016-01-29 09:54:11 +01:00
David Goodwin a190ca8f3b Merge remote-tracking branch 'svnexport/master' 2015-09-08 05:46:13 +01:00