Commit Graph

106 Commits

Author SHA1 Message Date
Jamie Cameron
3d28fd96f6 Deal better with empty string real names 2019-05-03 12:42:39 -07:00
Jamie Cameron
681abfd803 Fix case where writing to a file and not switching user https://sourceforge.net/p/webadmin/usermin-bugs/464/ 2017-10-18 20:01:00 -07:00
Jamie Cameron
d2b4cf6c66 Handle case where passed filename contains mode chars 2017-07-30 18:21:23 -07: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
7de1f09c9f Use the correct var for the file handle https://github.com/webmin/webmin/issues/404 2016-07-11 02:12:34 -07:00
Jamie Cameron
8f18e8cdf4 Use formal parameters https://github.com/webmin/webmin/issues/403 2016-07-11 02:09:01 -07:00
Jamie Cameron
838f90c8d7 A regular rename coe call can fail if it crosses filesystems, so try the mv command as well http://virtualmin.com/node/37524 2015-07-28 22:08:25 -07:00
Jamie Cameron
a45f60a969 Allow callers to skip creation of mbox index files 2015-06-28 12:45:42 -07:00
Jamie Cameron
aabd5f7a4f Use /var/webmin for the maildir cache directory 2015-06-27 17:44:47 -07:00
Jamie Cameron
77795a6c40 Use /var/webmin for index files if there aren't already in /etc/webmin 2015-06-27 17:37:22 -07:00
Jamie Cameron
8f38cdac33 Users can actually have numeric names 2015-03-10 16:58:23 -07:00
Jamie Cameron
3a833870ff Fix spelling error 2015-03-08 21:52:19 -07:00
Jamie Cameron
17c63ef178 Put file handle into a package, so that all callers can use it 2015-01-12 16:37:06 -08:00
Jamie Cameron
3d18a1b9fd Add support for SSL encrypted SMTP connections 2015-01-11 10:03:02 -08:00
Jamie Cameron
69185c1df3 Use proper args in send_mail function 2015-01-09 18:25:54 -08:00
Jamie Cameron
5e2c23e0c2 When deleting from an mbox file, open the temp file with root permissions but only if it doesn't yet exist https://github.com/webmin/webmin/issues/184 2015-01-08 23:27:46 -08:00
Jamie Cameron
77600ecbcf Add function to safely delete a file 2014-12-28 21:32:23 -08:00
Jamie Cameron
3eb55ffee4 Remove debug message 2014-12-28 13:42:20 -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
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
f47eabb6ae Use faster native perl module for encoding and decoding base-64 if available 2014-08-21 13:45:48 -07:00
Jamie Cameron
a792256200 Use fast decode module if installed 2014-08-20 23:55:42 -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
eaa9814bad Split addresses by ; as well as , http://virtualmin.com/node/33664 2014-07-09 16:12:31 -07:00
Jamie Cameron
09f965aff7 Handle error with unknown charset http://virtualmin.com/node/32985 2014-04-20 10:04:04 -07:00
Jamie Cameron
9dec0fce2e UTF-8 convert from header too 2014-02-28 23:50:09 -08:00
Jamie Cameron
9d830ae725 Use correct charset when replying 2014-02-27 23:49:28 -08:00
Jamie Cameron
b2d49a4f56 More work on UTF-8 conversion 2014-02-26 16:44:24 -08:00
Jamie Cameron
d5e5f13c65 Improve detection of UTF-8 support 2014-02-26 15:48:39 -08:00
Jamie Cameron
0453ccb044 Allow HELO name to be specified https://sourceforge.net/p/webadmin/discussion/600155/thread/4a465885/ 2013-12-18 14:44:47 -08:00
Jamie Cameron
70f3d7ca7d Handle maildir-format dis under /var/spool/mail https://sourceforge.net/p/webadmin/bugs/4305/ 2013-10-08 21:29:06 -07:00
Jamie Cameron
672ef5bc62 work on mail search from filter 2013-07-23 01:16:14 -07:00
Jamie Cameron
9ea94aee66 Add function to clean index files 2013-07-10 18:47:06 +08:00
Jamie Cameron
b35e9c8130 Fix blank links 2012-07-08 22:28:58 -07:00
Jamie Cameron
b0023334aa Config option to not include hostnames in index files 2012-05-14 21:14:24 -07:00
Jamie Cameron
c2d23e2f3c Handle addresses like "robert (bob) smeg" <bob@smeg.com> 2012-05-06 21:03:19 -07:00
Jamie Cameron
cb03195227 Use consistent function to extract addresses 2011-10-14 09:01:15 -07:00
Jamie Cameron
f07bee2b28 Add function to mimeword-encode mail headers, use it when sending 2011-08-20 00:09:52 -07:00
Jamie Cameron
eabc47cf6c Add support for passing recipients to sendmail 2011-08-18 22:47:48 -07:00
Jamie Cameron
7803ab46be Fix continued line parsing 2011-04-15 16:02:00 -07:00
Jamie Cameron
de49b521b9 Fix typos 2011-02-24 10:46:16 -08:00
Jamie Cameron
35816e5cf8 More fixes for date sorting in logins list
https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3101801&group_id=17457
2010-11-02 16:37:22 -07:00
Jamie Cameron
9b0ff3c7ee Fix login at column display in user list 2010-11-02 16:26:02 -07:00
Jamie Cameron
5b39c0a48d Fix timezone parsing 2010-10-03 22:40:35 -07:00