iliajie
4117119c44
Fix to support multiple attr
2023-01-08 01:41:45 +02:00
iliajie
72ecf54a17
Fix JavaScript id ref bug
2023-01-08 00:47:53 +02:00
iliajie
b0eb96d003
Fix to prevent forcing using tables in tabs (fix widths)
2023-01-07 20:58:44 +02:00
Jamie Cameron
9b2fc2c9f4
When moving a maildir, also move any Maildir++ sub-folders
2023-01-02 18:26:14 -08:00
Jamie Cameron
2a31af4870
When moving a Maildir folder, only move the cur/new/tmp dirs because there might be other sub-folders or files
2022-12-14 14:00:13 -08:00
Jamie Cameron
82100ca232
Deal with attachment filenames with / in them
2022-09-19 18:26:47 -07:00
Ilia
7f71a4b8f8
Add missed patch to address XSS (in Usermin)
2022-06-13 11:38:58 +03:00
Jamie Cameron
758db4c2f5
Improve folder locking functions for use in Usermin
2022-01-23 11:46:08 -08:00
Jamie Cameron
ae64743265
Add function to remove spam prefix
2021-04-03 13:01:29 -07:00
Jamie Cameron
e6017f7761
Replace some more old hard-coded 1024 byte buffers with the new function
2021-03-27 12:49:56 -07:00
Jamie Cameron
f5004d27af
Deal with huge message IDs https://sourceforge.net/p/webadmin/bugs/5408/
2020-09-25 15:59:57 -07:00
Jamie Cameron
4e69a31a6b
Support SSL mode imap
2020-05-24 14:26:38 -07:00
Jamie Cameron
161fa33de3
Deal with URL characters in filenames, and long filenames
2020-01-03 18:43:14 -08:00
Jamie Cameron
1cc2f47640
Fix IMAP body search
2019-01-03 21:02:03 -08:00
Jamie Cameron
94fb368317
Don't crash out if there is a PIPE error writing to ispell https://www.virtualmin.com/node/59738
2018-12-29 22:51:20 -08:00
Ilia Rostovtsev
e31e501db5
Fix processing flags for Maildir storage format
...
There are cases when there is no `file` key on `%mail` hash. This patch will take care of it. I suppose that it would also be possible to inject `file` into `%mail` hash on `mailbox_list_mails` subroutine but it's not clear if this is the right way.
2018-07-26 15:44:48 +03:00
Jamie Cameron
76cc734aeb
Allow preview length to be customized https://github.com/webmin/usermin/issues/40
2018-05-19 12:54:09 -07:00
yangfl
0f9fb77369
Fix typo
2017-11-08 16:43:37 +08:00
Jamie Cameron
97e9c4e138
Use 3-arg open format to handle folders with spaces at the end of their names
2017-07-30 09:35:57 -07:00
Jamie Cameron
a6052e1ae9
Remove tags thhat will be escaped
2017-06-04 12:31:44 -07:00
Jamie Cameron
77e6bc2a00
HTML outside the head or body is too dangerous to include
2017-04-19 18:41:09 -07:00
Jamie Cameron
249a205f27
protect against dangerous attachment filenames
2017-04-11 10:26:05 -07:00
Jamie Cameron
c816d1385f
Detect missing IMAP handle better https://virtualmin.com/node/48616
2017-02-25 13:33:28 -08:00
Jamie Cameron
e17ee3cc8c
Legit HTML can appear outside the body in corrupt emails
2017-01-24 21:56:22 -08:00
Jamie Cameron
a9f6a4528f
When looking up by folder name, transform the ID properly
2016-06-04 16:37:43 -07:00
Jamie Cameron
bb98a1af45
Support multiple files per attachment field
2016-01-23 17:58:54 -08:00
Jamie Cameron
495ab59f09
Custom headers can't use the normal IMAP search http://virtualmin.com/node/38059
2015-09-21 18:47:54 -07:00
Gerco Dries
2cb7691e37
Fixed not calling switch_from_folder_user() for some types of mail directories
2015-09-10 23:23:30 +02:00
Jamie Cameron
799a0e8efd
Add forgotten stat
2015-09-01 22:03:30 -07:00
Jamie Cameron
3673c08687
Move logic for finding IMAP cache dir into a separate function, which respects /var/webmin
2015-06-27 17:36:50 -07:00
Jamie Cameron
ec4f05ec5f
Use correct permissions for MH format too
2015-03-29 18:09:18 -07:00
Jamie Cameron
7a9b4d0b2b
Use correct permissions when moving email between users http://virtualmin.com/node/36696
2015-03-29 18:07:40 -07:00
Jamie Cameron
7fd6e5f0ef
Show full IMAP response if line cannot be parsed
2015-02-17 21:51:25 -08:00
Jamie Cameron
dad6a7c3e9
Use correct permissions on source and dest folders when copying
2015-01-17 20:18:30 -08:00
Jamie Cameron
86fca5f20b
Use correct permissions for folder moves
2014-12-28 17:27:27 -08:00
Jamie Cameron
c031dfcb18
Allow nested calls to switch function, check perms when copying a folder
2014-12-27 20:26:48 -08:00
Jamie Cameron
b4fa4db0d6
Update more functions to operate as the correct user
2014-12-27 16:40:37 -08:00
Jamie Cameron
908edc961f
Modify mail safely
2014-12-15 22:44:59 -08:00
Jamie Cameron
115683ca39
Use correct permissions when writing mail
2014-12-15 22:36:57 -08:00
Jamie Cameron
b1a0f07c3a
More work on using correct permissions for folder ops
2014-12-15 22:31:04 -08:00
Jamie Cameron
152ce12fc3
Use folder permissions for opendir
2014-12-14 11:33:33 -08:00
Jamie Cameron
c250754496
Start of work on reading mail folders with permissions of the owner
2014-12-14 11:04:55 -08:00
Jamie Cameron
64a79b77cb
Functions for safely reading and writing mail files
2014-12-13 19:58:49 -08:00
Jamie Cameron
9b73db8417
Maildir folder size should only include actual mail sub-dirs https://sourceforge.net/p/webadmin/bugs/4488/
2014-10-16 09:53:17 -07:00
Jamie Cameron
91a25500c0
Basic read-only support for MBX format folders
2014-08-19 12:48:41 -07:00
Jamie Cameron
7a242198ea
Work on MBX format folders
2014-08-18 22:00:04 -07:00
Jamie Cameron
c3b476322a
Fix double filename
2014-07-02 22:18:19 -07:00
Jamie Cameron
9d830ae725
Use correct charset when replying
2014-02-27 23:49:28 -08:00
Jamie Cameron
c939863c3a
Remove useless regexp parts
2014-01-01 20:55:06 -08:00
Jamie Cameron
ce03078af8
Ignore dovecot.mailbox.* files as folders https://sourceforge.net/p/webadmin/bugs/4337/
2013-12-31 22:39:02 -08:00