email_issu.txt

Loïc Barreau, 2013-08-23 15:17

Download (3.92 KB)

 
1
Mails sent by redmine received as SPAM.
2

    
3

    
4
Hello,
5

    
6
My environnment is :
7
<pre>
8
Environment:
9
  Redmine version                          2.3.0.stable.11711
10
  Ruby version                             1.9.3 (i586-linux)
11
  Rails version                            3.2.13
12
  Environment                              production
13
  Database adapter                         Mysql2
14
</pre>
15

    
16
1 - when I set up "Emission email address" with : 
17
<pre>
18
Ticket System <DoNotReplys@mydomain.com>
19
</pre>
20
 emails are detected as spam.
21
2 - If I set up "Emission email address" with only 
22
<pre>
23
<DoNotReplys@mydomain.com>
24
</pre>
25
again emails are detected as spam.
26
3 - *But* when I set up "Emission email address" with
27
<pre>
28
DoNotReplys@mydomain.com
29
</pre>
30
emails are not yet considered as spam !
31

    
32
The problem is viewable in email headers. Here headers of each case, have a look at List-Id's attribut, There is the problem :
33

    
34
1 -
35
<pre>
36
X-Original-Source-IP: x.x.x.x (my mailserver public ip)
37
 Received: from localhost (localhost [127.0.0.1])
38
         by mailserver.mydomain.com (Postfix) with ESMTP id 6FD9F549E6;
39
         for <me@otherdomain.com>; Fri, 23 Aug 2013 12:20:08 +0200 (CEST)
40
 Received: from mailserver.mydomain.com ([127.0.0.1])
41
         by localhost (mailserver.mydomain.com [127.0.0.1]) (amavisd-new, port 10024)
42
         with ESMTP id Fxy+zGjqNAQ4; Fri, 23 Aug 2013 12:20:08 +0200 (CEST)
43
 Received: from mydomain.com (unknown [172.26.1.58])
44
         by mailserver.mydomain.com (Postfix) with ESMTP id 01A79549B6;
45
         Fri, 23 Aug 2013 12:20:07 +0200 (CEST)
46
 references: <redmine.issue-194.20130823101811@mydomain.com>>
47
 X-Redmine-Project: MyProject
48
 X-Redmine-Issue-Id: 194
49
 X-Redmine-Issue-Author: me
50
 X-Redmine-Issue-Assignee: me
51
 X-Redmine-Sender: me
52
 X-Redmine-Host: redmine.mydomain.com
53
 X-Redmine-Site: IT-Ticketing
54
 X-Auto-Response-Suppress: OOF
55
 Auto-Submitted: auto-generated
56
 List-Id: <Ticket System <DoNotReplys@mydomain.com>>
57
</pre>
58

    
59
2 -
60
<pre>
61
X-Original-Source-IP: x.x.x.x (my mailserver public ip)
62
 Received: from localhost (localhost [127.0.0.1])
63
         by mailserver.mydomain.com (Postfix) with ESMTP id 73864549A7
64
         for <me@otherdomain.com>; Fri, 23 Aug 2013 14:32:03 +0200 (CEST)
65
 Received: from mailserver.mydomain.com ([127.0.0.1])
66
         by localhost (mailserver.mydomain.com [127.0.0.1]) (amavisd-new, port 10024)
67
         with ESMTP id U9Px2lA+VctL; Fri, 23 Aug 2013 14:32:03 +0200 (CEST)
68
 Received: from mydomain.com (unknown [172.26.1.58])
69
         by mailserver.mydomain.com (Postfix) with ESMTP id EF6065459C;
70
         Fri, 23 Aug 2013 14:32:02 +0200 (CEST)
71
 X-Redmine-Project: MyProject
72
 X-Redmine-Issue-Id: 196
73
 X-Redmine-Issue-Author: me
74
 X-Redmine-Issue-Assignee: me
75
 X-Redmine-Sender: me
76
 X-Redmine-Host: redmine.mydomain.com
77
 X-Redmine-Site: IT-Ticketing
78
 X-Auto-Response-Suppress: OOF
79
 Auto-Submitted: auto-generated
80
 List-Id: <<DoNotReplys@mydomain.com>>
81
</pre>
82

    
83
3 -
84
<pre>
85
X-Original-Source-IP: x.x.x.x (my mailserver public ip)
86
 Received: from localhost (localhost [127.0.0.1])
87
         by mailserver.mydomain.com (Postfix) with ESMTP id BA231549F5
88
         for <me@otherdomain.com>; Fri, 23 Aug 2013 14:35:32 +0200 (CEST)
89
 Received: from mailserver.mydomain.com ([127.0.0.1])
90
         by localhost (mailserver.mydomain.com [127.0.0.1]) (amavisd-new, port 10024)
91
         with ESMTP id 2DojDXXzaejX; Fri, 23 Aug 2013 14:35:32 +0200 (CEST)
92
 Received: from mydomain.com (unknown [172.26.1.58])
93
         by mailserver.mydomain.com (Postfix) with ESMTP id 60E2154639;
94
         Fri, 23 Aug 2013 14:35:32 +0200 (CEST)
95
 References: <redmine.issue-196.20130823123202@mydomain.com>
96
 X-Redmine-Project: MyProject
97
 X-Redmine-Issue-Id: 196
98
 X-Redmine-Issue-Author: me
99
 X-Redmine-Issue-Assignee: me
100
 X-Redmine-Sender: me
101
 X-Redmine-Host: redmine.mydomain.com
102
 X-Redmine-Site: IT-Ticketing
103
 X-Auto-Response-Suppress: OOF
104
 Auto-Submitted: auto-generated
105
 List-Id: <NePasRepondre@mydomai.com>
106
</pre>
107

    
108

    
109
So, how can I set up "Emission email address" like : Do not reply <sytem@mydomain.com> ?
110