Project

General

Profile

Gmail autoresponder spamming our tickets

Added by Maxim Krušina about 12 years ago

Any idea how to protect agains autoresponders?
Vacation responders are falling back to redmine thru email reply function.
Any idea how to fix this?
Only way now I have on my mind is some way of blacklist words...


Replies (2)

RE: Gmail autoresponder spamming our tickets - Added by Sean Farrell about 12 years ago

I was wondering if it would be an idea to look at the full headers in the emails which are triggering the unwanted response. There may be something that we can tweak to avoid an unwanted response.

Perhaps adding a "Precidence: bulk", or "Precidence: list", might avoid these automatic responses, or Auto-Submitted headers.

I can see some circumstances depending on the particular use case in which triggering an automatic response may be a good thing. In particular when a ticket has been assigned to someone, it may be important to find out when they are away on vacation.

Perhaps there might be a way to configure the headers to encourage the vacation response to be sent directly to the person who submitted the ticket, or make the last comment or change, instead of coming back to redmine.

Sean Farrell
Edinburgh

RE: Gmail autoresponder spamming our tickets - Added by Jan Niggemann (redmine.org team member) about 12 years ago

For 1.4.x, locate app/models/mail_handler.rb and add a header to this block:

  cattr_accessor :ignored_emails_headers
  @@ignored_emails_headers = {
    'X-Auto-Response-Suppress' => 'OOF',
    'Auto-Submitted' => 'auto-replied',
    'Auto-submitted' => 'auto-generated'
  }

    (1-2/2)