Is it possible to change the postfix message-id?

Posted by Marcus on Server Fault See other posts from Server Fault or by Marcus
Published on 2011-11-29T21:22:33Z Indexed on 2011/11/30 1:55 UTC
Read the original article Hit count: 205

Filed under:
|
|

Is it possible to change the message-id in postfix? If I send Mails over an Java-Application I get the following message-id:

message-id=<143303043.111334605578921.JavaMail.applicationanme@hostname>

So I want that the message-id looks like this:

message-id=<[email protected]>

What I can understand, if I send mails with the Linux program mail it works:

message-id=<[email protected]>

I have already set my hostname in the postfix-conf, but when I send a mail with the java-application it doen't work. We use a relay host to send email and any messages which are sent without @domain.tld in the mail-id will detected as a spam mail.

Do you have any idea how I can fix this?

© Server Fault or respective owner

Related posts about postfix

Related posts about domain