Commit graph

41 commits

Author SHA1 Message Date
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
Ludovic Marcotte 7c250fad8f Fix for bug #1061. 2012-11-26 13:13:06 -05:00
Francis Lachapelle 3bda924ebf See ChangeLog.
Monotone-Parent: 633c912a165a7258c1aa8a70d0816daff59274e1
Monotone-Revision: de7e6a583e1acc600d976efeef72db979312bb94

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-07-28T02:22:51
2012-07-28 02:22:51 +00:00
Francis Lachapelle 36bde4e042 See ChangeLog.
Monotone-Parent: 20ed9d28f7e0284da6a03803be4b44515ff13153
Monotone-Revision: 84638520098e5b0e2cebc6efed95a3c49beac705

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-07-25T15:31:40
2012-07-25 15:31:40 +00:00
Ludovic Marcotte 75c57a4285 See ChangeLog
Monotone-Parent: e58b519a51a061b80853202ec91f07ec470a2bf0
Monotone-Revision: 3c0c68cb2927ba4cada8bdac6741f149c6007b52

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-12-15T19:37:02
2011-12-15 19:37:02 +00:00
Francis Lachapelle b5fdc4a7c9 applied changes from 92cceaf860bbf56d983063471093858a3871ec23
through e38c570559610854b85c2c517053417779a76964

applied changes from e38c570559610854b85c2c517053417779a76964
             through 9d44b483787d6b5bf34a75581975d592ab901570

applied changes from 9d44b483787d6b5bf34a75581975d592ab901570
             through 6ec97f8aa3c0da79e5ef04809f3d7fce566e64b3

Monotone-Parent: 00afe1e795cd37cafff7687d6f1b8502f4f5735e
Monotone-Revision: 82564e2898976a6c09a85817e4b2954a5c58b7a9

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-11-17T19:16:46
2011-11-17 19:16:46 +00:00
Francis Lachapelle 6051e5975d Reverse localization patch.
Monotone-Parent: be2427fa7e45da8ba2b4c7955b6e904c06640586
Monotone-Revision: b084746023f24f274a1e8a852e8a36bb19bb35ce

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-11-03T11:54:03
2011-11-03 11:54:03 +00:00
Francis Lachapelle 90b5a2bf5e Branch for SOGo v1.3.10
Monotone-Parent: 1e8c7259f7ef4e643e8c4d7691e6d7b69faa65c3
Monotone-Revision: 01554e46f2d289111d615a3006a1b61ad6f76320

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-11-01T18:46:51
2011-11-01 18:46:51 +00:00
Ludovic Marcotte 3abac237a6 See ChangeLog
Monotone-Parent: 48a1bab369727c086d0425d59fd2cf0ffc63b71c
Monotone-Revision: d68444a3c794ab5baa8363ca087ec5caad13ba7b

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-07-05T16:54:39
Monotone-Branch: ca.inverse.sogo
2011-07-05 16:54:39 +00:00
Ludovic Marcotte 7e720da571 See ChangeLog
Monotone-Parent: 178cf4e5311729ac333305676b5ad2aa35a7ca71
Monotone-Revision: d51bb1b592f986d2e34036c3dad0c70f43f0150a

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-06-29T17:43:10
Monotone-Branch: ca.inverse.sogo
2011-06-29 17:43:10 +00:00
Renamed from SoObjects/Mailer/SOGoSieveConverter.m (Browse further)