[rt-users] Headers

Christian Schwarz, UNIX-Admin sysadmin at ff-muenchen.de
Fri Sep 29 05:48:09 EDT 2000


On Fri, 29 Sep 2000, Vincent - D. Ertner wrote:

> Hi rt-users,
> 
> is there any way, to keep RT from displaying the mail headers in
> mails and the web interface?

In file lib/rt/ui/web/manipulate.pm you have to change the line

&rt::ui::web::print_transaction('all','received',$rt::req[$serial_num]{'t
rans'}[$temp]{'content'});

into

&rt::ui::web::print_transaction('^(date|from|to|cc)$','received',$rt::req
[$serial_num]{'trans'}[$temp]{'content'});

With this patch, you'll only see the header fields date, from, to, cc.  If
you need more, just add them to the list...


Hope this helps,

Chris

--
Christian Schwarz, F&F UNIX/Linux System Administrator
F&F Computer Anwendungen        Tel: 089/51727-0
und Unternehmensberatung GmbH   Fax: 089/51727-111
Westendstr. 195                 Mail:C.Schwarz at ff-muenchen.de
D-80686 Muenchen                http://www.ff-muenchen.de





More information about the rt-users mailing list