Commit Graph

191 Commits

Author SHA1 Message Date
ralf
b9919e8f2c fix Smtp/Ads to NOT store users primary mail address as forward
if forwardOnly is not set, like we do it for UCS
2024-01-16 19:47:47 +02:00
ralf
0f6d01f5a0 allow to pass $only_current_user === 0, to get only mail accounts valid for all users 2023-12-18 13:14:09 +02:00
ralf
38ecfed987 disable imap log again 2023-12-15 17:53:57 +02:00
ralf
3dbb579239 * Mail: implement Exchange login-type "domain/username" 2023-12-15 17:19:16 +02:00
ralf
fd15d4e750 fix error setting vacation notice (without rules):
updateScript: putscript failed: mail: line 3: error: unexpected ',' found at (the presumed) end of file. mail: error: parse failed.
2023-12-08 22:54:53 +02:00
ralf
e9e96e3c39 * Mail: allow to configure an auto-responder, if Sieve supports the vacation-seconds extension 2023-12-07 16:39:27 +02:00
ralf
04271cabc3 Fix "* Mail/Sieve: fix vacation message with redirect kept mail in INBOX, even if rule moved it to a folder" 2023-12-07 16:39:27 +02:00
ralf
1dbab5fe18 Revert "* Mail/Sieve: fix vacation message with redirect kept mail in INBOX, even if rule moved it to a folder"
Cause mails never to be left in INBOX :(

This reverts commit 41e102f015.
2023-11-29 17:01:02 +02:00
ralf
afbc13462c * Mail/GMail/Microsoft365: update refresh-token, if we get one and redirects to IdP, if refresh-token is expired 2023-11-21 17:15:03 +02:00
ralf
59dbc7fe13 * Mail/Sieve: fix vacation message with redirect kept mail in INBOX, even if rule moved it to a folder 2023-11-15 10:07:47 +02:00
ralf
4d5e5aa28c also allow IMAP type derived from Dovecot like EGroupware Mail 2023-11-14 16:42:57 +02:00
ralf
d95305815a if the username contains non-ascii chars, try email address, as Dovecot does NOT deal with non-ascii usernames 2023-11-14 16:28:21 +02:00
ralf
802c4973a0 fix SQL error creating new mail-user, if username contains non-ascii chars 2023-11-14 15:51:10 +02:00
ralf
250ffebb22 ignore SQL error "Illegal mix of collations (ascii_general_ci,IMPLICIT) and (utf8mb3_general_ci,COERCIBLE) for operation '='" stalling mail for usernames with non-ascii chars 2023-11-14 15:23:23 +02:00
ralf
910489b7d5 fix removing last user/group from valid-for in mail-account did not work
add a strong warning that selecting a user/group for a mail account for all users effectively deletes it for all other users
2023-09-15 09:31:58 +02:00
ralf
b395e25863 be more verbose on errors and return full Sieve script text (for user/password, not for admin connection) 2023-08-09 16:49:16 +02:00
ralf
11a09c6269 remove add (optional) $vacation_rule return parameter as it causes a PHP Fatal error in hosting 2023-08-09 16:44:07 +02:00
ralf
c2064e1fa8 * Mail: new modus for vacation notice to not save message to INBOX and REST API to set vacation handling 2023-08-09 16:43:33 +02:00
ralf
f95aad8713 * Mail: REST API to send mails including attachments / sharing links, or open interactive compose windows
WIP Mail REST API: enable direct sending of mails with token authentication / no password not allowing to save mail to Sent folder
2023-07-14 09:05:02 +02:00
ralf
83dd2d9ac1 WIP improve avatar loading in mail app
currently ET2Avatar is NOT correctly handling contactId=email:<email>
2023-06-28 08:21:59 +02:00
ralf
ee51d2890c needs ungreedy, to not include quotes 2023-06-28 07:49:20 +02:00
hadi
3740586d07 Make sure the status is by_date before adding date rules into sieve vacation notice 2023-06-19 10:24:32 +02:00
ralf
aecaba5931 also allow calling Mail\Avatar::getAvatar() without an email 2023-05-10 16:10:19 +02:00
ralf
c322242c90 fix Mail\Avatar::getLavatar(): Argument #1 ($address) must be of type string, null given 2023-05-10 14:26:27 +02:00
ralf
3930c7a917 * Mail: performance improvements for huge addressbooks by caching avatars 2023-05-10 10:48:53 +02:00
ralf
5ef378abef fixing ValueError: str_repeat(): Argument #2 ($times) must be greater than or equal to 0
fixes 1894a19a86
2023-04-27 11:01:30 +02:00
ralf
6ef78f1d64 stop Chrome from autofilling passwords and do NOT display a password for OAuth when editing an account 2023-03-14 10:20:10 +01:00
ralf
7522e7615f fix Argument 2 passed to EGroupware\Api\Mail\Smtp::mailbox_address() must be of the type string, null given
called in /usr/share/egroupware/api/src/Mail/Smtp.php on line 238
caused by no mail domain specified in config or mail account
2023-02-07 08:19:39 +01:00
ralf
f2eae9041a * Mail/OAuth: fix not working auth with custom Office365 domains outside mail wizard
Mailserver was not available, so OAuth was not detected, when trying to get a new access-token for a refresh-token
2023-01-30 10:19:56 +01:00
ralf
55054024b6 fix PHP Deprecated errors visible in egroupware-docker-install.log 2023-01-26 10:42:33 +01:00
ralf
c49f7849bb * Mail: OAuth authentication for Microsoft (Office365, outlook.com, ...) and GMail 2023-01-16 16:56:51 -06:00
ralf
14b6a9a5ab WIP OAuth authentication for mail: working now with Gmail 2022-12-25 14:49:37 -06:00
ralf
2e5b87a6e1 fix typo in docu 2022-07-25 11:19:41 +02:00
Hadi Nategh
a49cc54bdd * Mail/Sieve: fix vacation notice activated by date does not work if the start date is set in future 2022-07-18 14:00:18 +02:00
ralf
c616f1c6b5 fix some typos and IDE warnings 2022-07-05 15:18:50 +02:00
ralf
94e74f8db4 * Mail/Dovecot: allow to use admin credentials to access mail when no session password is available, e.g. for SSO 2022-07-05 15:16:01 +02:00
ralf
1894a19a86 fix ValueError: str_repeat(): Argument #2 ($times) must be greater than or equal to 0
Also replace HTML entities, as we're converting to text
2022-06-21 14:15:28 +02:00
ralf
ced6c77f46 fix PHP 8.x TypeError sending mail 2022-05-10 18:43:30 +02:00
ralf
c4e0989bf9 replace original message header with fieldset in html and convert it to plain as before 2022-05-10 11:51:35 +02:00
ralf
917a833f89 fix "a ton" of PHP Warning: Undefined array key or variable in mail code 2022-04-26 18:46:38 +02:00
ralf
d92c5a94a6 fix PHP 8.1 Deprecated by adding return type declarations 2022-04-24 18:15:47 +02:00
ralf
790f9b2ff9 fix broken tracker mailhandling caused by protected constructor
also disable reading from DB, in case no (numeric) acc_id given, like from tracker mailhandling
2022-03-30 10:57:41 +03:00
ralf
22c8d8808f Allow overwriting values in all mail accounts through an optional file /var/www/mail-overwrites.inc.php 2022-03-29 19:39:39 +03:00
ralf
4f3e9fa06c do NOT attempt to use credentials encrypted with user password in an async context
(where user password is not available)
otherwise an s/mime certificate or user specific password will stall sending notification, even if no smtp authentication required
2022-03-28 17:58:41 +03:00
Ralf Becker
ce76fa5d7f fix PHP 8.0 TypeError: Unsupported operand types: string & int 2021-11-23 17:23:49 +01:00
Ralf Becker
587a9c0a88 fix PHP 8.0 TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given 2021-11-13 17:24:31 +01:00
Ralf Becker
c221253a82 fix PHP 8.0 TypeError: Unsupported operand types: string & int 2021-11-11 07:59:54 +01:00
Ralf Becker
7020030c17 fix PHP 8.0 problem "new" > 0 causing mail accounts created via admin for an other user to fail 2021-11-09 08:02:49 +01:00
Ralf Becker
57ac760a78 fix PHP 8.0 ValueError: stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) 2021-11-05 11:38:49 +01:00
Hadi Nategh
1f28336702 Fix stripos(): Argument #3 ($offset) must be contained in argument #1 ($haystack) by preventing empty html value being processed 2021-11-04 14:12:21 +01:00