auto reject email tickets based on email adresses

Moderator: crythias

Locked
kenmurimi
Znuny newbie
Posts: 87
Joined: 24 May 2010, 10:21
Znuny Version: 2.4.7

auto reject email tickets based on email adresses

Post by kenmurimi »

Hi all,

i am trying to have emails from an email address not for a customer in the customers database rejected. this is because i don't want people who don't have accounts at the helpdesk raising tickets.

I am thinking of using the config option:

B.2.3.21. PostMaster::PreFilterModule###3-NewTicketReject

$Self->{'PostMaster::PreFilterModule'}->{'3-NewTicketReject'} = {
'Match' => {
'From' => '@example.com'
},
'Set' => {
'X-OTRS-Ignore' => 'yes'
},
'Module' => 'Kernel::System::PostMaster::Filter::NewTicketReject'
};

then editing it so that now it checks if the sender email address in an email address in the customers database.

I don't know if this is possible.

any help greatly appreciate.
sorry for my bad English
OTRS 2.4.7 on SUSE and on MySQL database
OTRS 3.2.10 on CentOS and MySQL database
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: auto reject email tickets based on email adresses

Post by crythias »

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
Locked