deltachat-bot / echo

An echo bot in multiple languages to get you started
The Unlicense
15 stars 3 forks source link

rust example #6

Closed Simon-Laux closed 4 years ago

Simon-Laux commented 4 years ago

I'm open for suggestions on code improvements.

closes #1

link2xt commented 4 years ago

Maybe we should introduce API to set and check "Auto-Submitted" headers on messages. Two echo bots can easily get stuck in infinite loop if they receive an email with a forged "From" field.

hpk42 commented 4 years ago

On Wed, Feb 19, 2020 at 11:23 -0800, Alexander Krotov wrote:

Maybe we should introduce API to set and check "Auto-Submitted" headers on messages. Two echo bots can easily get stuck in infinite loop if they receive an email with a forged "From" field.

Yes, a "auto_submitted_header = 0|1" config setting, defaulting to 0. @link2xt could you create a core issue as i guess you have the RFC handy?

link2xt commented 4 years ago

@link2xt could you create a core issue as i guess you have the RFC handy?

https://github.com/deltachat/deltachat-core-rust/issues/1301