Project

General

Profile

Actions

Defect #16185

open

mail_handler.rb ignored email messages return 422

Added by Francois Conil about 10 years ago. Updated over 5 years ago.

Status:
Needs feedback
Priority:
Normal
Category:
Email receiving
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

We are currently using fetchmail to process incoming mail queues similar to the situation described at #2490

When mail_handler.rb process an out of office or similar auto-submitted message, it returns false
This in turn generates an error 422, which make rdm-mailhandler.rb returns an error code 77 to fetchmail.
Fetchmail keeps reprocessing the email instead of skipping it because of this particular error message.

Is mail_handler.rb behaviour when it comes to ignored emails by design or should we return "true" when a message is successfully ignored?

Actions

Also available in: Atom PDF