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=<143303043.111334605578921.JavaMail.applicationanme@domain.tld>
What I can understand, if I send mails with the Linux program mail
it works:
message-id=<10213429251967.C2D74C1A8D@domain.tld>
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?