How to set host domain in javamail headers?

Solution Unverified - Updated -

Issue

We have noticed javamail reveals the server fqdn in the header Message-ID.
E.g.:
Message-ID: 407716675.1.1364456890495.JavaMail.jboss@sv-137lm11.lab2.1327.local

We use the default javamail subsystem. Is it possible to remove the part after the @ character in the message-id mail header?

Environment

  • JBoss Enterprise Application Platform (EAP) 6.x
  • JBoss Enterprise Application Platform (EAP) 5.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content