59 Commits

Author SHA1 Message Date
Hivert Quentin
c3234882eb feat(openID): second part with a lot of fixes and cleaning 2025-03-13 15:25:56 +01:00
y9048a
02dd5c3501 feat(mail) Introduce option SOGoVacationAllowZeroDays to allow a sieve vacation days value of 0 2025-02-11 17:17:58 +01:00
Hivert Quentin
1c20c1ead3 feat(sieve): add from on notificatons 2024-09-12 10:49:15 +02:00
Hivert Quentin
5534d4b6ee fix(notification): body was not send + missing tooltip 2023-09-13 14:52:08 +02:00
Hivert Quentin
3309346b46 feat(notificaiton) move custom message to body instead of subject 2023-08-31 15:22:56 +02:00
Hivert Quentin
6b647050fc feat(notification): add custom message 2023-08-30 17:04:49 +02:00
Hivert Quentin
82b69d1414 feat(notification): add enotify sieve script 2023-08-29 10:07:53 +02:00
Francis Lachapelle
adfd175681 fix(preferences): regex in Sieve scripts are now case sensitive
Fixes #5561
2022-07-22 16:45:47 -04:00
Francis Lachapelle
2aaad3de22 perf(tool): cache IMAP delimiters when updating sieve filters 2022-05-27 10:16:22 -04:00
Francis Lachapelle
c87ce46d29 perf(tool): cache IMAP delimiters when updating sieve filters 2022-05-26 09:25:42 -04:00
Francis Lachapelle
8ed4fc88b5 feat(mail): always forward incoming messages, before all filters
This new "Always forward" checkbox allows the user to forward incoming
messages before evaluating the other filters, if any. When unchecked,
the "redirect" directive is executed after all filters; if a filter
stops evaluating the remaining rules, the message won't be forwarded.
2022-04-06 15:43:07 -04:00
Francis Lachapelle
a98b404551 fix(imap): use proxy authentication to detect IMAP delimiter
Fixes #5479
2022-02-17 10:09:37 -05:00
Francis Lachapelle
f1912310db fix(preferences): add plus sign to timezone in Sieve script
Fixes #5448
2021-12-16 09:40:52 -05:00
Francis Lachapelle
2daeab3dd7 fix(preferences): add plus sign to timezone in Sieve script
Fixes #5448
2021-12-16 09:14:37 -05:00
Francis Lachapelle
2ecd441f32 feat(mail): enable autoreply on specific days or at a specific time
Fixes #5328
2021-12-02 14:20:47 -05:00
Francis Lachapelle
189aab3535 fix(mail): retrieve IMAP delimiter after LIST command 2021-04-21 10:49:33 -04:00
Francis Lachapelle
1c4ff40d33 fix(preferences(mail)): make sure auto-reply (vacation) text is set 2020-10-15 14:07:04 -04:00
Francis Lachapelle
7494bb3ae6 fix(preferences): improve handling of forward addresses
Fixes #5053
2020-06-22 17:12:05 -04:00
Francis Lachapelle
5da7903ce1 chore(tool): fallback to NGImap4ConnectionStringSeparator
When using a master user to update the Sieve scripts through sogo-tool,
we may not be able to detect the IMAP delimiter. Therefore, we must
fallback to the default NGImap4ConnectionStringSeparator.

