HOW REJECT MAIL WITH SUBJECT IN WHITE

Moderator: crythias

Post Reply
klausneil
Znuny superhero
Posts: 682
Joined: 29 May 2012, 22:47
Znuny Version: 6.0.24
Real Name: Klaus Salazar
Location: Perú

HOW REJECT MAIL WITH SUBJECT IN WHITE

Post by klausneil »

Hi, can someone help, i need reject the mail with subject in white and send a email with a notification, thanks i wait for help.
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: HOW REJECT MAIL WITH SUBJECT IN WHITE

Post by reneeb »

What's a "subject in white"?
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
klausneil
Znuny superhero
Posts: 682
Joined: 29 May 2012, 22:47
Znuny Version: 6.0.24
Real Name: Klaus Salazar
Location: Perú

Re: HOW REJECT MAIL WITH SUBJECT IN WHITE

Post by klausneil »

when a user send email but no subject
Giulio Soleni
Znuny wizard
Posts: 392
Joined: 30 Dec 2010, 14:35
Znuny Version: 6.0.x and 5.0.x
Real Name: Giulio Soleni
Company: IKS srl

Re: HOW REJECT MAIL WITH SUBJECT IN WHITE

Post by Giulio Soleni »

use Postmaster Filter: select all emails with
Condition:
Header 1: Subject Negate [x] Value 1: .+

Set Email Headers
Header 1: X-OTRS-Ignore Value 1: true

or else if you would like the sender to receive a notification you may route all incoming emails with a blank subject to the Junk queue
Set Email Headers
Header 1: X-OTRS-Queue Value 1: Junk

and then specify an auto response of type "auto reply" with a message specifying the ticket has been rejected, and link that auto response to the Junk queue.

in the latter case the ticket is actually created in the junk queue, then you may decide to delete it.
OTRS 6.0.x on CentOS 7.x with MariaDB 10.2.x database connected to an Active Directory for Agents and Customers.
ITSM and FAQ modules installed.
klausneil
Znuny superhero
Posts: 682
Joined: 29 May 2012, 22:47
Znuny Version: 6.0.24
Real Name: Klaus Salazar
Location: Perú

Re: HOW REJECT MAIL WITH SUBJECT IN WHITE

Post by klausneil »

thanks for the help, but could you tell me if using the SysConfig --> Ticket -> Core::PostMaster -- PostMaster::PreFilterModule::NewTicketReject::Subject also in PostMaster::PreFilterModule::NewTicketReject::Body one could used to reject the action
Giulio Soleni
Znuny wizard
Posts: 392
Joined: 30 Dec 2010, 14:35
Znuny Version: 6.0.x and 5.0.x
Real Name: Giulio Soleni
Company: IKS srl

Re: HOW REJECT MAIL WITH SUBJECT IN WHITE

Post by Giulio Soleni »

Hi,
honestly I have never used SysConfig Postmaster Filters and I do not know if NewTicketReject module could work for your purposes... just give it a try...
OTRS 6.0.x on CentOS 7.x with MariaDB 10.2.x database connected to an Active Directory for Agents and Customers.
ITSM and FAQ modules installed.
klausneil
Znuny superhero
Posts: 682
Joined: 29 May 2012, 22:47
Znuny Version: 6.0.24
Real Name: Klaus Salazar
Location: Perú

Re: HOW REJECT MAIL WITH SUBJECT IN WHITE

Post by klausneil »

ok, thanks for the tips
Post Reply