
Hi Mike,
2008/10/1 Mike Lykov
If article has an attachment, then in this folder i see this files:
-rw-rw-r-- 1 otrs apache 306 Sep 20 12:42 file-1 -rw-rw-r-- 1 otrs apache 32 Sep 20 12:42 file-1.content_type -rw-rw-r-- 1 otrs apache 4056505 Sep 20 12:42 pasport.jpg -rw-rw-r-- 1 otrs apache 30 Sep 20 12:42 pasport.jpg.content_type -rw-rw-r-- 1 otrs apache 5502648 Sep 20 12:42 plain.txt
.content-type contains description about it.
file-1 is a first text/plain part of letter. pasport.jpg is an attachment in this article.
BUT why file plain.txt created in _every_ article folder? It contains all the same in original (npt parsed/decoded) form and double consumed size.
How not to create plain.txt?
This is how otrs works. If you look at tables article_attachment and article_plain, you will see this data. For example you need file plain.txt when you want to look at plain (source) email in ticket view. Bohuslav.