Fixes #4919
2020-05-05 10:53:02 -04:00
Francis Lachapelle
7180b5988d fix(preferences): improve error handling with Sieve server 2019-12-16 14:54:03 -05:00
Francis Lachapelle
5b3d84ee24 refactor(preferences): conditionally activate the Sieve script
All the user defaults are now editable through the Preferences module,
even if an external Sieve script is enabled. However, the user can
disable the external Sieve script and force the activation of the
"sogo" Sieve script.
2019-11-15 14:37:35 -05:00
Ludovic Marcotte
2bc24eca82 fix(core): don't disable the current script if we aren't doing anything 2019-11-07 15:27:43 -05:00
Ludovic Marcotte
3a8336484c chore(core): removed NSLog calls 2019-11-07 08:17:35 -05:00
Ludovic Marcotte
4475ac651d feat(core): allow pre/appended Sieve scripts
Allow domain admins to now set Sieve scripts that can be prepended
and appended to all users' scripts. This can now be controller
using the SOGoSieveScriptHeaderTemplateFile and
SOGoSieveScriptFooterTemplateFile domain defaults.
2019-11-06 14:53:30 -05:00
Ludovic Marcotte
c2e7f6a866 feat(preferences): allow hiding of vacation the vacation period
This is controllable using the new SOGoVacationPeriodEnabled
domain defaults variable.
2019-11-05 15:33:16 -05:00
Ludovic Marcotte
34fcfe024b (fix) use the supplied Sieve creds to fetch the IMAP4 separator (fixes #4846) 2019-10-25 13:32:52 -04:00
Francis Lachapelle
0de722d8f4 Set default Sieve port to 4190
Fixes #4826
2019-09-25 10:54:35 -04:00
Ludovic Marcotte
3187bca0ef (fix) now dynamically detect and use the IMAP separator (fixes #1490) 2019-09-04 13:45:53 -04:00
Francis Lachapelle
399397bd79 Only discard mails if vacation conditions match
Fixes #4245
2017-08-23 14:14:45 -04:00
Ludovic Marcotte
6e04a2d99c (feat) can now discard incoming mails during vacation 2017-06-01 14:49:09 -04:00
Francis Lachapelle
d289a441bb Fix condition when enabling Vacation message 2017-01-27 15:57:43 -05:00
Francis Lachapelle
3efe0e8098 Add support for date extension of Sieve
Fixes #1530, #1949
2017-01-20 11:08:24 -05:00
Francis Lachapelle
bc10e0983a Fix Sieve activation with vacation start date
Fixes #3885
2016-11-09 16:25:16 -05:00
Francis Lachapelle
d8fc40217d Specify a custom vacation subject
User can now specify a custom vacation subject. For Sieve servers
implementing the variables extension, one can write ${subject} to insert
the original subject in the auto reply.

SOGoDefaultVacationSubject is a new domain defaults parameter used when
the user doesn't specify a custom subject.

Fixes #685, #1447
2016-06-15 16:02:12 -04:00
Francis Lachapelle
4744170628 Add a header and/or footer to the vacation message
Fixes #1961
2016-06-14 14:10:17 -04:00
Patrice Levesque
7c25b53fdf Remove pointless #imports from .m and .h files
This was done with a brute-force approach, ensuring no additional
warnings from GCC 4.9 under x86_64.
2016-02-13 16:11:52 -05:00
Ludovic Marcotte
6c9b1a494f Fix for bug #2332 2015-02-09 16:12:59 -05:00
Ludovic Marcotte
ab12c84887 More NSLog usage cleanups 2015-01-23 15:32:22 -05:00
Francis Lachapelle
4e42a6a689 Don't limit Sieve script to 8KB
Fixes #2745
2014-04-30 12:36:51 -04:00
Alexandre Cloutier
068eb921aa rebase and fix comments made by extrafu 2014-04-09 10:48:47 -04:00
Francis Lachapelle
1aabcf04b5 Fix sogo-tool operations on Sieve script
Fixes #2617
2014-03-03 22:07:24 -05:00
Francis Lachapelle
b34c6324cd Fix custom mail labels in Sieve filter editor 2014-02-14 21:32:33 -05:00
Francis Lachapelle
c160edf20a Add support for Sieve body extension 2014-01-27 15:09:22 -05:00
Francis Lachapelle
8981dcd645 Fix segfault in SOGoSieveManager.m 2013-02-08 09:42:31 -05:00
Jean Raby
43044bf88f Plug sieve connection leak
Fixes #2228
Fix from 'bofhus'
2013-02-05 15:09:55 -05:00
Jean Raby
0532d331a3 whitespace (tabkill) 2013-02-05 15:09:20 -05:00
Ludovic Marcotte
a7722755b7 Fixed length call. 2012-12-06 09:03:17 -05:00
Ludovic Marcotte
347434dbff We now fallback properly on the IMAP server if the Sieve server is undefined. 2012-12-05 15:52:50 -05:00
Ludovic Marcotte
f6b5fdacb9 Remaining patches for bug #1866. 2012-12-03 16:49:20 -05:00
Ludovic Marcotte
47a9a22bc0 Fix for bug #2082. 2012-11-30 10:11:05 -05:00