Commit graph

677 commits

Author SHA1 Message Date
Son
215561dec1 fix test 2022-03-30 20:54:42 +07:00
Son
1b5521efcf use red color for warning 2022-03-30 19:48:07 +07:00
Son
67c2c6afad add warning to email content when dmarc softfail 2022-03-30 19:48:07 +07:00
Adrià Casajús
83fc8964a8
PR comments 2022-03-30 09:53:35 +02:00
Adrià Casajús
ac9b88f87d
Add no header test 2022-03-29 15:59:35 +02:00
Adrià Casajús
085c166cb2
Replace 5XX with 2XX for return path that fail SPF check 2022-03-29 15:09:10 +02:00
Adrià Casajús
7d36256b7c
Check return-path spf record before bouncing a message 2022-03-29 10:52:11 +02:00
Son
b0023981af change log 2022-03-25 18:28:31 +01:00
Son
4dbe22d856 do not put soft_fail email into quarantine for now 2022-03-25 18:04:53 +01:00
Son
0d7d56c0ea send email when an email is put to quarantine 2022-03-25 18:02:17 +01:00
Son
159d30820e change N/A to unknown to avoid confusion 2022-03-25 18:00:49 +01:00
Son
75da6d7027 fix 2022-03-25 16:49:49 +01:00
Son
334365e853 Merge branch 'master' into fix/dmarc
# Conflicts:
#	email_handler.py
2022-03-25 16:24:12 +01:00
Son
17d9190309 log envelope mail_from and header_from when dmarc fail 2022-03-25 16:20:30 +01:00
Son
63b1100a8b log event when there's no dmarc result 2022-03-25 16:19:11 +01:00
Adrià Casajús
e5fa90cf04
Rename newrelic dmarc event 2022-03-24 12:51:58 +01:00
Son
37de10e54c fix dmarc_result can be None 2022-03-23 08:34:25 +01:00
Son
cb92f1efea log when an email fails dmarc 2022-03-22 18:54:45 +01:00
Adrià Casajús
517bcb632e
MR changes 2022-03-22 17:02:59 +01:00
Adrià Casajús
93b06fe30c
Keep original From 2022-03-21 19:05:15 +01:00
Adrià Casajús
1b2d504b3b
Send a notification to the user when a message has been quarantined 2022-03-21 18:33:18 +01:00
Adrià Casajús
45459d65be
PR comments 2022-03-21 17:43:26 +01:00
Adrià Casajús
16275620ae
Also quarantine soft_fail dmarc results 2022-03-21 17:38:41 +01:00
Adrià Casajús
9930433d21
Use custom event 2022-03-21 12:14:51 +01:00
Adrià Casajús
06a1363e92
Updated MR comments 2022-03-21 12:03:11 +01:00
Adrià Casajús
44dd06fabf
Added spoofed email test 2022-03-21 10:43:18 +01:00
Son
7f4357a329 log headers 2022-03-16 10:25:28 +01:00
Son
cd693eda69 avoid backscatter issue when unauthorized emails are sent to reverse alias 2022-03-16 09:06:49 +01:00
Son
93009158a8 fix 2022-03-16 09:05:57 +01:00
Son
5127534a00 add more logging 2022-03-11 08:56:27 +01:00
Son
ed12e47077 reduce nb of commit 2022-03-10 08:33:26 +01:00
Son
fb00c18d5a create a notification when an alias is disabled 2022-03-09 17:59:02 +01:00
Son
b6b917eba8 add more log 2022-03-08 18:35:18 +01:00
Son
b711743d6e fix 2022-03-08 10:31:20 +01:00
Son
89218fab7f fix "local variable 'alias_id' referenced before assignment" 2022-03-08 10:30:29 +01:00
Son
350f498b94 lessen alias automatic disable check 2022-03-07 15:50:58 +01:00
Son
99dc45e09a refactor 2022-03-07 15:45:36 +01:00
Son
71136669e9 return the block reason in should_disable() 2022-03-07 15:44:27 +01:00
Son
6c8d4310e5 only set the X-SimpleLogin-Envelope-From header if user has this option enabled 2022-02-25 12:24:54 +01:00
Son Nguyen Kim
7d008228e3
Merge pull request #811 from cquintana92/feature/ignore-or-reject-for-blocked-contacts
Allow to configure ignore or reject response for blocked contacts
2022-02-21 15:55:48 +01:00
Carlos Quintana
ee9170bb17
Allow to configure ignore or reject response for blocked contacts 2022-02-21 12:52:21 +01:00
Adrià Casajús
33163660f7
PR comments 2022-02-21 12:30:26 +01:00
Adrià Casajús
b069f81920
Reply only once per user even if they send it from any mailbox 2022-02-17 14:33:04 +01:00
Adrià Casajús
1b525a55a5
Add debug message 2022-02-16 18:39:18 +01:00
Adrià Casajús
15ce7b00d8
Reply to noreply@... once per user 2022-02-16 18:38:31 +01:00
Son
78c14fa67e create notification for bounce email during reply phase 2022-01-24 16:13:45 +01:00
Son
90fa4abf69 create a notification for a bounce email 2022-01-24 16:10:36 +01:00
Son
efdb0a60d3 no need to raise error if email processing takes more than 60s 2022-01-17 14:42:27 +01:00
Son
8ff3b5ef8e ignore VERPForward error 2022-01-16 11:52:44 +01:00
Son
0e496518ba handle case alias is deleted in handle_hotmail_complaint 2022-01-16 11:47:50 +01:00