Hi Alex,

On Thu, May 22, 2003 at 05:59:57PM +0200, Alex Mihicinac wrote:

> I'm trying to get all emails into one specific queue - emails come from
> different To/Cc: addresses, because OTRS' email is subscibed to couple
> of internal mail lists.
> For example To/Cc: can be [EMAIL PROTECTED] or [EMAIL PROTECTED]
> Is it possible to make OTRS get them all in one queue? If I set two
> system addresses pointing to the same queue still don't work. Mails from
> helpdesk go to correct queue, but info mails go into Raw queue. 

This should work! Maybe there is an error (typo) in the '[EMAIL PROTECTED]' address!

> After that I've tried to use .procmailrc formail like:
> 
> :0 fhw :
> * To:[EMAIL PROTECTED]
> | formail -I "X-OTRS-Queue: CorrectQueue"
> 
> And still don't work (don't even have this tag in mail headers!?)
> 
> Any hints?

Try '^TO' instead of 'To:'. 'To:' will just work for To-line.

[man procmailrc]
    If the regular expression contains `^TO' it will be substituted by
    `(^((Original-)?(Resent-)?(To|Cc|Bcc)|(X-Envelope
    |Apparently(-Resent)?)-To):(.*[^a-zA-Z])?)', which should catch all
    destination specifications containing a specific word.
[...]

> Alex

  Martin

--
Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/
--
"Security is a process, not a product." - Bruce Schneier

_______________________________________________
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

Reply via email to