Reject Mail that is lacking information and notify sender

Moderator: crythias

Locked
tarnalcock
Znuny newbie
Posts: 23
Joined: 26 Nov 2013, 10:50
Znuny Version: 3.3.1
Real Name: Tarn
Company: Guccio Computer Consulting

Reject Mail that is lacking information and notify sender

Post by tarnalcock »

Hi All,

I would like to automatically reject any mail that doesn't
  • Contain a subject line OR has a certain subject line (like "FW:")
  • Contain any text in the body

I assume that a postmaster filter would be the first step.

I see I can set the header to XOTRS-ignore but I have tested with this and it does not send a notification and it also seems to deal with any part of the subject containing the reject words. i.e. if I am rejecting the word "FIVE" and the customer just has "FIVE" in the subject line then this should be rejected, BUT if they have "FIVE ANY OTHER WORDS" then this is valid and should not be rejected.

Could you please suggest a good way to go about this?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Reject Mail that is lacking information and notify sender

Post by crythias »

Ignore means ignore, and that's silent do nothing.

To "properly" reject isn't a default option, though *a* way of handling this type of thing is to filter to a Junk queue with an autoresponse. Then use Generic Agent to delete the tickets periodically. In this way, you can use Junk to review/move tickets to valid queues, or move from valid queues to Junk.
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
tarnalcock
Znuny newbie
Posts: 23
Joined: 26 Nov 2013, 10:50
Znuny Version: 3.3.1
Real Name: Tarn
Company: Guccio Computer Consulting

Re: Reject Mail that is lacking information and notify sender

Post by tarnalcock »

Thank you crythias that sounds like a perfectly reasonable solution. I will try it.
Locked