Commit Graph
194 Commits
Author SHA1 Message Date
David Goodwin c8b92047a6 Try and update CHANGELOG.TXT adding missing attributions/thanks etc, get ready for 4.0.6 release 2026-11-06 10:02:21 +00:00
Rodrigo Cortés Cano 6c7146d2ea Distinguish local and external alias destinations on 4.x (#1168)
Port the final merged behavior of #1150 to `postfixadmin_4.0`, completing the wording-only port in #1152 (discussion #886).

Alias destinations with no matching local record within the administrator's managed domains are marked red; destinations outside those domains are marked blue without inspecting another administrator's
records. Mixed destinations can show both indicators. 

thanks @TrapoSAMA
2026-10-03 14:58:25 +01:00
Rodrigo Cortés Cano d1457da94f 4.x: improve alias destination status indicators (#1152)
Ports #1150 to `postfixadmin_4.0` and addresses discussion #886.

An alias destination absent from local records can be a valid external
address. Replace the misleading “maybe UNDELIVERABLE” label with
“Possible external destination” and add the short tooltip “Not listed as
a local destination.” English and Spanish wording matches #1150.

thanks @TrapoSAMA
2026-09-19 10:26:14 +01:00
Rodrigo Cortés Cano f6a29e570c 4.x: enforce TOTP policy for XML-RPC login (#1137)
Reject password-only XML-RPC authentication for mailbox accounts that require TOTP while preserving existing behavior for accounts without TOTP.

This ports PR #1131 with PHP 7.4 compatibility and includes the documented XML-RPC/TOTP limitation requested during master review.

Refs #1128

thanks @TrapoSAMA
2026-09-02 20:17:45 +01:00
Rodrigo Cortés Cano 852e719183 4.x: fix legacy md5crypt compatibility (#1126)
- restore `md5crypt` as the PostfixAdmin 3.x-compatible alias for MD5-CRYPT
- verify stored unprefixed MD5-CRYPT, prefixed MD5-CRYPT, bcrypt, and SHA512 crypt hashes from their stored format
- document the canonical `MD5-CRYPT` setting, the legacy alias, and the 3.x upgrade implications

This addresses #1123 on `postfixadmin_4.0`. The `master` correction is in #1125 so each maintained branch can be reviewed and tested against its own PHP requirements.

thanks @TrapoSAMA
2026-08-29 15:11:10 +01:00
Rodrigo Cortés Cano 6e93d57766 Fix password expiration handling and visibility on 4.x (#1110)
- port the password-expiration correction to `postfixadmin_4.0`
- make password expiration optional and disabled by default
- make 0 consistently mean that domain passwords do not expire
- validate whole-day policies from 0 through 36500
- align password-change paths and preserve the existing Login fallback
- show mailbox expiration states in lists and CSV output
- add the new labels to every 4.x language file
- document how to enable the feature in `config.local.php`

thanks @TrapoSAMA
2026-08-11 09:28:19 +01:00
David Goodwin 2cb5fe291c add changelog etc for 4.0.5 release 2026-07-05 14:10:28 +01:00
David Goodwin 3643626ff1 update CHANGELOG etc for 4.0.4 release, add some info for the spomky-labs/otphp issues and why we are ignoring them for 4.0.x 2026-06-27 11:38:42 +01:00
David Goodwin f14c91d532 update CHANGELOG + config version again (4.0.3) 2026-06-13 09:45:39 +01:00
David Goodwin 3ab98bb68a postfixadmin 4.0.2 release (update changelog, update functions.inc.php version variable) 2026-06-13 09:35:57 +01:00
David Goodwin 1cea10b13a try and improve docs around $CONF["dovecotpw"] in config.inc.php (see #398) 2026-02-04 20:54:33 +00:00
David Goodwin e56748810b bump postfixadmin version for 4.0.1 2025-09-14 21:30:42 +01:00
David Goodwin d9811872cc update docs + changelog to highlight pacol() function move into PFAHandler 2025-07-14 08:41:03 +01:00
David Goodwin 460c624275 remove more references to sourceforge 2025-07-13 18:29:37 +01:00
David Goodwin 14db6db23e config.inc.php: change version to 4.0 2025-07-12 19:20:28 +01:00
David Goodwin c97b92f17e change version string to 4.0-beta1 2025-06-01 15:37:04 +01:00
David Goodwin 999bfcfc54 drop support for mysql_encrypt, given MySQL after 5.7 has dropped it and we had not wired it into the pacrypt() function anyway, try and improve docs in config.inc.php 2025-05-28 09:41:22 +01:00
David Goodwin d8fb109038 remove unused config alias_goto_limit - see #915 2025-04-11 09:19:41 +01:00
Gianluca Giacometti bfebea5f3c Create new_mailbox_hook function (#864)
* Add new postcreate mailbox hook ( mailbox_postcreation_hook ) - which can be called after a mailbox is created (similar to mailbox_postcreation_script). 

Thanks @gianlucagiacometti !
2024-11-09 08:23:26 +00:00
David Goodwin 62a76734c9 see #812 - remove config options for create_mailbox_subdirs_* due to the php-imap module being deprecated; leave in an error_log message to perhaps avoid future support tickets asking why this does not work 2024-04-01 19:38:31 +01:00
David Goodwin eda637df1a Merge branch 'master' into michaelkrieger-patch-1 2024-01-11 08:51:17 +00:00
John Fawcett 668960ccf6 Add a flag to mailbox table for enable/disable smtp protocol. The table column name
is "smtp_active". This enables use of this flag instead of active flag for postfix
mysql queries. There is a new configuration parameter $CONF['smtp_active_flag'] =
YES or NO, which defaults to NO, providing the existing behaviour. When set to YES
the active_smtp field is displayed in the edit mode and can be modified.
The commit includes update to the language files and documentation.

The commit does not include the code to add the field to existing installs,
which I presume can be added during the release cycle in upgrade.php along the
lines of:

_db_add_field('mailbox',  'smtp_active', 'int DEFAULT 1');
2024-01-09 20:50:49 +01:00
David Goodwin 4d17aa6ef9 manaul merge in of verdigado:master (see #753) (MFA/TOTP support) 2023-12-23 17:05:52 +00:00
Fredrik Boström 7b8532b2b0 Add javascript check for illegal characters in username
Signed-off-by: Fredrik Boström <fredrik.bostroem@verdigado.com>
2023-09-26 14:12:33 +02:00
David Goodwin 375350cadd reformat a little 2022-11-30 21:18:40 +00:00
Christian Boltz 9ec3196c6d Whitespace fixes 2022-07-18 22:55:24 +02:00
Fredrik Falk 9e73025058 Add Domain Key handling 2022-06-23 20:40:06 +02:00
David Goodwin 760600cb56 one or more of something needs {1,} not {1} ... 2022-02-13 20:32:39 +00:00
Oliver Cooper 35ecb62730 Add password special character support 2022-02-13 17:21:20 +00:00
Davide Beatrici 626bd43def Add support for implicit TLS, replace "smtp_sendmail_tls" with "smtp_type"
For reference: https://datatracker.ietf.org/doc/html/rfc8314

Please note that this only applies to the "send email" feature.

In the future we should implement it for the "fetch email" one too.
2021-11-29 07:10:20 +01:00
David Goodwin 89f3ba5387 try and improve documentation in config.inc.php 2021-11-14 20:49:58 +00:00
David Goodwin 6f7e69f21b improve docs 2021-09-29 21:05:03 +01:00
BotoX 768f2ee844 Improve dovecot mail-crypt postpassword script security (pipe password instead of passing on cmdline)
Suggested from: https://github.com/postfixadmin/postfixadmin/issues/441#issuecomment-774736944
2021-06-13 12:24:27 +02:00
Sven Strickroth 74a12b4f0c Add support for domain_postedit_script
Signed-off-by: Sven Strickroth <email@cs-ware.de>
2021-05-08 18:27:44 +02:00
David Goodwin c755e82a36 Merge branch 'postfixadmin_3.3' 2021-02-18 12:12:27 +00:00
David Goodwin 1a9d9847f5 bump version 2021-02-17 21:32:06 +00:00
David Goodwin 5aee2ca4f8 update CHANGELOG and version 2021-02-17 17:21:47 +00:00
David Goodwin d9813d4cf8 see #446 - try and detect site url but allow for $CONF['site_url'] override to be used. 2021-02-07 20:35:58 +00:00
David Goodwin be1f922f7e change reference to file 2021-01-29 21:18:29 +00:00
David Goodwin 9305a250fb change the default password hash to one that may be more secure; add note 2021-01-28 17:04:21 +00:00
David Goodwin 9da4431bef Merge branch 'postfixadmin_3.3' 2021-01-27 22:02:29 +00:00
David Goodwin 96a022747c release 3.3.5 perhaps 2021-01-27 22:01:32 +00:00
David Goodwin 97ae019e10 remove duplication; comment out the length_check password_verify rule as we already have /.{5}/ 2021-01-27 10:56:40 +00:00
David Goodwin 237615502a Merge remote-tracking branch 'origin/postfixadmin_3.3' 2021-01-27 09:29:57 +00:00
David Goodwin e15d9abe06 improve comment, fix return value in callable for password_verify. 2021-01-26 21:06:35 +00:00
David Goodwin dd6616bbb2 bump version number 2021-01-26 19:45:59 +00:00
David Goodwin 98dba48c70 add a big note on sudo stuff, remove duplicate comments on hooks - see https://github.com/postfixadmin/postfixadmin/issues/441 2021-01-26 19:08:19 +00:00
David Goodwin 336259957d Merge remote-tracking branch 'origin/postfixadmin_3.3' 2021-01-25 21:58:31 +00:00
David Goodwin a1025b4760 and trim string before length check 2021-01-25 21:57:59 +00:00
David Goodwin 2acdcdbd75 see : https://github.com/postfixadmin/postfixadmin/issues/423 - change password length check behaviour 2021-01-25 20:12:47 +00:00