プロジェクト

全般

プロフィール

Vote #76619

未完了

MailHandler: ignoring email with Auto-Submitted:auto-generated header

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Needs feedback
優先度:
通常
担当者:
-
カテゴリ:
Email receiving_29
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
29
version_id:
0
issue_org_id:
20465
author_id:
133142
assigned_to_id:
0
comments:
4
status_id:
10
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
90
ステータス-->[Needs feedback]

説明

I think there's a little bug in the processing file "mail_handler.rb" a line 84.

It should be replaced:

     'Auto-Submitted' => / \ Aauto- (Replied | generated) /,
by
     'Auto-Submitted' => / \ ^ self (Replied | generated) /,


journals

Please describe more details.
--------------------------------------------------------------------------------
I think I've run in to the same bug with our 3.0.3 instance; mail is definitely being sent for some circumstances, but through some combination of acting through the UI and also responding via direct email replies, the log tail is showing "MailHandler: ignoring email with Auto-Submitted:auto-replied header". I've confirmed this is happening using both local sendmail and Gmail SMTP.

It seems like a workaround might go in app/models/mailer.rb to allow config/settings.yml:mail_from config to override that value to at least allow users to skip the mail_handler.rb validation.

--------------------------------------------------------------------------------
As best I can tell, it looks like once the header has been added, whether by Redmine or by an external mail server (e.g. #16190), Redmine will just skip sending of some emails...data does make it in, attaches to correct ticket, etc. but no notice is happening.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,16190,Relax rejections based on Auto-Submitted header

Admin Redmine さんが約4年前に更新

  • カテゴリEmail receiving_29 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0