Commit Graph

2240 Commits (f8713651cce8849153761dbcb87cfadef5f05a13)
 

Author SHA1 Message Date
David Goodwin f8713651cc explode if $run_dir is not specified; make a config setting and perhaps shift the onus onto the user rather than having to deal with tmpfiles.d etc
See: https://github.com/postfixadmin/postfixadmin/issues/78
5 years ago
David Goodwin 80418e6412 try and avoid hitting : https://github.com/postfixadmin/postfixadmin/issues/51 5 years ago
David Goodwin 17a50c51f1 drop some dies; use Exception and catch after dispatch() - see #197 5 years ago
David Goodwin 2ff05bc737 typo 5 years ago
David Goodwin 9cd7dac187 initial attempt at trying to return an exit value within the cli 5 years ago
David Goodwin 284d4b2eb0
Merge pull request #295 from Corvan/platform-independent
Update postfixadmin-cli
5 years ago
Lars Liedtke 0c94760828
Update postfixadmin-cli
Make this script platform independent to be usable under e.g. FreeBSD, where bash is located in /usr/local/bin/bash and thus the script fails.
5 years ago
David Goodwin 758ccb9a19 add note in config for mailbox subdir creation requiring imap extension 5 years ago
David Goodwin 34cf66110e see https://github.com/postfixadmin/postfixadmin/issues/251 - avoid things breaking if imap_open is not present 5 years ago
David Goodwin 3551710b82
Merge pull request #294 from wuuuduu/vacation_from_mx_get_smtp_server
Find MX record of receiver and use it
5 years ago
wuuuduu 86852b3dbd Find MX record of receiver and use it 5 years ago
David Goodwin 60c44a3ca3
Merge pull request #290 from akhilin/master
a small mistake in user_query with quota
5 years ago
Akhil Jalagam 53cefa1107
[NEW BADGE] freenode irc badge at #postfixadmin 5 years ago
Akhil Jalagam 3295334dd7
[NEW BADGE] repo size added 5 years ago
Akhil Jalagam 0f64f22a7e
a small mistake in user_query with quota
mistake in user_query with quota enabled for dovecot 1.2+
It took two days for me to find this issue.

Thank you,
Akhil
5 years ago
David Goodwin bc273a97e4 Revert "apply patch for vacation body encoding - see #288"
This reverts commit c3d3a9dbc8.

See comment at: https://github.com/postfixadmin/postfixadmin/issues/288#issuecomment-522495422
5 years ago
David Goodwin e8fb276c2f
Merge pull request #289 from akhilin/master
Update DOVECOT.txt
5 years ago
Akhil Jalagam 1941f970bd
Update DOVECOT.txt
a small mistake in documentation for imap quota.
5 years ago
David Goodwin 6a89b9a363 composer format 5 years ago
David Goodwin bee5fcbe24 improve setup form - only display "add superadmin account" if setup password is configured; change verbs depending on context etc; see https://github.com/postfixadmin/postfixadmin/issues/263 5 years ago
David Goodwin fa27c7c8b7 reindent/reformat 5 years ago
David Goodwin 7b18d0386c
Merge pull request #287 from gabrielfin/fix-pagination
Fix pagination
5 years ago
David Goodwin 296fc2f48e silence psalm error - cast $show_password_fields to an int in model/MailboxHandler.php lines 33/34 5 years ago
David Goodwin c3d3a9dbc8 apply patch for vacation body encoding - see #288 5 years ago
David Goodwin a0b4e690b2 only load random_compat if PHP_VERSION is < 7.0 5 years ago
David Goodwin d788c6ac99
Merge pull request #285 from Nutomic/ssl-sendmail
Use TLS to send emails
5 years ago
Felix Ableitner 8ba1cf20a7 use config::bool instead of read_string 5 years ago
David Goodwin 55bf13298e
Merge pull request #286 from gabrielfin/master
Use percentage for quota levels
5 years ago
Unknown 88587f4cd3 Fix pagination 5 years ago
Unknown 7583decbcb Use percentage for quota levels in bootstrap theme 5 years ago
Gabriel c3065bdace Use percentage for quota levels 5 years ago
Felix Ableitner a46245eecc Add config option for TLS 5 years ago
Felix Ableitner 61ede42800 Send emails with TLS 5 years ago
David Goodwin 8b19ef21cf add default value for password_expiry (default to one year)
should fix: https://github.com/postfixadmin/postfixadmin/issues/280
5 years ago
David Goodwin c53d17fff7 support TRUE orFALSE strings just incase 5 years ago
David Goodwin 01477f0009
Merge pull request #277 from Nutomic/admin-smtp-password
Add option to use smtp password when sending admin emails (fixes #272)
5 years ago
Felix Ableitner 600248e955 Add option to use smtp password when sending admin emails (fixes #272) 5 years ago
Christian Boltz 55858bf3a0
Fix table names in gen_show_status()
... by using table_by_key() instead of reading $CONF directly.
Otherwise, $CONF['database_prefix'] gets ignored and the query tries to
use a wrong table name.

This fixes a bug introduced in d809e0fbf7
5 years ago
David Goodwin 651688c802 if we are generating passwords, there will only be one password value; so reduce the fields we check before deciding whether to update password_expiry - see https://github.com/postfixadmin/postfixadmin/issues/266 5 years ago
David Goodwin 1d1960a476 if CONF['generate_password'] == 'YES' then do not display password fields
Given we autogenerate a password ....
5 years ago
David Goodwin ae476950f2 try and avoid smarty complaining about no variable $conf - see https://github.com/postfixadmin/postfixadmin/issues/266 5 years ago
David Goodwin 3ff2436f2f try a bit harder to avoid non-numeric argument issues with $multiplier
(see https://github.com/postfixadmin/postfixadmin/issues/266 )
5 years ago
David Goodwin 8e2e4eb189 run: composer format 5 years ago
David Goodwin 03b9483204 default to providing a password_expiry datetime value - even if password_expiry is turned off - this should fix https://github.com/postfixadmin/postfixadmin/issues/280 5 years ago
David Goodwin 95429a6963 reindent, remove comment 5 years ago
David Goodwin 3322b43bb6 see: https://github.com/postfixadmin/postfixadmin/issues/282 - try and ensure local_part contains an @ on creating a mailbox 5 years ago
David Goodwin 78764578db update languages to include the mailbox local_part string 5 years ago
David Goodwin d64eadf609 try and stop $_SERVER[REQUEST_SCHEME] not being defined - see https://github.com/postfixadmin/postfixadmin/issues/279 5 years ago
David Goodwin cc19870923 drop function: db_connect_with_errors(); just throw from db_connect() if something goes wrong 5 years ago
David Goodwin 87746e6de8
Merge pull request #281 from Nutomic/db-exceptions
Dont swallow database connection exceptions
5 years ago