Problem with email addresses configuration

Moderator: crythias

Locked
nedmaj
Znuny expert
Posts: 168
Joined: 26 Nov 2014, 20:34
Znuny Version: 6.3.4
Real Name: Samuel Casimiro
Company: Câmara dos Deputados
Contact:

Problem with email addresses configuration

Post by nedmaj »

Hi guys,

I have just one email account already configured at "Postmaster Mail Accounts". The emails are being fetched correctly. The dispatching was set to "Dispatching by email To: field".

I've also set two extra email addresses for the same mail account (alternative addresses), each one pointing to a different queue.

The problem is OTRS is always creating the tickets in the Raw queue.

Although the manual says it's not necessary when using "Dispatching by email To: field", I've also tried to set up a PostMaster Filter, but the tickets keep going to the Raw queue.

Using OTRS 4 with CentOS 6.5. Our mail server is Microsoft Exchange.

Any thoughts?
Samuel

Znuny 6.3.4 | OTRS 5.0.17
OS: Debian 11 | CentOS 6.5
Database: Postgres | Oracle 12.1
Number of agents: 450 | Number of customers: 20000 | Number of CIs: 30000
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Problem with email addresses configuration

Post by reneeb »

Do you "trust" your mail account? It's the dropdown above the "Dispatch via To:"...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
nedmaj
Znuny expert
Posts: 168
Joined: 26 Nov 2014, 20:34
Znuny Version: 6.3.4
Real Name: Samuel Casimiro
Company: Câmara dos Deputados
Contact:

Re: Problem with email addresses configuration

Post by nedmaj »

reneeb wrote:Do you "trust" your mail account? It's the dropdown above the "Dispatch via To:"...
No, I don't. Checked the email headers and all seems all right. The "To" field holds the alternative email address. But the queue assignment works when I use the main address.
Samuel

Znuny 6.3.4 | OTRS 5.0.17
OS: Debian 11 | CentOS 6.5
Database: Postgres | Oracle 12.1
Number of agents: 450 | Number of customers: 20000 | Number of CIs: 30000
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Problem with email addresses configuration

Post by reneeb »

Did you configure the two additional recipient addresses as system addresses? There you can link the queue to the mail address...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
nedmaj
Znuny expert
Posts: 168
Joined: 26 Nov 2014, 20:34
Znuny Version: 6.3.4
Real Name: Samuel Casimiro
Company: Câmara dos Deputados
Contact:

Re: Problem with email addresses configuration

Post by nedmaj »

reneeb wrote:Did you configure the two additional recipient addresses as system addresses? There you can link the queue to the mail address...
Yes, I did.
Samuel

Znuny 6.3.4 | OTRS 5.0.17
OS: Debian 11 | CentOS 6.5
Database: Postgres | Oracle 12.1
Number of agents: 450 | Number of customers: 20000 | Number of CIs: 30000
nedmaj
Znuny expert
Posts: 168
Joined: 26 Nov 2014, 20:34
Znuny Version: 6.3.4
Real Name: Samuel Casimiro
Company: Câmara dos Deputados
Contact:

Re: Problem with email addresses configuration

Post by nedmaj »

Looks like the problem has to do with how Exchange retains the alias address in the To field:

https://social.technet.microsoft.com/Fo ... change2010
Samuel

Znuny 6.3.4 | OTRS 5.0.17
OS: Debian 11 | CentOS 6.5
Database: Postgres | Oracle 12.1
Number of agents: 450 | Number of customers: 20000 | Number of CIs: 30000
nedmaj
Znuny expert
Posts: 168
Joined: 26 Nov 2014, 20:34
Znuny Version: 6.3.4
Real Name: Samuel Casimiro
Company: Câmara dos Deputados
Contact:

Re: Problem with email addresses configuration

Post by nedmaj »

When I send a mail from my Gmail account, the filter works. But when I use Outlook (corporate email client), the filter doesn't work. Looks like the client is somehow messing with the "To" field.
Samuel

Znuny 6.3.4 | OTRS 5.0.17
OS: Debian 11 | CentOS 6.5
Database: Postgres | Oracle 12.1
Number of agents: 450 | Number of customers: 20000 | Number of CIs: 30000
nedmaj
Znuny expert
Posts: 168
Joined: 26 Nov 2014, 20:34
Znuny Version: 6.3.4
Real Name: Samuel Casimiro
Company: Câmara dos Deputados
Contact:

Re: Problem with email addresses configuration

Post by nedmaj »

Hi guys,

We've discovered OTRS has a bug in the way it parses the email address from the message header fields. Looks like has something to do with some limitations of the Mail::Address perl library (this library is not fully RFC822 compliant). We are doing some tests after changing the account name to a simpler name (ex.: sistema-itsm.cenin => Sistema ITSM).
Samuel

Znuny 6.3.4 | OTRS 5.0.17
OS: Debian 11 | CentOS 6.5
Database: Postgres | Oracle 12.1
Number of agents: 450 | Number of customers: 20000 | Number of CIs: 30000
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Problem with email addresses configuration

Post by reneeb »

Can you post the original header lines? This would help to improve the modules...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
nedmaj
Znuny expert
Posts: 168
Joined: 26 Nov 2014, 20:34
Znuny Version: 6.3.4
Real Name: Samuel Casimiro
Company: Câmara dos Deputados
Contact:

Re: Problem with email addresses configuration

Post by nedmaj »

After several tests, it turns back to be a problem with Exchange/Outlook (Microsoft s****!), with no solution at all. Because of this, it's impossible to use queue dispatching based on To field.

Sorry bother you guys!
Samuel

Znuny 6.3.4 | OTRS 5.0.17
OS: Debian 11 | CentOS 6.5
Database: Postgres | Oracle 12.1
Number of agents: 450 | Number of customers: 20000 | Number of CIs: 30000
wurzel
Znuny guru
Posts: 3273
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Problem with email addresses configuration

Post by wurzel »

Hi,

:) local Exchange/Outlook is sometimes not using RFC conform headers if sent locally. (same with Lotus)


you need to use other filter criteria for filtering your mails.


Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
Locked