message id

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

joearch
Posts: 14
Joined: Fri Feb 04, 2005 6:55 am
Contact:

message id

Postby joearch » Fri Feb 04, 2005 7:01 am

If i sent mails from my scalix-webmail the message-ids looks like this:
Message-ID: <16075230.1107518263839.JavaMail.root@mailix>
Where can I change the "mailix"string (my servername) into my domainname?

Thanx, Jörg

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Feb 04, 2005 7:06 am

When you run the command "hostname", does it return the fully-qualified name ?

Are you using DNS ? If not, check /etc/hosts to see if you have specified the fully qualified name.

Cheers

Dave.

joearch
Posts: 14
Joined: Fri Feb 04, 2005 6:55 am
Contact:

Postby joearch » Fri Feb 04, 2005 12:07 pm

"hostname" return mailix
"hostname -f" return mailix.mydomain.de

Yes, I'm using DNS.

Is it a sendmail or a scalix configuration-problem ?

Thanx, Jörg

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Feb 04, 2005 12:17 pm

As far as I know, it isn't either.

If you have python installed, you can run this simple script:

Code: Select all

import email.Utils
print email.Utils.make_msgid()


This will show you what a basic message ID will look like.

Are you using a RedHat or SuSE version of Linux ?

Cheers

Dave

joearch
Posts: 14
Joined: Fri Feb 04, 2005 6:55 am
Contact:

Postby joearch » Mon Feb 07, 2005 5:09 am

The scripts returns: <20050207084353.9650.31660@mailix.mydomain.de>

I´m using SuSe Linux Enterprise Server 9

joearch
Posts: 14
Joined: Fri Feb 04, 2005 6:55 am
Contact:

Postby joearch » Mon Feb 07, 2005 6:32 am

If sent via console from my linux the received message looks like this

Microsoft Mail Internet Headers Version 2.0
Received: from mailix.mydomain.de ([192.168.252.222]) by hg-atlanta.hg-online.de with Microsoft SMTPSVC(6.0.3790.211);
Mon, 7 Feb 2005 10:45:40 +0100
Received: from mailix.mydomain.de (localhost [127.0.0.1])
by mailix.mydomain.de (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id j179jMdr010244
for <jniemeyer@hg-online.de>; Mon, 7 Feb 2005 10:45:22 +0100
Received: (from root@localhost)
by mailix.mydomain.de (8.12.10/8.12.10/Submit) id j179jMcK010243
for jniemeyer@hg-online.de; Mon, 7 Feb 2005 10:45:22 +0100
From: root <root@mailix.mydomain.de>
Date: Mon, 07 Feb 2005 10:45:22 +0100
To: jniemeyer@hg-online.de
Subject: per con
Message-ID: <420738B2.mail7WI1Z83J2@mailix.mydomain.de>
User-Agent: nail 10.6 11/15/03
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Return-Path: root@mailix.mydomain.de
X-OriginalArrivalTime: 07 Feb 2005 09:45:40.0623 (UTC) FILETIME=[C8DCC9F0:01C50CF9]



If I sent via scalix-webmail the message looks like this :

Microsoft Mail Internet Headers Version 2.0
Received: from mailix.mydomain.de ([192.168.252.222]) by hg-atlanta.hg-online.de with Microsoft SMTPSVC(6.0.3790.211);
Mon, 7 Feb 2005 10:48:27 +0100
Received: from mailix.mydomain.de (localhost [127.0.0.1])
by mailix.mydomain.de (8.12.10/8.12.10/SuSE Linux 0.7) with ESMTP id j179m9dr010340
for <jniemeyer@hg-online.de>; Mon, 7 Feb 2005 10:48:09 +0100
Received: from mailix.mydomain.de (root@localhost)
by mailix.mydomain.de (8.12.10/8.12.10/Submit) with ESMTP id j179m9ba010339
for <jniemeyer@hg-online.de>; Mon, 7 Feb 2005 10:48:09 +0100
Received: from mailix (mailix.mydomain.de 192.168.252.222)
by mailix.mydomain.de (Scalix SMTP Relay 9.1.0.81)
via ESMTP; Mon, 07 Feb 2005 10:48:09 +0100 (CET)
Date: Mon, 7 Feb 2005 10:48:09 +0100
From: "sxadmin" <sxadmin@mydomain.de>
Sender: "sxadmin" <sxadmin@mydomain.de>
Reply-To: "sxadmin" <sxadmin@mydomain.de>
To: jniemeyer@hg-online.de
Message-ID: <9300338.1107769689588.JavaMail.root@mailix>
Subject: per web
x-scalix-Hops: 1
X-Client-IP: 192.168.252.68
X-Mailer: Scalix 9.1.0.173
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_Part_3_9050487.1107769689587"
Return-Path: sxadmin@mydomain.de
X-OriginalArrivalTime: 07 Feb 2005 09:48:27.0840 (UTC) FILETIME=[2C881400:01C50CFA]

------=_Part_3_9050487.1107769689587
Content-Type: text/plain;
charset="us-ascii"
Content-Disposition: inline

------=_Part_3_9050487.1107769689587
Content-Type: text/html;
charset="us-ascii"
Content-Disposition: inline


------=_Part_3_9050487.1107769689587--




--> from webmail the message-id is wrong. it seems to be a scalix-configuration problem...

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Mon Feb 07, 2005 6:34 am

This is actually a JavaMail issue. I'm trying to track down (with the aid of Google) how JavaMail constructs its message ids.

Cheers

Dave

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Mon Feb 07, 2005 11:54 am

For the JavaMail message ID, the local host name is retrieved. I have tested this under SuSE, RHEL3 and FC3 and only SuSE returns the host part rather than the fully-qualified host name.

If there is some way you can make the hostname fully-qualified without having to specify the -f switch, this will resolve your question.

Otherwise, there is no way to affect the generation of the message ID through a parameter or configuration option.

Cheers

Dave.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 12 guests