Author |
|
rodham Newbie
Joined: 15 November 2010
Online Status: Offline Posts: 7
|
Posted: 06 February 2011 at 11:28am | IP Logged
|
|
|
I'm not sure I understand where my problem lays. But better minds may prevail!
I'm guessing that the mail server (Kerio Connect in my case) is responsible for generating the Message-ID,
I would like it to generate an id in the following format:
Message-ID: <1448973285441572411478@FF-2.mydomain.com>
but it always uses the host only as in:
Message-ID: <1448973285441572411478@FF-2>
Mail server and the mailbee app reside on a private lan, I have tried everything I can with the DNS
reverse lookups and such but to no avail. My outlook generates messages that have a formatted Message-ID
to my liking, so I'm not sure where I need to look to fix this problem.
14:18:28 [MailBee SMTP v6.0.0.155. Registered version]
14:18:28 [Connecting to server mail.mydomain.com at port 465 from domain FF-2.mydomain.com]
14:18:29 [Initiating SSL Connection]
14:18:29 [Using regular SMTP authentication]
14:18:29 [Sending HELO]
14:18:29 [Authenticated]
14:18:29 [Preparing message]
14:18:29 [Sending the message over SMTP]
14:18:29 [Searching message for sender's and recipients' addresses]
14:18:29 [Sender: user@mydomain.com]
14:18:29 [Recipient: user@mydomain.com]
14:18:29 [Sending DATA command: DATA\r\n]
14:18:29 [Sending data chunk]
14:18:29 [Message data sent]
14:18:29 [The message has been accepted by the server for delivery]
14:18:30 [Disconnecting from the server]
14:18:30 [Connection closed]
|
Back to Top |
|
|
rodham Newbie
Joined: 15 November 2010
Online Status: Offline Posts: 7
|
Posted: 06 February 2011 at 11:33am | IP Logged
|
|
|
Darn I forgot to obfuscate the domains and email addresses and I don't seem to be able to edit my messages.
If an admin doesn't mind fixing it I would appreciate it.
Thanks
Rodney
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6092
|
Posted: 07 February 2011 at 2:43am | IP Logged
|
|
|
Try supplying custom MessageID with domain name specified explicitly. Does that help?
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
rodham Newbie
Joined: 15 November 2010
Online Status: Offline Posts: 7
|
Posted: 07 February 2011 at 3:16am | IP Logged
|
|
|
Is there a similar method for the activex mailbee components?
Thanks
Rodney
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6092
|
Posted: 07 February 2011 at 6:53am | IP Logged
|
|
|
In ActiveX version of MailBee, you can simply assign Message-ID header value as a text string:
Code:
Mailer.Message.MessageId = "..." |
|
|
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
rodham Newbie
Joined: 15 November 2010
Online Status: Offline Posts: 7
|
Posted: 07 February 2011 at 11:30am | IP Logged
|
|
|
Thanks Igor,
That's the route i'm taking, I build a unique number and append host and domain using the following code.
Code:
Public Function GetUniqueMesgID(ByVal aPs)
Dim tLib
Set tLib = CreateObject("Scriptlet.TypeLib")
GetUniqueMesgID = "<" & Replace(Replace(Left(CStr(tLib.Guid), 38),"{", ""),"}", "") & "@" & aPs & ">"
set tLib = nothing
end Function
...
mailer.Message.MessageID = GetUniqueMesgID("hostname.mydomain.com")
|
|
|
The TypeLib.Guid guarantees a unique number on the machine and adding the host and domain make the messageid globally unique.
Thanks again for the help.
|
Back to Top |
|
|