james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Bagnara (JIRA)" <server-...@james.apache.org>
Subject [jira] Commented: (JAMES-875) MSGID_FROM_MTA_HEADER changed
Date Sat, 04 Oct 2008 17:15:44 GMT

    [ https://issues.apache.org/jira/browse/JAMES-875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12636840#action_12636840
] 

Stefano Bagnara commented on JAMES-875:
---------------------------------------

In James code we seems to have a workaround in AbstractRedirect:
-----
newMail.setMessage(new MimeMessage(originalMail.getMessage()) {
                        protected void updateHeaders() throws MessagingException {
                            if (getMessageID() == null) super.updateHeaders();
                            else {
                                modified = false;
                            }
                        }
                    });
----

That code was added as a workaound in the specific case of the AbstractRedirect:
http://svn.apache.org/viewvc?view=rev&revision=108787

Maybe we need a more generic solution in the MimeMessageWrapper 
overriding     "protected void updateMessageID() throws MessagingException" with
----
protected void updateMessageID() throws MessagingException {
  if (getMessageID() == null) super.updateMessageID();
}
----

> MSGID_FROM_MTA_HEADER changed
> -----------------------------
>
>                 Key: JAMES-875
>                 URL: https://issues.apache.org/jira/browse/JAMES-875
>             Project: JAMES Server
>          Issue Type: Bug
>          Components: SMTPServer
>    Affects Versions: 2.3.1
>         Environment: Linux (Fedora Core 8)
>            Reporter: Marc SCHNEIDER
>
> I noticed that emails sent using my James Server have this header when they are delivered
:
> X-Spam-Status: No, score=0.1 required=5.0 tests=AWL,MSGID_FROM_MTA_HEADER
>  
> This is added by SpamAssassin telling that the Message-Id was generated by a relay, rather
than by the user agent.
> If I use the same mailing software but not James to send an email, I don't have this
problem.
> I looked in the configuration files of James and couldn't find anything about this msgid.
Why is James changing that ?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message