Mail listening : how to check user emails from 'from' field

Moderator: crythias

Locked
Otabutin
Znuny newbie
Posts: 21
Joined: 01 Aug 2011, 14:16
Znuny Version: 3.0.9

Mail listening : how to check user emails from 'from' field

Post by Otabutin »

Hello,

We have configured a mail listening for ticket creation and update. It works well so far.
But when testing all mails are accepted even if I out the 'trusted' option to 'No' in my POP3 account definition.
What I try to do in version 3.0.9 is to have this :
The mail is imported as ticket or update a follow-up only if the from email corresponds to one agent / customer email encoded in the system in Agents / Customers.
Can someone give me the configuration for that ?

Not clear for the documentation of my searches how to do it.

Thanks in advance.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Mail listening : how to check user emails from 'from' fi

Post by crythias »

Agents shouldn't be sending updates via email. It's easy to spoof being an agent.

http://forums.otrs.org/viewtopic.php?f=60&t=6586 might help the other case.

"Trusted" means only that any otrs-specific headers will be accepted from that email.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Otabutin
Znuny newbie
Posts: 21
Joined: 01 Aug 2011, 14:16
Znuny Version: 3.0.9

Re: Mail listening : how to check user emails from 'from' fi

Post by Otabutin »

Hello,

Actually I would like to check especially for customers that no new incidents are automaitcally created with 'from' mails not present in the customers e-mails.
I have well found the forum topic you indicate but at modification we had an error in the postmaster.pl page when retrying to fetch a new mail.
As we want to keep an installation as standard as possible, we will not modify the newticket.pl page I think.

So I cannot do a filter telling if customer user is not found , ignore the mail ?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Mail listening : how to check user emails from 'from' fi

Post by crythias »

I'm not sure what the problem or error message you're encountering is.

There is no built-in way to ignore tickets from people who aren't in the system.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Otabutin
Znuny newbie
Posts: 21
Joined: 01 Aug 2011, 14:16
Znuny Version: 3.0.9

Re: Mail listening : how to check user emails from 'from' fi

Post by Otabutin »

Hello Crythias,

We finally manage not to continue in the processing of the page when a mail not in the system is listened.
By using the indications in :
http://forums.otrs.org/viewtopic.php?f=60&t=6586
It can be useful to re-use in the notice in the system log this parameter to know which email has been refused :
GetParam{SenderEmailAddress};

Thanks for your help !
Locked