Hello there, i was having an issue where the To: header was empty on some emails and the header that had the needed email was "Envelope-To":
This was causing the ticket to be created on the Raw queue instead of the queue associated with that email address (because it didn't find anything on the To: header)
I seem to have solved it by changing line 54 of file Kernel/System/Postmaster/DestQueue.pm from:
for (qw(Cc To Resent-To)) {
to:
for (qw(Cc To Resent-To Envelope-To)) {
From some tests I've done everything seems to be working correctly but I was wondering if anybody that is more knowledgeable with OTRS and Perl in general finds any problem that this might cause?
Also I wonder why isn't this header already considered by OTRS since from what I've been reading the Envelope-To header seems to be more important than the To: header.
Thanks.