Hi guys,

I'm using OTRS 2.1,

I'm trying to make an incoming mail filter to automatically associate the email 
with a customer_user record,

I've been able to trace the execution of the module I made and it seems to work 
correctly, setting the "X-OTRS-CustomerNo" header field to the right value.

But the flag does not appear in the raw mail display in Otrs, and of course the 
mail is not associated with the correct record.

So here are my questions :

- Do the modified fields appear in the raw mail displayed in Otrs ?

- The module creating the ticket upon arrival of an email does a lookup into 
the customer_user table, based on the "From" field, I'm wondering if this is 
not what erases my own X-OTRS-CustomerNo setting, is my feeling right, or do I 
miss something else ?

Thanks for any idea you may have,

best regards

Jean-Michel

PS :
Here is what I added in my Kernel/Config.pm

    $Self->{'PostMaster::PreFilterModule'}->{'myfilter'} = {

        Module => 'mytools::Modules::Filter::myfilter',
        Match => {
        },
        Set => {
        },

    };

I wrote the myfilter module, which updates X-OTRS-CustomerNo according to some 
data found into the email, that's why there is neither Match nor Set data.







________ Information NOD32 ________
Ce message a ete verifie par NOD32 pour serveur de mail Linux.
This message has been checked by NOD32 for Linux mail server.
http://www.nod32.lu
_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
Support orr consulting for your OTRS system?
=> http://www.otrs.com/

Reply via email to