Adrià Casajús
44e0dd8635
Break using an alias as a mailbox loop in the email_handler.py ( #1624 )
...
* Do not allow to use email alias as account email when linking
* Add missing status
* Remove TODO
* Also break contact as email loop
* Better test names
* Allow a reverse alias to send an email to an alias
* Ident fix
* Removed invalid test
---------
Co-authored-by: Adrià Casajús <adria.casajus@proton.ch>
2023-03-13 13:01:00 +01:00
Son Nguyen Kim
cea139b7d5
Improve handling when pgp key is invalid ( #1264 )
...
* remove unused email statuses
* add more logging
* use text_header if html_header not set
* improve email
* add a header about PGP failure when forward emails can't be encrypted
* remove unused email status
2022-09-02 11:47:04 +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
517bcb632e
MR changes
2022-03-22 17:02:59 +01:00
Son
fa2f83dbf4
fix and refactor
2022-03-16 10:24:59 +01:00
Son
9c696bd038
ignore VERPReply
2022-01-09 20:35:57 +01:00
Son
01ba5e8bf0
return 5** if CannotCreateContactForReverseAlias
2022-01-08 00:16:16 +01:00
Son
385dd1e755
handle out-of-office email in addition to bounce
2022-01-05 15:30:44 +01:00
Son
ffc621596a
fix is_automatic_out_of_office: only use "Auto-Submitted" header
2022-01-05 15:21:54 +01:00
Son
879b364a47
return 421 to retry when SMTPRecipientsRefused error
2021-12-23 18:17:29 +01:00
Son
790f0ed23c
return 250 status when handling bounces
2021-11-13 11:21:19 +01:00
Son Nguyen Kim
3b16e502b3
add debug info when an email is sent from reverse-alias
2021-09-22 09:58:40 +02:00
Son Nguyen Kim
106358da5f
handle yahoo complaint
2021-09-13 19:49:40 +02:00
Son Nguyen Kim
6e42e536db
ignore email sent from a mailbox to its alias if user.ignore_loop_email
2021-09-10 18:15:22 +02:00
Son Nguyen Kim
b53da25a41
handle hotmail complaint
2021-09-06 19:44:18 +02:00
Son Nguyen Kim
fb29503b81
do not send bounce to IgnoreBounceSender
2021-08-02 11:33:58 +02:00
Son NK
6532e0de93
Return 550 instead of 421 when rate limited. Rename greylisting to rate limit
2021-06-24 09:47:01 +02:00
Son NK
70b51b5002
return 550 instead of 421 in case of SMTPRecipientsRefused
2021-06-23 19:50:42 +02:00
Son NK
6fa267e92b
refactor: put all SMTP statuses into status.py
2021-06-23 19:47:06 +02:00