User Tools

Site Tools


doc:appunti:linux:sa:sieve_filtering_tnef

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
doc:appunti:linux:sa:sieve_filtering_tnef [2021/05/24 12:46] – [Installing the tnef-filter script] niccolodoc:appunti:linux:sa:sieve_filtering_tnef [2021/05/24 12:54] – [Installing the tnef-filter script] niccolo
Line 6: Line 6:
  
 The original TNEF attachment is retained, so **the size of the email is roughly doubled**. The original TNEF attachment is retained, so **the size of the email is roughly doubled**.
 +
 +===== Reference installation =====
 +
 +I'm running a mail server based on **Debian 10 Buster**, the IMAP, POP3 and LDA services are provided by **Dovecot**. The Local Delivery Agent have the **Sieve** filtering enabled. You can read the configuration details in this article: **[[postfix_spamassassin_clamav_dovecot#sieve_filtering|Sieve filtering with Dovecot]]**.
  
 ===== Installing the tnef-filter script ===== ===== Installing the tnef-filter script =====
  
-First of all we need a mail filter program which does all the magic.+First of all we need a mail filter program which does all the magic. It will receive the mail message as standard input and it will produce the //converted// message to the standard output.
  
-You can download **tnef-filter** script provided by **Graham Edgecombe**, from his **[[https://github.com/grahamedgecombe/tnef-filter|GitHub repository]]**. On my Debian 10 Buster installationthat requied the following libraries:+You can download the **tnef-filter** script written by **Graham Edgecombe**, from his **[[https://github.com/grahamedgecombe/tnef-filter|GitHub repository]]**. I copied the binary script into **/usr/local/bin/tnef-filter**. 
 + 
 +Running the script on my Debian 10 Buster server, requied the following libraries:
  
 <code> <code>
 apt-get install libconvert-tnef-perl libfile-mmagic-perl libmime-tools-perl apt-get install libconvert-tnef-perl libfile-mmagic-perl libmime-tools-perl
 </code> </code>
- 
-I copied the binary script into **/usr/local/bin/tnef-filter**. 
  
 ===== The Sieve filter ===== ===== The Sieve filter =====
doc/appunti/linux/sa/sieve_filtering_tnef.txt · Last modified: 2021/05/24 13:03 by niccolo