Hi Leonid,

 

thanks for your help et your work.

it's exactly what i hope because there is no administration to do.

 

thanks

xavier

 

 

 

De : otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] De la part de lm1024@gmail.com
Envoyé : jeudi 17 décembre 2009 14:56
À : User questions and discussions about OTRS.
Objet : Re: [otrs] accept incoming email from customer only

 

 

2009/12/13 Xavier VALLERIE <xvallerie@wd-consulting.fr>

Someone can help me to resolve this functionality.

I search in archive but don't find anything to help me.

I want accept email from customer only in queue "support"  and send other request to the queue "commerce".

 



I have written the filter.
Can will useful.

Look attached
$OTRS_HOME/Kernel/System/PostMaster/Filter/NotCustomer.pm


In a file $OTRS_HOME/Kernel/Config.pm to add:

    $Self->{'PostMaster::PreFilterModule'}->{'NotCustomerFilter'} = {
        Module => 'Kernel::System::PostMaster::Filter::NotCustomer',
        Set => {
            'X-OTRS-Queue' => 'Hotline::Junk',
        },
    };

Regard,
Leonid