4

Is there a way to process email upon arrival. I've tried Mailbox Alert in Thunderbird, the add-in executes the script although as far as I know the message (the content of the email) is not given to the stdin.

EDIT: since more info was wanted

I wrote a script, let's call it script.sh that can be executed with /bin/bash.

The script expects as input the content of the email (text or html), and processes it (for instance performing grep on it and storing the results in another file).

6
  • Can this be more explained? Thank you. Dec 30, 2013 at 1:47
  • Do you want to process using a script. Are you interested in CLI program?
    – totti
    Dec 30, 2013 at 8:35
  • 1
    How are the emails being retrieved? Aliases can be used to do exactly what you describe for postfix, but I'm not 100% sure how that works with Thunderbird.
    – Ross
    Dec 31, 2013 at 18:23
  • can you give your script? Jan 1, 2014 at 6:22
  • Do you want to process message body ?. Subject, sender, size etc can be passed to the script by thunder bird.
    – totti
    Jan 2, 2014 at 14:10

1 Answer 1

2

You can try addon named FiltaQuilla which in theory allows you to execute an external command during message filtering.

2
  • It's outdated add-on though. May 15, 2014 at 21:04
  • I haven't tried it, but it seems they are working on it again. The latest version is compatible with TB 78.
    – Binarus
    Feb 9, 2021 at 19:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .