Aine
|
3f5a1cd915
|
rename local to incoming
|
2022-09-23 10:33:25 +03:00 |
|
Aine
|
d50b79a801
|
switch email address validation to mail.ParseAddress
|
2022-09-23 10:29:37 +03:00 |
|
Aine
|
5a19ffad08
|
securely compare passwords, add notice about message removal
|
2022-09-23 10:19:25 +03:00 |
|
Aine
|
1dc552686d
|
reflect smtp auth changes in radme
|
2022-09-22 18:26:56 +03:00 |
|
Aine
|
070a6ffc76
|
use postmoogle as general purpose SMTP server and allow other apps or scripts to send emails through it
|
2022-09-22 18:21:17 +03:00 |
|
Aine
|
c9c871287d
|
add read receipts and typing notifications, closes #30
|
2022-09-21 11:18:25 +03:00 |
|
Aine
|
16c577eeb2
|
update deps
|
2022-09-21 11:10:41 +03:00 |
|
Aine
|
97aacbf143
|
export MXID patterns parsing to external lib
|
2022-09-14 13:46:56 +03:00 |
|
Aine
|
14c0ebf1f1
|
fix attachments msg type parser
|
2022-09-13 18:35:19 +03:00 |
|
Aine
|
af3e23f630
|
enable starttls, fixes #29
|
2022-09-13 18:28:36 +03:00 |
|
Aine
|
691bf31dff
|
fix access denied on !pm send
|
2022-09-13 17:29:49 +03:00 |
|
Aine
|
76bffd931c
|
correctly handle attachments mimetype and set proper msgtype, fixes #27
|
2022-09-13 17:21:00 +03:00 |
|
Aine
|
7e92c023c8
|
do not parse inlines, fixes #28
|
2022-09-13 16:57:17 +03:00 |
|
Aine
|
08aa23b397
|
fix Message-Id, fixes #20
|
2022-09-08 14:08:17 +03:00 |
|
Aine
|
613767a86d
|
update POSTMOOGLE_TLS_REQUIRED comment
|
2022-09-08 11:49:59 +03:00 |
|
Aine
|
eb88b74ff7
|
remove close() on error
|
2022-09-08 11:44:49 +03:00 |
|
Aine
|
9a121b6ed5
|
try to send emails over TLS first
|
2022-09-08 09:52:58 +03:00 |
|
Aine
|
daeb72aa58
|
add TL;DR DNS config
|
2022-09-08 09:36:33 +03:00 |
|
Aine
|
a608fffea8
|
!pm dkim reset; switch DKIM algo to RSA
|
2022-09-08 09:31:09 +03:00 |
|
Aine
|
31a1399736
|
fix dkim signature (domain), fixes #21
|
2022-09-08 00:11:10 +03:00 |
|
Aine
|
40f2ec9492
|
fix command parsing
|
2022-09-07 23:51:37 +03:00 |
|
Aine
|
59ed33638b
|
Secure SMTP listener
|
2022-09-07 21:29:52 +03:00 |
|
Aine
|
715ec1ef2a
|
fix #19
|
2022-09-07 20:24:49 +03:00 |
|
Aine
|
d5676ecc07
|
replace DOMAIN to example.com in readme
|
2022-09-06 22:55:08 +03:00 |
|
Aine
|
78210e6487
|
update utils.RelatesTo and utils.EventParent comments
|
2022-09-06 22:52:40 +03:00 |
|
Aine
|
86890c1f89
|
refactor email.Compose()
|
2022-09-06 22:48:37 +03:00 |
|
Aine
|
4d01579505
|
move email sending to b.runSend()
|
2022-09-06 22:43:04 +03:00 |
|
Aine
|
db135c0cb1
|
deconstruct getSubject and getBody
|
2022-09-06 22:34:21 +03:00 |
|
Aine
|
bbb6bec35f
|
update SetMTA comment
|
2022-09-06 22:21:23 +03:00 |
|
Aine
|
5945ddc8a0
|
rename internal thigs of smtp/
|
2022-09-06 22:16:28 +03:00 |
|
Aine
|
2b5095b0b2
|
add note about interface
|
2022-09-06 22:03:10 +03:00 |
|
Aine
|
af1b664274
|
cache empty settings
|
2022-09-06 22:02:21 +03:00 |
|
Aine
|
17c8d06a33
|
disable insecure auth
|
2022-09-06 18:51:46 +03:00 |
|
Aine
|
085cdf5dbf
|
refactor email2content
|
2022-09-06 18:39:35 +03:00 |
|
Aine
|
1f896d1b26
|
add note about MX record
|
2022-09-06 16:46:14 +03:00 |
|
Aine
|
7d435f7ba8
|
move email composing to utils
|
2022-09-05 20:38:58 +03:00 |
|
Aine
|
2427d41ae3
|
move parsing of !pm send to utils, update !pm send instructions
|
2022-09-05 20:10:07 +03:00 |
|
Aine
|
e4c425fb2e
|
update readme
|
2022-09-05 18:00:09 +03:00 |
|
Aine
|
41f3ad947e
|
fix readme
|
2022-09-05 17:02:45 +03:00 |
|
Aine
|
12a2d4c6f9
|
dkim
|
2022-09-05 17:02:00 +03:00 |
|
Aine
|
fda0d62087
|
send emails
|
2022-09-04 22:09:53 +03:00 |
|
Aine
|
ab95fe5d2d
|
refactor to fmt.Sprintf()
|
2022-08-31 10:39:30 +03:00 |
|
Aine
|
104e948b9c
|
remove migrations
|
2022-08-31 10:33:13 +03:00 |
|
Aine
|
bf970fc699
|
remove duplications in utils.Mailbox
|
2022-08-31 10:24:17 +03:00 |
|
Aine
|
233d212143
|
fix botSettings.Users()
|
2022-08-30 18:35:10 +03:00 |
|
Aine
|
84b1900dbb
|
adjust initBotUsers()
|
2022-08-30 18:29:16 +03:00 |
|
Aine
|
0c74ae02fb
|
fix one value
|
2022-08-30 16:13:10 +03:00 |
|
Aine
|
cec2761911
|
users adjustments
|
2022-08-30 15:43:06 +03:00 |
|
Aine
|
ea1ef9da7f
|
!pm users changes
|
2022-08-30 15:00:34 +03:00 |
|
Aine
|
00b84fba0e
|
cache even unexisting bot settings
|
2022-08-30 14:47:16 +03:00 |
|
Aine
|
9f66d1fee6
|
rename options, rename settings types
|
2022-08-30 14:45:07 +03:00 |
|
Aine
|
627e090afd
|
rename account data keys, rearrange code
|
2022-08-30 14:42:07 +03:00 |
|
Aine
|
5ed3a53223
|
diff bot and room settings
|
2022-08-30 14:37:19 +03:00 |
|
Aine
|
f97ebb604a
|
manage users in runtime, closes #16
|
2022-08-29 21:41:14 +03:00 |
|
Aine
|
0ba951fbe6
|
set default POSTMOOGLE_USERS pattern
|
2022-08-29 20:56:28 +03:00 |
|
Aine
|
74e7fa5f3b
|
update README, closes #11
|
2022-08-29 20:40:52 +03:00 |
|
Aine
|
89d5ec8a91
|
adjust !pm mailboxes, relates to #15
|
2022-08-29 20:31:25 +03:00 |
|
Aine
|
e0bd71717c
|
remove NOOWNER, closes #14
|
2022-08-29 20:21:37 +03:00 |
|
Aine
|
ba73b5a97c
|
add !pm delete, closes #13
|
2022-08-29 20:18:25 +03:00 |
|
Aine
|
505a1b42d7
|
removed federation, closes #12
|
2022-08-29 19:58:54 +03:00 |
|
Aine
|
e52de55e1a
|
update readme
|
2022-08-29 17:47:04 +03:00 |
|
Aine
|
064346eef9
|
Merge branch 'main' into admin-support
|
2022-08-29 15:48:10 +03:00 |
|
Aine
|
5a5a649cba
|
add cache
|
2022-08-29 15:28:37 +03:00 |
|
Aine
|
1a87929567
|
rename files; show commands by access level
|
2022-08-29 15:19:07 +03:00 |
|
Aine
|
6623251695
|
refactored
|
2022-08-29 12:30:43 +03:00 |
|
Aine
|
bd14987561
|
move settings.Allowed() to bot.Allowed()
|
2022-08-28 18:36:01 +03:00 |
|
Aine
|
3174b21aec
|
[skip ci] update readme
|
2022-08-28 17:35:53 +03:00 |
|
Aine
|
a150ada5c4
|
[skip ci] update readme
|
2022-08-28 17:35:15 +03:00 |
|
Aine
|
67fbc98c01
|
[skip ci] update readme
|
2022-08-28 17:34:02 +03:00 |
|
Aine
|
0e33107a4a
|
add usage section in readme
|
2022-08-28 17:18:22 +03:00 |
|
Aine
|
9b1eb161e7
|
remove debug
|
2022-08-28 09:37:32 +03:00 |
|
Aine
|
13776ad7a6
|
properly update mailbox, fixes #9
|
2022-08-28 09:37:18 +03:00 |
|
Aine
|
6eae1a65c4
|
add utils.UnwrapError() to provide meaningful error messages
|
2022-08-27 22:38:23 +03:00 |
|
Aine
|
d1c48b9b31
|
add per-room mutex, possibly fixes #8
|
2022-08-27 22:10:22 +03:00 |
|
Aine
|
53bc5e6d59
|
proposed changes
|
2022-08-27 21:59:58 +03:00 |
|
Aine
|
9484758f33
|
optimize introductions and help, kupo
|
2022-08-26 23:19:59 +03:00 |
|
Aine
|
f2d81495dc
|
refactor Send(), fixes #6
|
2022-08-26 23:06:20 +03:00 |
|
Aine
|
4000b39480
|
add custom status message
|
2022-08-26 16:40:43 +03:00 |
|
Aine
|
2da1aacc7a
|
automatically remove mailboxes in empty rooms, fixes #3
|
2022-08-26 16:22:44 +03:00 |
|
Aine
|
2dcba843cc
|
add 'nofiles' option, refactored bot.Send(); fixes #2
|
2022-08-26 16:11:08 +03:00 |
|
Aine
|
42c9e15619
|
add 'nothreads' option, fixes #4
|
2022-08-26 16:00:37 +03:00 |
|
Aine
|
41a52c1eca
|
add 'nohtml' option, fixes #5
|
2022-08-26 15:56:25 +03:00 |
|
Aine
|
0a5bc5d989
|
refactor rooms/roomsmu to sync.Map
|
2022-08-25 22:38:45 +03:00 |
|
Aine
|
b0c274491f
|
refactor to context, remove sentry spans
|
2022-08-25 22:31:12 +03:00 |
|
Aine
|
331c2a8d5e
|
strip <style> in html emails
|
2022-08-25 21:27:00 +03:00 |
|
Aine
|
f9cf94c914
|
threads
|
2022-08-24 21:28:30 +03:00 |
|
Aine
|
d021e6715e
|
Revert "visual fixes"
This reverts commit 34735b2614.
|
2022-08-24 12:09:23 +03:00 |
|
Aine
|
34735b2614
|
visual fixes
|
2022-08-24 12:02:41 +03:00 |
|
Aine
|
d361e31a60
|
adjust stop's help message
|
2022-08-24 09:57:22 +03:00 |
|
Aine
|
76457f8e3c
|
add '!pm stop'
|
2022-08-24 09:38:13 +03:00 |
|
Aine
|
85fc06cfce
|
lint; rearrange code
|
2022-08-23 22:12:11 +03:00 |
|
Aine
|
e5e9be528b
|
refactor options to be more generic
|
2022-08-23 21:58:05 +03:00 |
|
Aine
|
9eec8738f9
|
move syncRooms
|
2022-08-23 19:25:45 +03:00 |
|
Aine
|
81abe8c785
|
unoptimal refactoring
|
2022-08-23 19:23:15 +03:00 |
|
Aine
|
609e19c133
|
Merge branch 'main' into hide-sender-address-support
|
2022-08-23 18:58:40 +03:00 |
|
Aine
|
0178c3cff3
|
do not convert plaintext as html
|
2022-08-23 18:11:38 +03:00 |
|
Aine
|
24686ef501
|
lint fixes
|
2022-08-23 17:56:38 +03:00 |
|
Aine
|
518ec97160
|
lint fix
|
2022-08-23 17:54:01 +03:00 |
|
Aine
|
c71c876e69
|
update deps
|
2022-08-23 15:45:40 +03:00 |
|
Aine
|
d6c9e2c048
|
enable multi-arch build
|
2022-08-23 14:33:37 +03:00 |
|