Restrict mail Domains

Moderator: crythias

Locked
Mahesh
Znuny newbie
Posts: 46
Joined: 13 Jan 2014, 09:42
Znuny Version: 3.1.00
Real Name: Mahesh
Company: vc

Restrict mail Domains

Post by Mahesh »

Dear All,

We have configured OTRS and using it. Its a very good tool.

Issue is any user across the world can send an email and a ticket gets generated. We receive these emails as tickets in OTRS.

So can we restrict mail domains or in other words .... Is there a possibility that only certain mail domains are allowed to create tickets ???

Thanks
Mahesh Badge
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: Restrict mail Domains

Post by reneeb »

You can create a postmaster filter. http://doc.otrs.org/3.3/en/html/adminis ... sterfilter
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
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Restrict mail Domains

Post by crythias »

Yes. 2x Postmaster Filters:
FilterA: set all tickets to X-OTRS-Ignore=1

FilterB: match domains; set X-OTRS-Ignore=0 and don't process more filters.

Or tell your mail provider to filter.
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
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: Restrict mail Domains

Post by reneeb »

In OTRS 3.3 a single postmaster filter should do the job as the negated filters were introduced...

Select "From" header, try to match the allowed domains, negate the filter, set X-OTRS-Ignore to "yes"
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
Locked